Questions about how to securely notify servers using JavaScript SDK

yahoyaho
New Community Member

I initiated a payment request using PayPal's JavaScript SDK, and after the payment was successful, I obtained the order parameters through onapprove. I need to notify my server that the order has been completed, but this can cause risks due to forged notification requests, as JavaScriptSKD does not support webhook. How can I safely notify my server? I saw that there is a field in the returned order parameters that is links, but the address directly accessing this field reported an error: {"name": "Authentication-FAILURE", "message": "Authentication failed due to invalid authentication credentials or a missing Authorization header.", "links": [{"href":“ https://developer.paypal.com/docs/api/overview/#error ","rel":"information_ What should I do with this?

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.