oauth return url pesapal code example
Example: pesapal payment gateway response
Use this to query the status of the transaction. When a transaction is posted
to PesaPal, it may be in a PENDING, COMPLETED or FAILED state. If the
transaction is PENDING, the payment may complete or fail at a later stage.
Both the unique order id generated by your system and the pesapal tracking
id are required as input parameters.