Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
 All Forums
 Technical
 ASP (Windows server) versions
 Paypal Checkout V2 - "INVALID_REQUEST"
Author « Topic »  

sparksm
Advanced Member

125 Posts

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.

Vince
Administrator

42644 Posts

Posted - 08/02/2023 :  03:16:51  
Hi Sparksm
Sorry about that but I see the problem now and there is a fix in the vsadmin/ajaxservice.asp file in the updater.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

sparksm
Advanced Member

125 Posts

Posted - 08/02/2023 :  14:45:44  
Perfect! Thanks for the quick patch Vince, much appreciated.
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000