paypal / PayPal-Cordova-Plugin

PayPal SDK Cordova/Phonegap Plugin
Other
248 stars 131 forks source link

the merchant does not accept payment of this type #323

Closed matthewborgcarr closed 5 years ago

matthewborgcarr commented 6 years ago

General information

Issue description

I have a mobile app which is developed using Cordova. Users are able to purchase using the PayPal Cordova plugin. This works perfectly fine if the user has a PayPal account. However when my clients are trying to pay using their credit card they are getting the following message:

"The merchant does not accept payments of this type."

In most of the blogs online they suggest to make sure that my merchant PayPal account should have pro permissions. However I am not able to find these type of settings.

Could you kindly indicate further on this issue please.

Thanks

Regards, Matthew

payment issue

matthewborgcarr commented 6 years ago

So by way of upadte, I got in touch with PayPal support and they told me that as a payment_method I am passing “credit_card” and apparently this is not allowed. However they also told me that the payment_method should always be “paypal” irrespective of whether the user is using his/her credit card or logging in via PayPal.

Is there a way of how to overwrite this “payment_method”?

Reply from PayPal support team:

“The payment method can be "paypal" for payments with a PayPal account and cards (only managed by PayPal checkout page where the buyer has to fill-in his card details on PayPal and not on your website) or "credit_card" for direct card payments where the buyer can provide his card details directly on your website (not on PayPal checkout). This last method is only reserved for PRO accounts in Uk, Us and Canada.

I checked your API logs and I can see that you are passing:

"payment_method": "credit_card"

But as your account is not PRO you will receive this error. Pass the value "paypal" instead and you will able to process account card payments correctly as the buyer will log in into his/her PayPal account that will use the card already added in it or will be offered, where available, the Guest Checkout with card.”

Thanks

hdung912 commented 6 years ago

I have same issues did you have solution for it?

braebot commented 5 years ago

PayPal Mobile SDKs are Deprecated. The APIs powering them will remain operational long enough for merchants to migrate, but the SDKs themselves will no longer be updated. Please use Braintree Direct in supported countries. In other countries, use Express Checkout and choose the Braintree SDK integration option.