-
Notifications
You must be signed in to change notification settings - Fork 54
Getting started with the Veritrans SDK
Dinda edited this page Nov 11, 2016
·
24 revisions
Veritrans SDK is a library that simplifies the process of making transactions on Veritrans Payment gateway.
There are four parties involved in the payment process for making a payment:
- Merchant Server: The merchant backend implementation
- Customers
- Veritrans Backend(Payment Processor)
- Veritrans Mobile SDK
Checkout
- Customer clicks the Checkout button on the Host application and the app makes a request to the Merchant Server
Token Negotiation
- Merchant Server makes a request to Veritrans server with Order Information
- Veritrans responds with a valid transaction token to Merchant server
- Merchant server forwards the token to the Mobile SDK
Retrive Payment Information
- Mobile SDK requests payment/merchant information based on the token
- Mobile SDK renders the payment Options and payment information to make the payment
Payment
- Customers selects the payment method and the payment details and clicks "Pay"
- Mobile SDK sends the Charge request to the Veritrans Backend for payment Processing.
Payment Confirmation
- Mobile SDK receives the response from the Veritrans Backend and triggers the handler on Mobile App with success/failure/pending status
- Veritrans Backend sends a notification to the Merchant backend confirming the completion of transaction.
- Credit/Debit Cards - Support for making payments via credit cards and or debit cards using our
two-clicks
feature. We supportVisa
,Mastercard
,American Express
andJCB
- Mandiri ClickPay
- CIMB Clicks
- ePay BRI
- Indosat Dompetku
- Mandiri e-Cash
- Bank Transfer - Support payment using Permata Virtual Account and BCA Virtual Account.
- Mandiri Bill Payment
- Indomaret - Payment via convenience Stores
- BCA Klikpay
- KlikBCA
- Kiosan
- Offers - supports offers like BIN Promos, Discounts , Installments, etc.
- Register Card : Securely store the credit card tokens with the merchants for seamless payment experience
- UI flow (Recommended) : We provide the drop in User interface for making transactions on all the payment types supported by Veritrans. Watch the video for the default UI flow example.
-
Core flow : We provide an API only implementation for all payment types, This allows users to
Bring your own UI
to the mobile App.
- Please familiarize yourself with our documentation
- Create a merchant account in MAP
- Setup your merchant accounts settings, in particular Notification URL.
- Checkout the Veritrans SDK Demo App (can be downloaded from README) and walk through the implementation.
- Checkout the server implementation reference, and walk through the API's that you may need to implement on your backend server.
- There are 2 separate keys CLIENT_KEY and SERVER_KEY (available on MAP)
- CLIENT_KEY is used for tokenizing the credit card. It can only be used from the Client(mobile device)
- SERVER_KEY is used for acquiring the token from the Veritrans server. It is not to be used from the device, all API requests that use the SERVER_KEY need to be made from the Merchant Server.
- We use strong encryption for making connections to Merchant server, please make sure it has valid https Certificate.
- Please be careful logging payment related information to the logs(especially when using Core flow).
Following are configurable parameters of SDK that can be used while performing transaction -
- Merchant server Endpoint- url of server to which transaction data will be sent. This will also be referred to as a merchant server.
- Transaction details - contains payment information like amount, order Id, payment method etc.
- Veritrans Client Key - token that specified by merchant server to enable the transaction using
credit card
. Available on the MAP