One of the e-money payment methods offered by Faspay is OVO. By using this payment method, customers can make a payment via e-money website and Faspay will send real-time notifications when the customer completes the payment.
The basic integration process of OVO will be explained below.
Integration Step
Post Data Transaction to Faspay
Push to Pay
Callback/Return URL
Payment Notification
1. Post Data Transaction
Post data transactions should be done from the merchant backend, the detailed API reference can be found Here
This is an example of a request post data transaction for OVO channel
{"response":"Transmission of Purchase Detail Info","trx_id":"9999981200980185","merchant_id":"99999","merchant":"Sophia Store","bill_no":"20201222024304","bill_items": {"id":"A001","product":"Invoice #2286704","qty":"1","amount":"100000","payment_plan":"01","merchant_id":"99999","tenor":"00" },"response_code":"00","response_desc":"Success","redirect_url":"https://dev.faspay.co.id/pws/100003/0830000010100000/92c41cf28825f8065530f09726b3c6f0bd2e218e?trx_id=9999981200980185&merchant_id=99999&bill_no=20201222024304"}
2. Push To Pay
Push to Pay is a process to push Ovo's customer number
There are two options to do this process :
Redirect to Faspay's page so the customer can input Ovo's number and submit to Ovo's side, to do this use redirect_url which is retrieved from post data transaction response (JSON Format) or follows the detailed API reference Here
Please create your own page so the customer can input the Ovo's number on the merchant's website and submit it to Faspay.
How to submit Ovo's number to Faspay will explained below:
After post data transaction process please post the details below to Faspay's URL Endpoint
After the customer completes the payment via OVO's apps, faspay automatically redirects the customer to the Callback/Return URL. Please provide the URL and make sure it's already registered on Faspay system. For the detailed reference can be found Here
4. Payment Notification
Payment notification from Faspay to the Merchant backend will also be triggered in the event of transaction status getting updated, to ensure the merchant is securely informed. Please provide the URL and make sure it's already registered on Faspay system