Overview
When a customer completes a payment on Novac’s checkout, they are redirected to thecallbackURL you provided during checkout initialization.Novac automatically appends query parameters such as the transaction reference and status to this URL. You can then use this reference to verify the transaction directly from your server before confirming payment or giving value to the customer. This approach ensures you are validating each transaction against Novac’s API response, not relying solely on the status parameter in the callback.
Handling Callback URL After Payment Completion
When payment is completed, We redirects the user to your callback URL as shown below:api/v1/checkout/{transactionRef}/verify
by passing the transaction reference as a path parameter.
Request
Response
/payment/callback that reads these query parameters, extracts the transaction reference, and calls Novac’s Verify Transaction API to confirm the actual payment status.
Below are examples in multiple languages showing how to handle and verify the callback.
What’s Next?
- Request Refund: Initiate a full or partial refund.