New in Chargebee: Explore Reveal and understand your payment performance end-to-end.Try Now
Docschargebee docs
HomeBillingPaymentsRevRecGrowthReveal
Support

Product Updates


  • Release Notes

Payment Methods


  • Payment Methods Overview
  • Cards
  • Direct Debit
  • Bank Based Payments
  • Wallets
  • Vouchers
  • Articles and FAQ

Payment Gateways and Configuration


  • Payment Gateways Overview
  • Chargebee Test Gateway
  • Stripe
  • PayPal Payment Services
  • Chargebee Pay
  • Adyen
  • Authorize.net
  • Bambora (formerly Beanstream)
  • Bank of America
  • BluePay
  • BlueSnap
  • Braintree
  • Checkout.com
  • CyberSource
  • dLocal
  • EBANX
  • Ecentric
  • Elavon
  • E-xact Direct Integration
  • eWay Rapid
  • Global Payments
  • GoCardless
  • J.P. Morgan Mobility Payment Solutions
  • Metrics Global
  • Mollie
  • Moneris
  • Network Merchants Incorporated (NMI)
  • Nuvei
  • Orbital (Chase Paymentech)
  • Pay.com
  • Paymill
  • Paystack
  • Pin Payments
  • QuickBooks Payments
  • Razorpay
  • Sage Pay
  • Solidgate
  • Twikey
  • Windcave
  • Worldline Online Payments(formerly Ingenico)
  • Worldpay
  • Articles and FAQ

Level 2/3 Data Support


  • Level 2/3 Data Support

Advanced Routing


  • Advanced Routing

Dunning


  • Dunning
  • Articles and FAQ

Offline Checkout


  • Offline Checkout
  • Articles and FAQ

Transaction Sync & Invoice Mapping


  • Transaction Sync and Invoice Mapping

Fraud Management


  • Fraud Management

Error Handling


  • Errors with Root Cause and Troubleshooting

Payment Lifecycle Logs


  • Payment Intents
  • Transactions
  • Gateway Activity Logs
  • Gateway Webhook Logs
  • Articles and FAQ

Others


  • Reach (Merchant of Record)
  • Payment Verification
  • Bulk Deletion of Payment Methods
  • Custom Payment Methods
  • Payment Initiator Parameter
  • PSD2 and Strong Customer Authentication
  • RBI e-Mandate
  • RBI Tokenization Regulations
  • Chargeback Management
  • Transaction Descriptors
  • Payment Preferences
  • Visa Trial Rules
  • Mastercard Trial Rules
  • Co-badged Card Compliance
  • Articles and FAQ
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. Amazon Payments
  1. Payments
  2. Payment Gateways and Configuration
  3. Articles and FAQ
  4. Amazon Payments

How to integrate Amazon Payments with Chargebee?

Problem Statement

You want to know how to integrate amazon payments with chargebee.

Solution

This articles covers:

How Amazon Payment can be integrated with Chargebee.

API for setting up Amazon Pay as a payment method

Where is the Amazon Payments Login?

Amazon Payments is supported as a payment method in Chargebee.

To link your Amazon account,

  1. Navigate to Settings > Configure Chargebee > Payment Gateways.
image
  1. In your Amazon account, you need to configure your settings to allow checkout through a 3rd party shopping cart. To do this, log in to your Amazon Seller Central and select Amazon Payments Advanced.

Here configure your "Integrator URL" and configure "Allowed JavaScript Origins" and include Chargebee's checkout and portal URLs.

Once you set this up, Amazon Payments will appear as a payment method on your Chargebee checkout pages.

API based Integration:

If you are integrated to Chargebee using our APIs, here are the steps you need to follow to use Amazon Payments:

  1. Integrate your site with Amazon Payments (Login & Pay with Amazon)

         -  Chargebee uses the billing agreement ID of Amazon Payments to automatically collect future payments. 
    
         - Follow the steps mentioned in [this document](https://pay.amazon.com/us/developer/documentation/automatic/201752090#201757340) to integrate with Login and Pay with Amazon.
    
  2. Configure your Amazon Payments settings in Chargebee(refer to the steps mentioned above).

  3. Push Billing Agreement ID obtained from Amazon to Chargebee

         - In the case of an API based integration, the ling agreement is directly created on Amazon payment's end without communicating with Chargebee. 
    
         - Hence you'd need to push the billing agreement ID to Chargebee for it to process future payments automatically. 
    
         - The Billing Agreement id can be passed to Chargebee with the payment_method[reference_id] parameter, using any of the following APIs:
    
             1. [Create a Subscription API](https://apidocs.chargebee.com/docs/api/subscriptions/create-subscription-for-items) 
    
             [2. Create a Customer API](https://apidocs.chargebee.com/docs/api/customers/create-a-customer) 
    
             [3. Update Payment Method for a Customer API](https://apidocs.chargebee.com/docs/api/customers/update-payment-method-for-a-customer) 
    

Note:

  1. Amazon Payments is currently supported for merchants in the United States only.

  2. Only supports card-based payments using your customers' Amazon buyer account. Bank or other payment methods are not accepted with Chargebee.

  3. The only supported currency for Amazon Payments is USD.

  4. iframe tags are not supported. If you are using Chargebee Checkout you will have to add the following in the Header Script. data-cb-redirect-mode-enabled="true"

  5. Currently supported only on the Checkout Pages V2

Related Articles

'[Amazon Payments] I am getting the error "400 Bad Request" -The domain on which you are using the JavaScript SDK has not been whitelisted for your application.'

Was this article helpful?