Docs
amazon payments, payment gateway
38989385
2018-10-21T19:35:24Z
2021-04-08T13:09:50Z
995
0
0
237220
How to integrate Amazon Payments with Chargebee?
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,
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:
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.
Configure your Amazon Payments settings in Chargebee(refer to the steps mentioned above).
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_a_subscription)
[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:
Amazon Payments is currently supported for merchants in the United States only.
Only supports card-based payments using your customers' Amazon buyer account. Bank or other payment methods are not accepted with Chargebee.
The only supported currency for Amazon Payments is USD.
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”
Currently supported only on the Checkout Pages V2
Billing/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.txt