Skip to main content
Feature RequestThis is an on-demand feature. Please raise a request with our Support team to get this feature activated on your Razorpay account.to get this feature activated on your account.

Web Integration

After an order is created and the customer’s payment details are received, the information should be sent to Razorpay to complete the payment. You can do this by invoking createPayment method and passing method = wallet and wallet=amazonpay.
Example

Android Integration

To integrate Amazon Pay wallet with the Custom Checkout on your Android app:
  1. Download the following SDKs and add the aar files to the application library.
Handy TipsThe Razorpay-Amazon Pay SDK acts as a wrapper over the native Amazon-SDK.
  1. Add the following lines of code to the build.gradle file of your application:
    build.gradle
This will add the dependencies for the SDK and create an Amazon Pay payment method on your Checkout form.

iOS Integration

The iOS integration for Amazon Pay is similar to the Razorpay iOS Custom UI SDK integration.
Handy Tips
  • Always use the Live key with Amazon Pay, even for testing.
  • Razorpay SDK has a minimum deployment target of iOS 10.0, built with Swift 4.2. It requires Xcode 10 and above to work.

Prerequisites

Before you begin the integration, download the following SDKs:

Integration Steps

To use Amazon Pay via the Razorpay SDK:
  1. Add the Amazon Pay SDK to the project directory containing your .xcodeproj or .xcworkspace file.
  2. Add $(PROJ_DIR) to the framework search paths of your target and set the search type to recursive.
  3. Add the following code to your info.plist file:
  4. Import the PayWithAmazon file to your AppDelegate and implement the following function:
  5. Use the following command to trigger Amazon Pay:
    Here, razorpayInstance is an instance of Razorpay.