# How do I connect Chargily Pay to my store?

Chargily Pay lets customers in Algeria pay online with an EDAHABIA (Algérie Poste) or CIB card on Chargily's page, using your own Chargily account. Customers pay in Algerian dinars (DZD), so Chargily Pay only appears at checkout when your prices are in DZD.

## Steps

1. In your Chargily Pay dashboard (pay.chargily.com), open the **Developers Corner** and copy your secret key: `test_sk_…` for test mode, `live_sk_…` for live mode.
2. In Dropify, go to **Apps**, find **Chargily Pay** and click **Install and connect**.
3. On the app page click **Connect Chargily Pay** (or **Add account** if one is already connected), enter an **Account name**, paste the **Secret key**, then click **Add account**. Dropify checks it with Chargily before saving.
4. Nothing else to set up: Dropify sends its webhook address with every payment.
5. In the **Settings** section, choose **Sandbox Mode** or **Live Mode** to match your key.
6. Go to **Settings > Payments** and switch Chargily Pay on under **Payment methods**. You can add a **Discount for prepaid orders**.
7. Place a test order in DZD and complete it on Chargily's test page.

## Common problems

- "This Chargily Pay key is not for test mode…" → use a `test_sk_` key in test mode and a `live_sk_` key in live mode, or switch the mode.
- "Chargily Pay rejected these keys…" → re-copy the secret key from the **Developers Corner**.
- Chargily Pay does not show at checkout → your store currency is not DZD, or the method is off in **Settings > Payments**.
- Refunds → Chargily Pay has no refund API. Refund the customer from your Chargily dashboard, then record the refund in Dropify as manual.

## Related
- [How do I connect Konnect to my store?](https://help.dropify.shop/en/payments_gateways/konnect/)
