Thanks @manoj, I know for when you use localhost for certain complete, cancel and error urls in the parameters, you will have to use ngrok.
https://community.rapyd.net/t/complete-cancel-and-error-urls
However this may be an issue due to the signature request.
From the error response, this may be due to a couple things:
- All spaces and other whitespace outside of strings must be removed.
- Numbers should be sent in strings, not as integers/numbers.
Here are some resources that may help:
- Rapyd API Request Signatures and How to Calculate
- Verify Webhook Signature? - #2 by Minh_Nguy_n_Van
- How to verify Webhook Signature with PHP script
- Rapyd Integrations: How to Integrate Checkout into your Online Shopping Cart using Python - YouTube
I would also take a look around your body and and how it may not be parsed correctly.