UAT Integration
To make sure our integration process runs well in production, you can refer to these testing scenarios below:
Get Installment Options
This scenario will run in your (re: Merchant) checkout page where Indodana will send back installment options based on transaction amount. These options will then be shown to your customer along with some details like Installment Amount, and Monthly Installment as their purchasing reference.
A. Transaction Amount reach <500k
{
"amount": 450000,
"items": [
{
"id": "UAT_MERC001",
"name": "Wireless Earphone Bass V2.00",
"price": 450000,
"url": "http://merchant.com/elc/wireless-earphone-bass",
"imageUrl": "http://merchant.com/elc/wlearphone/cover.jpg",
"type": "Electronic",
"quantity": 1,
"parentType": "SELLER",
"parentId": "UAT_SELL001"
}
]
}Purchase Transaction Checkout
This scenario will run when your customer choose Indodana as their payment method in your checkout page.
After you post transaction to Indodana, you will get a valid Indodana Checkout URL. Then, you should redirect your customer from your checkout page to that Indodana checkout page.
At the end of the process, you should receive a POST notification from Indodana notifying the purchase has been approved by Indodana.
transactionStatus= PROCESSED
Purchase Transaction Cancellation / Refund [Optional]
This is an optional scenario; It will depend on whether the merchant needs transaction refund feature or not.
Last updated