Closed mdanish2012 closed 5 years ago
This looks like a PHP issue, and not a Razorpay SDK issue. (Note that the amount is not passed in the post parameters after a successful payment).
Please use StackOverflow for such queries.
There is no issue in php everything is working fine. Main concern is amount should be echo on verify.php
On Sun, 3 Feb 2019, 8:29 pm Nemo <notifications@github.com wrote:
This looks like a PHP issue, and not a Razorpay SDK issue. (Note that the amount is not passed in the post parameters after a successful payment).
Please use StackOverflow for such queries.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/razorpay/razorpay-php-testapp/issues/10#issuecomment-460059004, or mute the thread https://github.com/notifications/unsubscribe-auth/AtDapkrLtfQy-9oGznwRaRnwBXTBtetvks5vJvlQgaJpZM4ad9HT .
if ($success === true) { $html = "
Your payment was successful
Payment ID: {$_POST['razorpay_payment_id']}
"; $txnid = $_POST['razorpay_payment_id']; echo $amount