AmazonPay CCT - Non Tokenized
Prerequisites
Key integration changes for integrating Amazonpay via Hyper SDK
All prerequisites and authorization required for Amazon Pay shall be completed by merchant.
Account creation with Amazon Pay
Configure the credentials provided by Amazonpay on Juspay Dashboard
Dependencies
Ensure that below Chrome Custom tab dependencies are added.
In case of Android X support libraries being used, add dependency as: androidx.browser:browser:1.3.0
In other scenarios, add dependency as: android.support.customtabs.CustomTabsIntent
User Experience for Amazon Pay redirection flow shall be as follows
First time and repeat users will be redirected to the Amazon Pay page opened on a Chrome Custom Tab to login and complete the payment. The Chrome Custom Tab is a security requirement from Amazon Pay.
Step 1 - Order creation:
CreateOrder on Juspay Servers.
Step 2 - Initiate wallet transaction:
Use walletTxn operation to initiate Paypal transaction. Please note to send the below three parameters for the walletTxn operation.
paymentMethod :: AMAZONPAY
sdkPresent :: ANDROID_AMAZONPAY_NONTOKENIZED (For android) and IOS_AMAZONPAY_NONTOKENIZED (For iOS). Juspay SDK does the check for CCT if this value is passed for this param.
sdkWalletIdentifier :: The seller ID provided by Amazonpay