Skip to main content

CIB / Edahabia (Slick-Pay)

DZBuild integrates Slick-Pay to accept CIB and Edahabia card payments. This integration is used so you, the merchant, can pay DZBuild — for your subscription, AI credits, and paid addons — directly from your card.

For customer-facing storefront payments, see:

  • Cash on Delivery — the dominant method on Algerian storefronts.
  • Manual receipts — for upgrades and landing-page purchases that go through bank transfer or BaridiMob.

What it covers

The Slick-Pay integration is wired into three flows on /dashboard/subscribe and related pages:

  • Plan upgrades (Pro / Unlimited) and renewals.
  • AI credits packs (/dashboard/ai-credits).
  • Paid addons.

When you click Pay with CIB / EDAHABIA in any of these flows, DZBuild creates a Slick-Pay invoice via POST /api/slickpay/create-checkout (or the AI-credit / addon variant), then redirects you to Slick-Pay's hosted page. After 3-D Secure, you're redirected back to DZBuild and the platform records the payment.

What you see

  1. Open /dashboard/subscribe (or /dashboard/ai-credits / the addon page).
  2. Pick the plan / pack / addon and the duration if applicable.
  3. Click the Slick-Pay payment option (CIB / Edahabia).
  4. You're redirected to Slick-Pay's secure page.
  5. Enter your card details + 3-D Secure code.
  6. You're sent back to DZBuild and your purchase activates as soon as the platform confirms the payment.

If you close the tab mid-flow, DZBuild keeps a pending reference and re-checks the status the next time you load the page (/api/slickpay/check-status), so you don't double-pay.

Webhook + verification

Slick-Pay confirms payments via a server-to-server webhook to https://dzbuild.com/api/slickpay/webhook. DZBuild verifies the webhook signature and updates the matching subscription, AI-credit, or addon record. There is nothing you need to configure for this — the integration is platform-managed.

Modes

Slick-Pay runs in two modes:

  • live — production cards, real charges. Payments are sent to prodapi.slick-pay.com.
  • test — sandbox; no real money moves. Payments go to devapi.slick-pay.com.

DZBuild ships with live mode in production.

Common issues

SymptomCauseWhat to do
Redirected back without confirmation3-D Secure timed out or you closed the tabReload /dashboard/subscribe; DZBuild re-checks the status automatically. If it stays pending, contact support.
"Payment failed" on Slick-Pay's pageCard declined by issuing bankTry another card, or contact your bank. Some Edahabia cards block online merchants by default.
Payment succeeded but plan didn't activateWebhook delivery delayedWait a minute then refresh. The /api/slickpay/check-status poll will reconcile it.

Frequently asked

Q: Can I sell to my own customers via Slick-Pay through DZBuild? A: Not via DZBuild's own Slick-Pay integration today. The integration is wired for merchant-to-DZBuild payments. Your customers pay via COD or manual receipts.

Q: Are my card details stored? A: No. DZBuild never sees your card number — Slick-Pay's hosted page handles it. DZBuild only stores a payment reference and the success/failure status.

Q: Which cards work? A: Algerian CIB and Edahabia cards that allow online payments. International cards aren't supported by Slick-Pay.