Search code examples
phppaypalexpress-checkout

How to manage response from paypal when people pay as a guest checkout. No paypal account


I'm using a custom php Paypal nvp API for express checkout. When people pay with their paypal account I have no problem in my php script, I insert the order, order details and I send the email to the customer. When people pay with their credit card without paypal account I don't receive the transactionid. The strange fact is that when I use the sandbox, I generate a fake visa I do the payment, in my database I have the transaction id and I receive the email. Someone had or is having my same problem? There are different ways to manage payment with and without account? For both I'm checking the payment status = Complete.


Solution

  • Happy to help your query,

    Firstly, PayPal NVP is deprecated implementation. There wouldn't any support for new merchants who willing to add PayPal as a payment option.

    Please go through the below recent products which run on REST APIs. I suggested two options of accepting payments so, hence choose the best one suits you.

    1. Standard Integration Link.
    2. Advanced Credit & Debit Card Link.

    Thanks.