PayPal Express Checkout with debit card throws error in sandbox environment - paypal

I just integrated the PayPal Express Checkout for my shopping cart with basic client integration. I used the sandbox environment for integration testing and everything works well if the sandbox test account ("PERSONAL") of the sandbox environment has either a positive PayPal balance or a credit card deposited to the sandbox test account.
But if the sandbox test account has only a debit card deposited, then it is not possible to charge the PayPal account, I receive following error due to actions.payment.execute() in the onAuthorize callback:
POST https://www.sandbox.paypal.com/.../createpayment - 400 Bad Request
with JSON response field contingency set to PAYMENT_NOT_APPROVED_FOR_EXECUTION.
I am using exactly the same JavaScript code for my application as in the basic client integration example provided by PayPal, I just changed the 'env' to sandbox and edited my sandbox API key. I am wondering why this error is thrown when using debit card as payment method since I know from private use of PayPal that it is possible to pay with PayPal deposited debit card directly. Or is this just a sandbox specific error?

Related

paypal sandbox - verify identity

I am testing my payment integration using PayPal Sandbox
When I go to make payment using a sandbox account, the following message displays on the payment page
To use your balance next time, go to your PayPal account for an
identity check.
If I log into the sandbox account, I am not seeing any way to do this.
How do I set up the sandbox account so that it can use PayPal funds for the payment rather than the credit card option?
It doesn't matter how you are funding the payment in sandbox. There's no actual reason for you to be bothering to care about this issue, since the result of a completed PayPal payment on the receiver end will be identical.
But since you ask, you can create a bank verified account via https://www.paypal.com/signin?intent=developer&returnUri=https%3A%2F%2Fdeveloper.paypal.com%2Fdeveloper%2Faccounts%2F

PayPal Sandbox - Subscribe Using Debit Or Credit Card Not functional

We have integrated the Sandbox PayPal to our development website in order to check with creation of subscription and the payment process. During the check out process when we proceed with the PayPal check out in Sandbox environment the sign up and the payment then the process is going on well smoothly.
I am able to complete the payment and create a subscription whereas if I select "Subscribe using a debit or credit card" during PayPal Checkout, then an error message is getting displayed after sometime as "We are sorry. Things don't appear to be working at the moment". Every time when I try to subscribe using this "Credit or Debit Card" option in sandbox environment of PayPal, we are getting that error. Can you please suggest on how can I test the creation of subscription by clicking on "Subscribe using Credit or Debit Card"?

This recipient does not accept payments denominated in INR

I am integrating the Paypal payment gateway using a Paypal sandbox account (in India).
Everything is working fine: the URL is building properly and redirecting to the Paypal sandbox account and it's login successfully. However, after login it gives me the following error when I am trying to pay:
This recipient does not accept payments denominated in INR. Please contact the seller and ask him to update his Payment Receiving Preferences to accept this currency.
If I pay in USD currency, it gives me this error:
I've suffered from the same problem at same time as yours; it's my personal thinking that it might happened due to some economic changes in India. If you are making project for Indian public, then my advice is to go for some other payment integration options like Instamojo, Razorpay. They are doing far better than paypal.

paypal the merchant does not accept payment of this type

We are having major trouble when we pay using direct credit card payment from mobile application development. To the live transaction we cannot able to use direct credit card payment.
While using Credit Card: "The merchant does not accept payments of this type."
We are developing the mobile application using ionic framework. Using the ionic-paypal plugin we implemented and Sandbox flow has been verified success using Paypal REST API. For the live account not working. Paypal develper page i cannot able to enable the "credit card payment" from the following url "https://developer.paypal.com/developer/accountStatus"
Any additional permission require to live transaction or any other steps and solutions to complete this
PayPal REST API Credit Card payment instrument currently available for US and UK PRO account. If you tried with some other countries except from these two, you'll get an error.
You can read here

Test paypal in sandbox, making a paypal (not credit card) payment from an account with no credit

I would like to test what happens when a payment is made from an account with no credit. I am using the paypal payment method; not a credit card payment.
The advice I have found suggests changing the amount value to 107.55
and activate the Negative Testing in my sandbox account, but that is only working with credit card payment methods.
Is there a way to handle the equivalent error with paypal payment method?
you can negative test PayPal Express checkout amount error's; here is a doc on error testing this: enter link description here
Now as far as account related errors you cannot negative test if that's what your looking for as shown in this doc