Store Payments
Configure Payment Gateway for Credit/Debit Card Payments
As an admin, you can configure a payment gateway to allow investors to purchase tokens using credit or debit cards. Currently, the Spydra platform supports Stripe as the third-party payment provider. Follow these steps to set up Stripe as your payment gateway:
Steps to Configure Stripe Payment Gateway
Access Store Settings:
Navigate to your store's Settings page from the main dashboard.
Click on the Payment tab.
Add Payment Provider:
Click on the ‘Add Third Party Provider’ button.
From the dropdown menu, select Stripe as the payment gateway provider.
Enter Stripe Details:
You will need to provide the following details:
Secret Key: This is used to authenticate API requests from Spydra to your Stripe account.
Webhook Secret: This is required to securely receive event notifications from Stripe.
Save Configuration:
After entering the Secret Key and Webhook Signing Secret, click Save to complete the configuration.
Where to Find the Secret Key in Your Stripe Account?
Log in to your Stripe account.
Navigate to the Developers section in the left-hand menu.
Click on API Keys.
Copy the Secret Key from the list of API keys. Use the live key for production environments or the test key for development purposes.
How to Configure the Webhook Signing Secret?
In your Stripe dashboard, navigate to the Developers section and select Webhooks.
Click on Add Endpoint to create a new webhook.
Select the specific events to listen for. Kindly include events such as:
Once the webhook is created, Stripe will generate a Webhook Signing Secret. Copy this secret and add it to the Webhook Secret field in Spydra.
Important Notes:
Ensure that you are using the correct keys (test or live) based on the environment you are working in.
Double-check the webhook URL and ensure it matches the one provided by Spydra.
Last updated
Was this helpful?