4. Handle Payment Response
Step 4.1.
Handle Payment Events from SDK
Step 4.2.
Check Payment Status
Step 4.3.
Display Payment Status
All payment responses are sent by the SDK in the hyperSDKCallback under the process_result event.
Implement the highlighted code snippet in your app for proper handling of all events and status
After receiving process_result from SDK, it is mandatory to do a Server-to-Server Order Status API call to determine the final payment status. Please ensure that you verify the order ID and amount transaction.
To understand how to handle payment status, refer to this section
Once the payment status is determined via the API, the final status should be displayed to the user. This screen needs to be handled by the merchant, it is not provided by the SDK