wl-online-payments-direct / sdk-php

Other
5 stars 5 forks source link

Signature validation error #13

Open Tarbydus opened 3 weeks ago

Tarbydus commented 3 weeks ago

Hello,

We have some issues with some webhooks we receive. The signature validation is done using your sdk (we have the latest version). For some payment methods and payment status, your sdk will fail to validate signature for the webhook received. Until now we managed to find that for Bancontact and payment status 9 we receive the following error:

wl-online-payments-direct/sdk-php/lib/OnlinePayments/Sdk/Webhooks/WebhooksHelper.php; Message: failed to validate signature 'lj0QPL/y8MN+b7RvWlpAuEe3hbMpOb3mJYXti/NVtBc='

For the same payment method, but other payment_status we receive the webhook and everything is good. Also we have many other signature failed error but for those we couldn't determine to what payment method or payment_status is related to.

Thank you

worldline-direct-support-team commented 2 weeks ago

Dear Tarbydus,

We are diving into this and will get back to you soon.

In the meantime, please check if your local secret key(s) correspond to the ones created when you added the webhook.

Kind regards, Worldline Support