Payment Method and Billing Address
To ensure the successful submission of orders through our API, it is mandatory for all users to set a primary payment method and default billing address of the store. This step must be completed before any order submissions can be processed.
Importance of Setting a Primary Card
Orders submitted via our API require a valid primary payment method to be associated with your account. This ensures seamless transaction processing and order fulfillment without unnecessary delays or manual intervention.
How to Set Your Primary Payment Method
Setting your primary payment method is a straightforward process, accessible through the following URLs:
- Production Environment: Set Primary Payment Method
- Sandbox Environment: Set Primary Payment Method (Sandbox)
Steps:
- Navigate to the appropriate URL based on your environment (Production or Sandbox).
- Log in with your account credentials.
- Add a new payment method if you haven't already done so.
- Set your preferred payment method as the primary card.
- Optional: You can set a secondary card which we can charge instead if the primary card has any issue.
- Optional: You can also opt to use your wallet balance before using your saved credit card. If there is not enough balance on your wallet, your primary/secondary card will be used.
How to Set Your Store's default billing address
Steps:
- Navigate to Store > Store Settings (of the store you want to use)
- Enter your billing address information under Billing Address card
- Tick Mark as default billing address checkbox
- Click Save button
Sandbox Testing
For testing in the Sandbox environment, you may use the following test card details:
Card Number: (use any of the card number below)
- 378282246310005
- 371449635398431
- 36259600000004
- 6011000991300009
- 3530111333300000
- 6304000000000000
- 5555555555554444
- 2223000048400011
- 4111111111111111
- 4005519200000004
- 4009348888881881
- 4012000033330026
- 4012000077777777
- 4012888888881881
- 4217651111111119
- 4500600000000061
- 6243030000000001
- 6221261111117766
- 6223164991230014
Expiration Date: Any future date in MM/YY format
CVV: Any 3-digit code
Please note that test cards are not processed as real transactions and can only be used in the Sandbox environment for testing purposes.