# How do I connect AyMakan to my store?

The **AyMakan** app sends your cash-on-delivery orders to AyMakan across Saudi Arabia, collects cash in SAR, prints labels, updates each order live and can cancel a parcel before pickup.

## Steps

1. **Get your keys.** In AyMakan, open **Technical > AyMakan API** and copy the key (development and production keys are different).
2. In Dropify, go to **Apps → Discover**, find **AyMakan** and click **Install**.
3. Open it from **Apps → My apps**. Click **Connect**, paste the **API key**, then click **Connect**.
4. Fill the collection (**Pickup address**).
5. **Live tracking:** Nothing to do: live updates are set up on your AyMakan account automatically.
6. Set each product to ship with AyMakan: **Products** → edit the product → **Fulfillment and Shipping** → **Fulfillment Center** = AyMakan. **Automatically send orders to** sends new orders on their own.
7. Send an order: on the order page, the **AyMakan parcel** card has **Send to AyMakan** (or select orders in **Orders** and use **Send to AyMakan**). The tracking number then appears on the order.
8. From the same card: **Print bordereau**, **Refresh tracking**, **Cancel parcel** (before pickup). Orders move to Shipped, Delivered or Returned automatically.

## Common problems

- "AyMakan refused this API key." → copy it again from **Technical > AyMakan API**.
- "None of the products in this order are set to ship with AyMakan." → edit the product and set **Fulfillment Center** to AyMakan (Products → product → **Fulfillment and Shipping**).
- "AyMakan does not know the city … of order #…" → open the order, click **Choose delivery area**, pick the city from AyMakan's list and type the area, then send again.
- "AyMakan collects cash in SAR only, and this order is in …" → AyMakan collects cash in SAR. If the buyer already paid, mark the order as paid and send again: it ships with no cash to collect.

## Related
- [Which courier / COD delivery app should I connect on Dropify?](https://help.dropify.shop/en/shipping/choose-a-courier-integration/)
- [How do I connect SMSA Express to my store?](https://help.dropify.shop/en/shipping/smsa/)
- [How do I connect Torod to my store?](https://help.dropify.shop/en/shipping/torod/)
- [How do I connect Aramex to my store?](https://help.dropify.shop/en/shipping/aramex/)
