razorpay / razorpay-php-testapp

Sample App for Razorpay PHP Integration
MIT License
32 stars 45 forks source link

Unable to echo payment amount on verify.php #10

Closed mdanish2012 closed 5 years ago

mdanish2012 commented 5 years ago

if ($success === true) { $html = "

Your payment was successful

Payment ID: {$_POST['razorpay_payment_id']}

"; $txnid = $_POST['razorpay_payment_id']; echo $amount
captn3m0 commented 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.

mdanish2012 commented 5 years ago

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 .