Direct credit card payment not working in paypal codeigniter

52 views Asked by At

I have implemented paypal standard gateway in codeigniter. If the user have paypal account, its working fine, but If the user dont have paypal account, direct credit card payment not working in codeigniter. Its always showing

[data:PayPal\Exception\PayPalConnectionException:private] => {"name":"PAYEE_ACCOUNT_INVALID","message":"Payee account is invalid.","information_link":"https://developer.paypal.com/docs/api/payments/v1/#error-PAYEE_ACCOUNT_INVALID","debug_id":"b56a875be1599"}

But the same credentials working fine for whose having paypal account. pls give me suggestion.

I need solution for this paypal issue

1

There are 1 answers

3
Preston PHX On

The integration you are attempting to use (v1/payments for direct cards) is very old and no longer supported by PayPal for new integrations. Your account does not have permission to use it, and will not be given permission, hence "Payee Account Invalid" since it cannot be used with that account.

Use a current standard checkout or advanced integration instead.