Status update using php SDK


#1

How can I show or echo reference and amount etc on my separate return page after transaction. I receive nothing when I try to echo paynowreference and amount, what is the best way to do that.
I already see some fields on this page but my challenge comes whe i try to show reault https://developers.paynow.co.zw/docs/status_update.html


#2

Hi @lastmadanhire, When setting your return url in the initiate transaction stage, it is recommended to set it to something with enough information to allow your site to identify the transaction and display the appropriate information to the user.

An example of something good is:

$returnurl = 'mysite.co.zw/return?txn=101&gateway=paynow';

This allows you to query your database to get information like transaction amount and item(s) purchased.