Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in

Le forum de Communauté ne sera plus disponible à partir du 30 Juin 2025. Le Forum de la communauté n’est pas disponible pour les nouveaux messages ou les réponses; les articles précédents restent disponibles pour vérification. Afin de connaître les options d’assistance complètes, rendez-vous sur PayPal.com/HelpCenter

Si vous souhaitez signaler du contenu illégal et contraire au Règlement sur les services numériques de l’Union Européenne (DSA), veuillez cliquer ici.

since ‎Oct-01-2021
Country: United States
Type: Business
ledinc
ledinc Contributor
Contributor
2
Posts
1
Kudos
0
Solutions
Liked
The Return
Active
Ice Breaker
View all
Latest Contributions by ledinc
  • Topics ledinc has Participated In
  • Latest Contributions by ledinc

Re: /v2/checkout/orders returned status 422 in san...

by ledinc Contributor in Sandbox Environment
‎Oct-03-2021 10:49 PM
1 Kudo
‎Oct-03-2021 10:49 PM
1 Kudo
Below is the response details of the status 422 from another try using test card  4000000000000002.  Hope the additional information is useful.   XHRPOSThttps://cors.api.sandbox.paypal.com/v2/checkout/orders/5BV74099AE830864L/validate-payment-method [HTTP/2 422 Unprocessable Entity 4710ms] name "UNPROCESSABLE_ENTITY" details [ {…} ] 0 Object { issue: "CONTINGENCY", description: "Buyer needs to resolve following contingency before proceeding with payment" } issue "CONTINGENCY" description "Buyer needs to resolve following contingency before proceeding with payment" message "The requested action could not be performed, semantically incorrect, or failed business validation." links [ {…}, {…} ] 0 Object { href: "https://www.sandbox.paypal.com/webapps/helios?action=verify&flow=3ds&cart_id=5BV74099AE830864L", rel: "3ds-contingency-resolution", method: "GET" } href "https://www.sandbox.paypal.com/webapps/helios?action=verify&flow=3ds&cart_id=5BV74099AE830864L" rel "3ds-contingency-resolution" method "GET" 1 Object { href: "https://developer.paypal.com/docs/api/errors/#contingency", rel: "information_link", method: "GET" } href "https://developer.paypal.com/docs/api/errors/#contingency" rel "information_link" method "GET" debug_id "d77c8e596dc21" informationLink "https://developer.paypal.com/docs/api/orders#errors" ... View more

/v2/checkout/orders returned status 422 in sandbox...

by ledinc Contributor in Sandbox Environment
‎Oct-01-2021 12:41 PM
‎Oct-01-2021 12:41 PM
Using test cards provided by PayPal ( 4000000000000002, 5200000000000007, 340000000003961), we keep running into error status 422 when attempting to checkout with Advanced Card (instead of PayPal button): hosted-fields-payments-sdk-tokenization-frame.min.html:1 POST https://cors.api.sandbox.paypal.com/v2/checkout/orders/2JU35357EN4831545/validate-payment-method 422 hosted-fields-payments-sdk-tokenization-frame.min.html:1 XHR failed loading: POST "https://cors.api.sandbox.paypal.com/v2/checkout/orders/2JU35357EN4831545/validate-payment-method".   Note that these card numbers are supposed to offer successful 3DS authentication.  Using card numbers  4000000000000101 (passive authentication) and  4000000000000051 (not enrolled) however, orders go through just fine.   Some debug log: 2021-10-01 11:26:02 - PayPal debug (PayPal Info): {"partner_id":"EJNHWRJJNB38L","client_id":"***REMOVED***","secret":"***REMOVED***","environment":"sandbox"} 2021-10-01 11:26:02 - PayPal debug (PayPal Order Info): {"intent":"CAPTURE","purchase_units":[{"reference_id":"default","description":"Your order 50176","invoice_id":"50176","shipping":{"name":{"full_name":"John Doe"},"address":{"address_line_1":"1 Main St","address_line_2":"","admin_area_1":"California","admin_area_2":"San Jose","postal_code":"95131","country_code":"US"}},"items":[{"name":"LED Bulb","sku":"222WW","url":"https:\/\/www.oursite.com\/index.php?route=product\/product&product_id=52","quantity":"1","unit_amount":{"currency_code":"USD","value":"0.01"}}],"amount":{"currency_code":"USD","value":"0.01","breakdown":{"item_total":{"currency_code":"USD","value":"0.01"},"tax_total":{"currency_code":"USD","value":"0.00"},"shipping":{"currency_code":"USD","value":"0.00"},"handling":{"currency_code":"USD","value":0},"discount":{"currency_code":"USD","value":0}}}}],"application_context":{"shipping_preference":"SET_PROVIDED_ADDRESS"}} 2021-10-01 11:26:03 - PayPal debug (Create Order): {"id":"8M250912P5600324J","status":"CREATED","links":[{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8M250912P5600324J","rel":"self","method":"GET"},{"href":"https:\/\/www.sandbox.paypal.com\/checkoutnow?token=8M250912P5600324J","rel":"approve","method":"GET"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8M250912P5600324J","rel":"update","method":"PATCH"},{"href":"https:\/\/api.sandbox.paypal.com\/v2\/checkout\/orders\/8M250912P5600324J\/capture","rel":"capture","method":"POST"}]}   We are trying to integrate the PayPal Commerce Platform module (v1.4.0) into OpenCart (v2.1.0.1).   Any help would be appreciated. ... View more
Paypal Logo
  • Help
  • Contact Us
  • Security
  • Fees
  • © 1999-2025 PayPal, Inc. All rights reserved.
  • Privacy
  • Legal
  • Cookies
  • Policy Updates

The money in your balance is eligible for pass-through FDIC insurance.

The PayPal Cash Mastercard is issued by The Bancorp Bank pursuant to a license by Mastercard International Incorporated. The Bancorp Bank; Member FDIC.

Powered by Khoros