PrestaShop

For PrestaShop 1.7.8, 8 and 9 (tested with PrestaShop 8.2). Your shop's currency must be NGN or USD.

Testing in the Biftpay sandbox? If your test key comes from the sandbox dashboard (sandbox.app.biftpay.com), set API URL to https://sandbox.api.biftpay.com and save. In PrestaShop it's with the other Biftpay settings. Leave it empty for your live store.

Install#

  1. Download the module.
  2. In your back office, go to Modules → Module Manager → Upload a module and drop in the zip. Then click Configure.

Set up#

  1. Paste your test secret key (bp_test_...) and leave Test mode on.
  2. Leave the webhook signing secrets empty and click Save. The module adds your shop's webhook endpoint to Biftpay and saves its signing secret for you. That needs your shop on HTTPS. If it can't, the message says why; you can add the URL shown under the setting (https://your-shop/module/biftpay/webhook) in Developers → Webhooks and paste the signing secret (whsec_...) into PrestaShop yourself.
  3. Under Payment → Preferences, check Biftpay is allowed for your currency and countries.

Place a test order and pay with a test card: the order moves from Awaiting Biftpay payment to Payment accepted. To go live, paste your live key, turn off Test mode and save: a live webhook endpoint is added the same way.

What the module does#

  • Paying: the order is placed as Awaiting Biftpay payment and the customer goes to Biftpay's checkout. It's marked Payment accepted only when Biftpay confirms the payment (a signed webhook, or a check with Biftpay when the customer comes back). If the customer comes back without paying, they can try again from the same order.
  • Bank transfers that take a while: the order stays Awaiting Biftpay payment and moves on when the funds land.
  • Refunds: on the order page, use Partial refund or Standard refund. The credit slip's amount is refunded to the customer through Biftpay (you can turn this off in the module's settings).
  • Logs: turn on Debug log and see Advanced Parameters → Logs. Keys and secrets are never logged.