Home » Php » php – Don't receive Paypal transaction details upon successful submission

php – Don't receive Paypal transaction details upon successful submission

Posted by: admin February 25, 2020 Leave a comment

Questions:

I’ve Paypal sandbox account to test transaction.
I have passed all the required params as follows-

$paypalConfig = [
    'email' => '[email protected]',
    'return_url' => $site_url.'/dashboard/payments/paypal/payment-successful.php',
    'cancel_url' => $site_url.'/dashboard/payments/paypal/payment-cancelled.html',
    'notify_url' => $site_url.'/dashboard/payments/paypal/payments.php'
];

It did return transaction id initially for a couple of times but, stopped later on.

I have also enabled IPN on paypal, but it didn’t work either.

How to&Answers: