- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I am getting below error, while making payment from my android app. I am using paypal android sdk.
paypal.sdk: request failed with server response:{"name":"PAYMENT_CREATION_ERROR","debug_id":"3550e355c6299","message":"checkout-session not created","information_link":"https://developer.paypal.com/docs/api/#PAYMENT_CREATION_ERROR"}
I am using sandbox env. Please guide me to resolve the error.
Solved! Go to Solution.
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hmmmm,
So I suspect that the sandbox account might be the issue, based on the currencies in the buyer and seller accounts USD should be fine so I suspect that there is an issue when we're pulling the accounts details at runtime.
Can you try creating a new sandbox Merchant account and trying the transaction again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@himanshu1706 - Im seeing an unsupported currency error for this failure. As in the merchant/receiver account doesn't support the currency set in the API call for the transactions.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
private static PayPalConfiguration config = new PayPalConfiguration() .environment(CONFIG_ENVIRONMENT) .clientId(PAYPAL_CLIENT_ID) .merchantName("Chubb Connect") .acceptCreditCards(false) .merchantPrivacyPolicyUri(Uri.parse("https://www.example.com/privacy")) .merchantUserAgreementUri(Uri.parse("https://www.example.com/legal")); PayPalPayment thingToBuy = new PayPalPayment(price, "USD", itemDescription, PayPalPayment.PAYMENT_INTENT_SALE); Intent intent = new Intent(mContext, PaymentActivity.class); intent.putExtra(PaymentActivity.EXTRA_PAYMENT, thingToBuy); startActivityForResult(intent, REQUEST_CODE_PAYMENT); Above code I am using by paypal android SDK.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
hmmmm,
So I suspect that the sandbox account might be the issue, based on the currencies in the buyer and seller accounts USD should be fine so I suspect that there is an issue when we're pulling the accounts details at runtime.
Can you try creating a new sandbox Merchant account and trying the transaction again.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
- API TRANSACTION_REFUSED in Sandbox when Capturing Payment in REST APIs
- When clicking on a payment button generates error: Unexpected token ... in PayPal Payments Standard
- webhook not send update notification in REST APIs
- Getting API error PAYEE_ACCOUNT_INVALID, I set the payee to my merchant id. in REST APIs
- Handful of payments on my app are being processed by Sandbox account in PayPal Payments Standard