Payment service setup
Configuring Amazon authorization
The user journey starts on the Connector Configurations page. The user can add a new configuration by clicking on the add button
The user can modify a current configuration by clicking the pencil icon to edit the value or keep the current configuration by clicking on Cancel button
Based on the configured store capabilities the user will see options to configure the applicable accounts. The user will be required to provide at least one input for each relevant method to ensure successful communication between the company integration application and Amazon systems. The user is able to configure up-to 5 accounts for each method
Connectivity testing for Amazon APIs
Connectivity testing can be completed after the onboarding of the authorized AWS accounts for the applicable Amazon services. The user can trigger tests to check whether the AWS account configured has been authorized to invoke our APIs successfully. Further testing is required to ensure the end-to-end use case. The self-service onboarding function currently supports Payment and Checkout
Setup for the test
- First step is setting up the ordering connector. The ordering connector is a prerequisite for this test as our systems need to be able to send the basket to your ordering connector to invoke Checkout or Payment APIs. Please refer to the sections How to Configure Store Connectors, Connectivity Testing of the document. Once your Ordering connector shows successful status, you can proceed with the test for authorized AWS accounts
-
Next is to ensure the endpoint for the service has been setup correctly. The endpoint must be changed to the testing endpoint else the test will result in actual checkouts and transactions against the test call. This is done in the integration app where the call to the Amazon service is done.
-
If you are testing Checkout calls, add .test in the endpoint right before checkout https://.test.checkout.amazonphysicalstores.com/v1/checkout/carts
-
If you are testing Payment calls, add .test in the endpoint right before payment https://
.test.payments.amazonphysicalstores.com/v1/adjust/charge
-
Running the test
- Enter a valid SKU (that was used in ordering connector test) in the input box and click on Run Test.
Inferring the test status:
- Untested: This status is displayed when the AWS accounts are untested, please run the test
- In Progress: This status is displayed while the Amazon system is awaiting for an API call from the authorized AWS accounts
- Unknown: This status is displayed when the Amazon systems did not receive a call from the authorized AWS accounts or the call is taking longer than expected. Kindly follow the troubleshooting guide and run the test again.
Note: Please ensure to update the endpoints to the production values once the testing has been completed.