# How do I connect Amazon Payment Services to my store?

**Amazon Payment Services** (formerly PayFort) lets your customers pay online by card, mada and Apple Pay on a secure Amazon page, so you collect the money before shipping instead of cash on delivery. It charges in your store's own price, without conversion, in **AED, SAR, EGP, KWD, QAR, BHD, OMR, JOD or USD** — it only appears at checkout when your store (or the visitor's currency) is one of these.

## Steps

1. In the Amazon Payment Services back office (use your sandbox account to test), open **Integration settings** and copy the **Merchant identifier** and **Access code**. In **Security settings**, copy the **SHA request phrase**, **SHA response phrase** and the **SHA type**.
2. In Dropify, go to **Apps**, find **Amazon Payment Services** and click **Install**, then open the app.
3. Click **Connect Amazon Payment Services** (or **Add account** if one is already connected), give it an **Account name**, paste the five values (choose the same **SHA type** as in the back office: SHA-256 or SHA-512) and click **Add account**. We check them with Amazon Payment Services before saving.
4. Recommended: under **Webhook URL**, click **Copy webhook URL** and paste it in the back office **Integration settings** as the **Direct Transaction Feedback URL**.
5. In the app's **Settings**, pick **Sandbox Mode** to test or **Live Mode** to take real payments. Use the keys of the same environment.
6. Go to **Store settings → Payment methods**, switch **Amazon Payment Services** on and, if you want, set a **Discount for prepaid orders**.
7. Place a test order and pay on the Amazon page.

## Common problems

- "Amazon Payment Services rejected these keys in test mode" → you pasted live credentials in Sandbox Mode (or the opposite), or the SHA phrases/type don't match the back office. Copy them again from the right environment.
- "This value is too long." → the merchant identifier and access code are at most 20 characters; check you didn't paste extra text.
- Not shown at checkout → your store currency is not in the list above, the method is off in **Payment methods**, or the account **Status** is inactive.
- A paid order stays unpaid → add the Direct Transaction Feedback URL (step 4).

## Related
- [How do I connect Telr to my store?](https://help.dropify.shop/en/payments_gateways/telr/)
- [How do I connect Checkout.com to my store?](https://help.dropify.shop/en/payments_gateways/checkout-com/)
