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

Docschargebeedocs

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

[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.

Problem Statement

This article helps you understand '[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.'.

Solution

This error will be shown if you Chargebee site name has not been configured in the "Allowed login domains" under Amazon payments, during the setup process. Screenshot of the page for reference:

You need to enter your Chargebee domain URL here to connect with your Amazon Buyer Account. During testing, configure your Chargebee TEST domain name and later on you can change this in your Amazon account console. You should also include your Chargebee customer portal domain name if you've enabled the customer portal through the Amazon account console.

More information on configuring Amazon Payments with Chargebee is here.

Related Articles

How to integrate Amazon Payments with Chargebee?

Was this article helpful?