Stripe
Accept payments through Stripe via Hyperswitch
This section gives you an overview of how to make payments via Stripe through Hyperswitch
Stripe is a suite of APIs powering online payment processing and commerce solutions for internet businesses of all sizes. It allows businesses to accept payments and scale faster. To know about more about payment methods supported by stripe via hyperswitch visit here.
Activating Stripe via Hyperswitch
Prerequisites
You need to be registered with Stripe in order to proceed. In case you aren't, you can quickly setup your Stripe account here
You should have a registered Hyperswitch account. You can access your account from the Hyperswitch control center.
Enable handling raw card data for your Stripe account by sending a request to the stripe support (Visit here for more details). This will enable Hyperswitch to securely handle your customer's payment details in a PCI compliant manner.
Enter your Country, Business Label and Stripe API Key. The Stripe API key can be found in your Stripe dashboard under [Developers -> API keys](https://dashboard.stripe.com/test/apikeys) as **Secret Key** Note: Ensure to use the Secret Key -> Starts with `sk`
Select all the payment methods you wish to use Stripe for. Ensure that this is the same as the ones configured on your Stripe dashboard under Settings -> Payments -> Payment methods
Webhooks: Navigate to the webhooks section of your Stripe dashboard (Developers -> Webhooks) and create a new webhook by clicking on `Add an endpoint`.
Configuring webhooks
Step 1: Setup your webhook endpoint on Hyperswitch dashboard under Settings -> Payment settings -> Click on the profile
Step 2: Configure Hyperswitch’s webhooks endpoint on your Stripe dashboard. You can find Hyperswitch’s endpoint for your Stripe account by clicking Processors -> Stripe
This will ensure that if your Stripe transaction was sent through Hyperswitch,
Stripe sends webhooks to Hyperswitch endpoint in Step 2
Hyperswitch sends these corresponding webhooks to your endpoint in Step 1
Steps to activate Stripe on Hyperswitch control center.
Last updated