paypal / PayPal-iOS-SDK

Accept credit cards and PayPal in your iOS app
Other
973 stars 368 forks source link

Can't pay using credit card #128

Closed arifmc closed 10 years ago

arifmc commented 10 years ago

Hi, I'm using sdk 2.0.1 and I'm having issues with payment using credit card.

The card scanner works fine but when the customers press the "Charge Card" button, they got message saying that the merchant doesn't accept payment of this type like the one shown by the image.

photo 2

But if they pay via the website using the credit card it works fine. This is the debug id and error message that I got :

PayPal SDK: Request has failed with error: UNAUTHORIZED_PAYMENT - The merchant does not accept payments of this type. (401) | PayPal Debug-ID: 1dcef154b15e4

One of our customer using New Zealand visa credit card crashed when he press the "Charge card button"

tommydangerous commented 10 years ago

I get the same error paying with PayPal or Credit Card in both Production and Sandbox.

ppmtscory commented 10 years ago

@arifmc - You are getting that error because your merchant account isn't registered in a supported country for processing direct credit cards with the mSDK. The mSDK runs on the RESTful APIs and currently the only supported countries for direct credit card processing are the US and UK.

tommydangerous commented 10 years ago

I am in the US.

ppmtscory commented 10 years ago

@QuantumVenturess - I'm actually getting ready to respond on your issue #126

sevenb commented 10 years ago

I get the same error! I am in the Brazil.

rdmpris commented 9 years ago

Were you able to fix this? @sevenb

BeingHumanhelper5 commented 8 years ago

To make the CC payment work on paypal you need to upgrade your merchant/business account to PRO type.

europa-promatics commented 7 years ago

will it work with PRO account?

bluk commented 7 years ago

@europa-promatics Direct Credit Card (DCC) payments are deprecated in this SDK. Please use Braintree Payments, a PayPal service, which is the easiest way to accept PayPal, credit cards, and many other payment methods.

I am locking this thread as this issue is not entirely applicable to the latest versions of the SDK.