Skip to content
This repository has been archived by the owner on Jun 11, 2021. It is now read-only.

Request failure with http statusCode:422 #465

Closed
nandkishormewara opened this issue Feb 12, 2018 · 1 comment
Closed

Request failure with http statusCode:422 #465

nandkishormewara opened this issue Feb 12, 2018 · 1 comment

Comments

@nandkishormewara
Copy link

  • SDK/Library version: 'com.paypal.sdk:paypal-android-sdk:2.16.0'
  • Environment: Sandbox
  • PayPal-Debug-ID values: "79be1f145a9"
  • Android Version and Device: moto xplay with android 7.0.1

request failed with server response:{"name":"PAYMENT_CREATION_ERROR","debug_id":"79be1f145a9","message":"checkout-session not created","information_link":"https://developer.paypal.com/docs/api/#PAYMENT_CREATION_ERROR"}
E/paypal.sdk: PAYMENT_CREATION_ERROR

@bluk
Copy link
Contributor

bluk commented Feb 26, 2018

It seems that your sandbox seller account is not setup correctly to receive the given currency from the buyer. I would contact PayPal Technical Support to ensure that your sandbox accounts are setup correctly.

Note that this SDK is deprecated so I would advise using the Braintree Direct or Express Checkout with Braintree SDKs for a mobile integration. From the README:

PayPal Mobile SDKs are now Deprecated and only existing integrations are supported. For all new integrations, use Braintree Direct in supported countries. In other countries, use Express Checkout and choose the Braintree SDK integration option.

@bluk bluk closed this as completed Feb 26, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants