Paypal cannot process payments on sandbox from the vault credit card - paypal

I can successfully use the vault card process. I am using the credit card from my vault.
ENDPOINT: https://api.sandbox.paypal.com/v1/payments/payment
RESPONSE: Internal service error

I managed to solve my problem by finding other test credit card numbers. It appears that Paypal's test card numbers were overused that's why it returned that 'Internal service' or sometimes 'Unknown' error.

Related

Sandbox Paypal Account Credit Card asking IPIN/WEBPIN for payment

I have created a PayPal sandbox account Credit Card - Visa and linked this account to Braintree. In my application, when I am trying to pay using this sandbox account it is asking for IPIN/WEBPIN. Where can I get this IPIN from?
Full disclosure, I work at Braintree. If you have any further questions, please contact Support
Based on the URL, this is a production PayPal flow, not sandbox. If you meant do do sandbox testing, I recommend using a sandbox account. You can sign up for a sandbox account and begin testing. I recommend following Braintree's developer docs for PayPal for testing.
This looks like 3D Secure verification within PayPal. The card issuer associated with the card you are using is asking for the IPIN or WEB PIN associated with that card for verification, because it is a valid production card. If this is not your credit card, please do not use it in that production flow. If PayPal happened to generate that card for sandbox use, please only use it in the sandbox environment.

How to verify card details in paypal valut Api

I have used paypal vault API to store the credit card details.When Iam saving the card I gave wrong card details.So When Iam trying to make the payment It is throwing error.Iam using the sandbox environment
Is there any process to know whether a card is valid or not while saving the card details?
Currently PayPal does not validate credit card information that is being stored using the /v1/vault/credit-cards. The card will be validated against the processor when you try to charge the buyer using CARD ID. There is no alternate for validating the card.

PayPal Express Checkout with debit card throws error in sandbox environment

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?

Can I store debitcard information in the PayPal vault api

I'm getting the "invalid number" error while save the debit card information using pay pal sandbox account
This will happen if you are attempting to save a live card in the sandbox environment.

PayPal error while trying to pay with credit card in sandbox

While testing the direct payment with credit card I always get the following error: "You cannot use an e-mail address or card number that belongs to an existing PayPal account. If you have a PayPal account, please log in. If you don't, please change the e-mail address or card number and try again".
The credit cards number I use for testing come from http://www.paypalobjects.com/en_US/vhelp/paypalmanager_help/credit_card_numbers.htm but I also tried those produced by http://www.getcreditcardnumbers.com/.
Finally I found the solution by cleaning browser cache and cookies before to connect to my site.
It's strange but it seems that having a PayPal cookie in the browser (created by during a previous PayPal transaction) causes its use also during a guest payment attempt.