# How do I connect PayDunya to my store?

PayDunya lets customers in Senegal, Côte d'Ivoire, Benin, Togo, Mali and Burkina Faso pay with Orange Money, Wave, Free Money, MTN, Moov or a card on PayDunya's page. Customers pay in CFA francs (XOF), so PayDunya only appears at checkout when your prices are in XOF.

## Steps

1. In your PayDunya account, open **Integrate our APIs**, create an application and copy its **master key**, **private key** and **token**. Use the test keys while testing.
2. In Dropify, go to **Apps**, find **PayDunya** and click **Install and connect**.
3. On the app page click **Connect PayDunya** (or **Add account**), enter an **Account name**, paste the **Master key**, **Private key** and **API token**, then click **Add account**. Dropify checks them with PayDunya before saving.
4. Nothing to paste at PayDunya: payment notifications are set up automatically for each invoice.
5. In the **Settings** section, choose **Sandbox Mode** or **Live Mode** to match your keys.
6. Go to **Settings > Payments** and switch PayDunya on under **Payment methods**. You can add a **Discount for prepaid orders**.
7. Place a test order in XOF and pay on PayDunya's page.

## Common problems

- "PayDunya rejected these keys in test mode" → you used live keys in test mode (or the reverse), or one of the three keys is incomplete.
- PayDunya does not show at checkout → your store currency is not XOF, or the method is off in **Settings > Payments**.
- The customer cancelled → the order is not marked paid; they can pay again or choose another method.
- Refunds → PayDunya has no refund from Dropify. Send the refund from your PayDunya account, then record it as a manual refund.

## Related
- [How do I connect CinetPay to my store?](https://help.dropify.shop/en/payments_gateways/cinetpay/)
- [How do I accept Wave mobile money payments on my store?](https://help.dropify.shop/en/payments_gateways/wave/)
