Closed abbasi-hadi closed 4 years ago
i have this error
any solution?
SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl' : failed to load external entity "https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl"
این خطوط رو جایگزین کنید در فایل mellat.php
in verifypayment function in sendPayRequest in settleRequest
مشکل حل میشه
try {
$context = stream_context_create(
[
'ssl' => array(
'verify_peer' => false,
'verify_peer_name' => false
)
]
);
$soap = new SoapClient($this->serverUrl, [
'stream_context' => $context
]);
//$soap = new \SoapClient($this->serverUrl);
like this. https://gist.github.com/saber13812002/5214a510be146d53ac7a8f31676d1fc6
میتونید در یک حرکت محتوای این فایل در لینک بالا را رو جایگزین کنید
سلام وقت بخیر ما چند مدتی هست که هنگام اتصال به درگاه بانکی با خطای زیر مواجه میشیم خواهش میکنم بررسی کنین که چرا این خطا ایجاد میشه SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl' : failed to load external entity "https://bpm.shaparak.ir/pgwchannel/services/pgw?wsdl" خواهش میکنم هرچه زودتر ی راهنمایی کنین مرسی