sveawebpay / php-integration

SDK for Sveas payment methods (standalone and Svea Checkout)
Other
15 stars 19 forks source link

Is there any change in the WSDL url for invoices #107

Open codetycon opened 1 year ago

codetycon commented 1 year ago

I am getting this error The error is : SOAP-ERROR: Parsing Schema: can't import schema from 'http://webpayadminservice.svea.com/AdminService.svc?xsd=xsd0'

Is there any change in this URL?

alexanderwiden95 commented 1 year ago

The URL will only work with "https", are you perhaps using "http"?

codetycon commented 1 year ago

Yes I even tried the https:// version https://webpayadminservice.svea.com/AdminService.svc?wsdl but here also the single imports having a HTTP URL. This is coming from svea. Where we don't have control.

Please open this URL: https://webpayadminservice.svea.com/AdminService.svc?wsdl and see Imports I am attaching a screenshot for the same

[image: image.png]

On Tue, Jul 11, 2023 at 12:10 PM Alexander Widén @.***> wrote:

The URL will only work with "https", are you perhaps using "http"?

— Reply to this email directly, view it on GitHub https://github.com/sveawebpay/php-integration/issues/107#issuecomment-1630235042, or unsubscribe https://github.com/notifications/unsubscribe-auth/AH2FCRCX2NQAKBJ6MG4L4FDXPTYOBANCNFSM6AAAAAA2EXAUHM . You are receiving this because you authored the thread.Message ID: @.***>

timint commented 1 year ago

Indeed I have this problem too. Reproduced by the following:

$client = new SoapClient('https://webpayadminservicestage.svea.com/AdminService.svc?WSDL');

PHP Fatal error: Uncaught SoapFault exception: [WSDL] SOAP-ERROR: Parsing Schema: can't import schema from 'http://webpayadminservicestage.svea.com/AdminService.svc?xsd=xsd0'

Escalate this back to the API developers.