PaymentHooks charges your customers through your own gateway accounts. You need an account with the gateway first, then you copy its API credentials into PaymentHooks.
- 1Open Gateways > Marketplace.
- 2Find your gateway with the search box or the category tabs, then click its card.
- 3Under
Environment, chooseSandboxfor the gateway's test credentials orLivefor its production credentials. - 4Fill in the credential fields. Each gateway asks for its own values, for example Stripe asks for a Publishable Key, a Secret Key and a Webhook Signing Secret.
- 5Click Test Connection to check the credentials with the gateway.
- 6Click Connect. The card now shows a
Connectedbadge in the Marketplace.
Finish the setup
After you connect, the gateway page shows two more cards.
Webhook & routing: copy theWebhook URLinto your gateway's dashboard so payment updates reach PaymentHooks. This card also has theUse for routingswitch.Connection Settings: choose theEnabled currenciesthis gateway is offered in, and turn onUse for subscriptionsif it should collect renewals. Click Save settings.
In live mode, checkout only offers connections that are saved in
Live, active and used for routing. A sandbox connection is never used in live mode.Your PaymentHooks plan can limit how many gateways you can connect. You can connect more than one gateway and decide which one takes each payment with routing rules.