After the addon has been installed and enabled, it needs to be configured.

To configure the addon:

  1. Go to the Store setup -> Payment methods section of your X-Cart Admin area and click Configure opposite the Amazon Pay payment in the Online methods section: az-payment-conf.png The Amazon Pay settings page opens: az-settings.png

  2. Adjust the settings on the page:

    • Amazon Seller ID: Enter your Merchant ID from your Seller Central account.
    • Operation mode: Use this to switch between the Sandbox and Production modes for the Amazon Payments Advanced integration (Test = Sandbox, Live = Production).
    • Access Key ID: Enter your Access Key ID from your Seller Central account.
    • Secret Access Key: Enter your Secret Access Key from your Seller Central account.
    • Client ID: Enter your Amazon App Concole Client ID. If you don’t have it register your website as an application on the Login with Amazon App Console. For more information, see the Login with Amazon Getting Started Guide.
    • Country of Merchant account: Select your currency.
    • Capture mode: Specify the desired capture mode (“Authorization then capture” or “Immediate Charge”). The “Authorization then capture” mode means that, when your buyer submits their order on checkout, you only get an Authorization on the payment method they selected, but not charge the buyer until you fulfil the order. To actually charge the funds you have authorized, you need to manually capture the payment amount by clicking the Capture button on the details page of the respective order in your X-Cart store. “Immediate Charge” means that, when buyer submits their order on checkout, the payment is both Authorized and Captured at the same moment.
    • Type of authorization request: Specify the type of authorization request that you would like to be used. This affects the way in which order status will be handled at the time of order placement. 
      • With the Asynchronous type of request selected, Amazon will not process authorizations in real time: after an authorization request, your store will receive an immediate API response indicating the Pending status of the authorization, and the order status in your store will become Queued. At this point, the customer will receive an order confirmation with the Queued order status. Later, when the authorization request is processed by Amazon, the store will receive the final processing status of the authorization request (for example, Open or Declined) from Amazon through the Instant Payment Notification service, and the order status in the store will be updated, respectively, to Authorized/Processed (dependes on the Capture mode) or Declined. At this time, the customer will receive another notification - with the updated order status. 
      • With the Synchronous type of request selected, it will be different: the authorization request will be either processed or declined by Amazon in real time. In response to your authorization request, Amazon will return either an Open or Declined status in the API response, typically within a few seconds  (If Amazon is unable to process the authorization synchronously, it will return a Declined status). As a result, the order status in your X-Cart store will become either Authorized/Processed (depends on the Capture mode) or Declined right after the order has been placed - while the buyer is still on your store’s site. Note that by selecting the Synchronous type of request you may observe a higher authorization decline rate as Amazon will convert some Pending authorizations to Declined. 
    • OrderId prefix: If you use the same account to accept payments from more than one X-Cart stores, use this field to set an invoice number prefix for this store. The prefix will serve as an identifier of the store and will help you to avoid errors of the “duplicate invoice number” type.
    • Callback URL: Is defined automatically by the system.

      To ensure that the status of payments in your store is updated automatically after Amazon processes the respective payment requests, you need to set up the endpoints:

      • Log in to Seller Central and select ‘Integration Settings’ from the Settings drop-down box.
      • Click Edit under the ‘Instant Notifications Settings’ section and enter the Callback URL provided here into the ‘Merchant URL’ field.
  3. Click Submit to save the changes.

Related pages: