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