Skip to content

Stripe Payments Setup

GateFuz integrates with Stripe via modern Stripe Elements and PaymentIntents, fully compliant with Strong Customer Authentication (SCA) and 3D Secure 2.

Navigate to GateFuz → Gateways → Stripe to manage keys, testing modes, and webhook signing secrets:

GateFuz Stripe Payments Gateway Configuration
Setting Type Description
Enable Gateway Select Toggle whether Stripe appears in the checkout modal.
Environment Mode Select Switch between Sandbox / Test Mode and Live Production.
Test Publishable Key String Public key beginning with pk_test_....
Test Secret Key String Private server key beginning with sk_test_....
Live Publishable Key String Production public key beginning with pk_live_....
Live Secret Key String Production server key beginning with sk_live_....
Webhook Signing Secret String Webhook endpoint secret beginning with whsec_... for cryptographic HMAC-SHA256 verification.

  1. Log in to your Stripe Dashboard.
  2. Navigate to Developers → API keys.
  3. Copy your Publishable Key and Secret Key.
  4. To test in Sandbox, toggle the “Viewing test data” switch in Stripe to grab your test keys (pk_test_... and sk_test_...).
  5. In WordPress, go to GateFuz → Gateways → Stripe and paste both pairs into the corresponding fields.

To guarantee order fulfillment when customers close their browsers, and to synchronize refunds and subscriptions automatically:

  1. In your Stripe Dashboard, go to Developers → Webhooks.
  2. Click Add endpoint.
  3. For Endpoint URL, paste your GateFuz Stripe webhook URL:
    https://example.com/wp-json/gatefuz/v1/webhook/stripe
  4. Under Events to send, select the full resiliency suite:
    • payment_intent.succeeded
    • payment_intent.processing
    • payment_intent.canceled
    • payment_intent.payment_failed
    • charge.refunded
    • customer.subscription.*
  5. Click Add endpoint.
  6. Reveal your Signing secret (whsec_...) and paste it into GateFuz → Gateways → Stripe → Stripe Webhook Signing Secret.