Skip to main content

PayPal Community

  • Dashboard
  • Send and Request
  • Wallet
  • Business
  • Help
Log in
  • Welcome
    • Guidelines
    • News and Events
    • Suggestions for PayPal
    • General Discussions
  • PayPal Help Community
    • Managing Account
    • Transactions
    • Wallet
    • Security and Fraud
    • Products & Services
    • Reporting
  • MTS Community
    • PayPal Upgrade Community
    • PayPal Payments Standard
    • REST APIs
    • NVP/SOAP APIs
    • SDKs
    • Sandbox Environment
    • PayPal Reporting
    • Payflow
    • Ideas for MTS
    • Client-side Integration
    • Server-side Integration
  • The Archives
    • PayPal Help Community Archives
      • Managing Account Archives
      • Transactions Archives
      • Wallet Archives
      • Security and Fraud Archives
      • Products & Services Archives
      • Reporting Archives
    • Help Community
      • PayPal Basics Archives
      • Payments Archives
      • My Money Archives
      • My Account Archives
      • Disputes and Limitations Archives
      • Products and Services Archives
      • PayPal Credit Archives
    • Merchant Community
      • Merchant Products
      • Business Tools Archives
      • Reporting Archives
      • Managing Risk and Fraud Archives
    • Help Archives
      • About Business (Archive)
      • About Payments (Archive)
      • About Settings (Archive)
      • About eBay (Archive)
      • About Protections (Archive)
      • About Products (Archive)
    • Social and Your Voice Archives
      • Off Topic (Archive)
      • My Feedback for PayPal (Archive)
    • About PayPal Archives
      • Watercooler (Archive)
      • Tax Information (Archive)
      • Fees (Archive)
      • eBay and PayPal (Archive)
      • Coupons and promotions (Archive)
    • My Account Archives
      • My account settings (Archive)
      • Account limits and verification (Archive)
      • Account balance (Archive)
      • Bank accounts and credit cards (Archive)
    • Payments Archives
      • Sending money (Archive)
      • Receiving money (Archive)
      • Refunds (Archive)
      • Donations and Fundraising (Archive)
    • Disputes and Security Archives
      • Disputes and claims (Archive)
      • Fraud, phishing and spoof (Archive)
    • My Business Archives
      • Merchant services (Archive)
      • Reporting and tracking (Archive)
      • Shipping (Archive)
    • PayPal Products Archives
      • PayPal Debit Mastercard (Archive)
      • PayPal Extras MasterCard (Archive)
      • PayPal Mobile & Other Services (Archive)
      • Student Accounts (Archive)
      • Bill Me Later (Archive)
    • Getting to know PayPal
      • My PayPal account
      • Security and protection
    • Receiving and sending money
      • Buying with PayPal
      • Selling with PayPal
    • PayPal Here UK
      • PayPal Here News and Events
      • PayPal Here Community
      • Chip and Pin Card Reader
      • PayPal Here App

The Community Forum will no longer be available starting June 30, 2025. Please note that the forum is now closed for new posts and responses, but previous posts will remain accessible for review until June, 30 2025. For comprehensive support options, please visit PayPal.com/HelpCenter
Merchant Technical Support: For technical support and related questions, please visit our Technical Support Help Center or Developer Central

If you want to report illegal content under the EU Digital Services Act, please do so here

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
Welcome to the PayPal Community!