Webhook Signature Verification Fails
-
Hi,
There’s a record in the PHP error log – any suggestions to resolve this? I guess this is coming from the test-mode webhook.
{"message":"Invalid signature passed","data":{"entity":"event","account_id":"account id_string","event":"payment.authorized","contains":["payment"],"payload":{"payment":{"entity":{"id":"pay_id_string","entity":"payment","amount":xxxxxx,"currency":"INR","status":"authorized","order_id":"order_id_string","invoice_id":null,"international":false,"method":"card","amount_refunded":0,"refund_status":null,"captured":false,"description":"Order 4854","card_id":"card_id_string","card":{"id":"card_id_string","entity":"card","name":"name_string","last4":"xxxx","network":"Visa","type":"debit","issuer":null,"international":false,"emi":false,"sub_type":"consumer"},"bank":null,"wallet":null,"vpa":null,"email":"id_string","contact":"number string","notes":{"woocommerce_order_id":"xxxx"},"fee":null,"tax":null,"error_code":null,"error_description":null,"error_source":null,"error_step":null,"error_reason":null,"acquirer_data":{"auth_code":"xxxxx"},"created_at":xxxxxxxxxx}}},"created_at":xxxxxxxxxx},"event":"razorpay.wc.signature.verify_failed"}
The signature matches on WooCommerce and Razorpay. Are there any characters to avoid in the signature secret?
Kind regards.
- The topic ‘Webhook Signature Verification Fails’ is closed to new replies.