Checkout is a payment service that allows you as DOKU merchants to use our payment system, where DOKU's payment page pops up on your website after checkout. This is the easiest and the quickest way to integrate with DOKU without any hassles that suitable for every business needs from small businesses to enterprises.
Here is the overview of how to Checkout Page works:
1.
Initiate Checkout Customer will trigger the Merchant System for Request Payment to the DOKU Checkout API. Additionally, merchants can customize the Checkout by sending several objects and parameter. Learn more here.
2.
Complete Transaction After get response from DOKU Checkout API, customer will be redirected to DOKU Checkout Page. On DOKU Checkout Page, merchant can see various payment methods and chose one of the method to proceed. Customer will complete the transaction, and the process is based on what payment methods that customer chose. After get the transaction status from acquirer, DOKU will redirect customer to the result page.
3.
Redirect to Merchant Page Given that customer already on DOKU Result Page, they can go to the Merchant Page automatically or by clicking "Back to Merchant" button.
4.
Payment Notification DOKU will send HTTP notification to the merchant side. Learn how to handle the notification from DOKU from here.
Cards Notification
Currently Cards will have a different notification body since using different API Specification, learn more the Cards Sample Notification here.In the future, Cards channel will have the same specification with other Channels.
Cards Authorize Capture on Checkout
For Cards channel with AUTHORIZE type, merchant need to hit Capture Authorized Payment bring authorize_id. Learn more here
5.
[Optional] Retrieve Checkout Besides receiving notification, merchant can use Retrieve Checkout API to get the latest order and transaction status. Learn more here.