Posted - 08/01/2023 : 14:50:48
I do some custom payment requests through my site using:
<% explicitid="donation" %> <% prodid="Payments" %> <!--#include file="vsadmin/inc/incspecials.asp"-->
and this has worked flawlessly for me for years though it looks like there's a little bit of a hiccup when using this in Paypal Checkout V2
Below is the error that I get when I try to use a custom payment page with the new checkout:
Error: {"name":"INVALID_REQUEST","message":"Request is not well-formed, syntactically incorrect, or violates schema.","debug_id":"98eb389e9e7c8","details":[{"field":"/purchase_units/0/items/0/name","location":"body","issue":"MALFORMED_REQUEST_JSON","description":"The request JSON is not well formed."}],"links":[{"href":https://developer.paypal.com/docs/api/orders/v2/#error-MALFORMED_REQUEST_JSON,"rel":"information_link","encType":"application/json"}]}
The above error is given when clicking on any of the Paypal buttons on the last step of the checkout.
Any help with resolving the issue is appreciated.
|