How to Set Up Stripe Payments

Accept credit and debit card payments through Stripe on your IPTVbp store.

beginner
15 minutes6 steps
1

Create a Stripe account

If you do not already have a Stripe account, go to stripe.com and click Start now. Complete the registration process including your business information, bank account for payouts, and identity verification. Stripe will review your account — this usually takes 1-2 business days.

You can start integrating immediately using Stripe's test mode while your account is being reviewed.

2

Get your API keys

Log in to the Stripe Dashboard at dashboard.stripe.com. Click Developers in the sidebar, then click API Keys. You will see two sets of keys:

- Test mode keys (start with pk_test_ and sk_test_) — use these for testing - Live mode keys (start with pk_live_ and sk_live_) — use these for real payments

Copy both the Publishable key and the Secret key. Start with test mode keys for initial setup.

Use test mode keys first (sk_test_ and pk_test_) to verify everything works before switching to live keys.

Never expose your Secret Key publicly. It should only be stored in IPTVbp's secure settings, never in client-side code or shared with anyone.

3

Set up the webhook

Still in the Stripe Dashboard, go to Developers > Webhooks. Click Add endpoint and enter the following:

- Endpoint URL: https://your-domain.com/api/webhooks/stripe (replace your-domain.com with your actual store domain) - Events to listen for: Select the following events: - checkout.session.completed - payment_intent.succeeded - payment_intent.payment_failed - customer.subscription.updated - customer.subscription.deleted

After creating the endpoint, click on it and copy the Signing secret (starts with whsec_).

If you use a custom domain, use that domain in the webhook URL. If you use the IPTVbp platform URL, use that instead.

4

Add Stripe in IPTVbp

In your IPTVbp vendor portal, go to Settings > Payment Gateways and select Stripe. Enter your API keys and webhook secret.
FieldDescriptionRequired
Publishable KeyYour Stripe publishable API key. Starts with pk_test_ (test mode) or pk_live_ (live mode).
Yes
Secret KeyYour Stripe secret API key. Starts with sk_test_ (test mode) or sk_live_ (live mode).
Yes
Webhook SecretThe signing secret from your Stripe webhook endpoint. Starts with whsec_.
Yes
5

Test with a test payment

With test mode keys configured, place a test order on your store. Use Stripe's test card numbers:

- Successful payment: 4242 4242 4242 4242 - Declined payment: 4000 0000 0000 0002 - Requires authentication: 4000 0025 0000 3155

Use any future expiration date, any 3-digit CVC, and any postal code.

Check the Stripe Dashboard > Payments section to confirm the test payment appears. Also verify that the webhook was received under Developers > Webhooks.

6

Switch to live mode

Once testing is complete, replace your test API keys with your live keys in IPTVbp. Update the webhook endpoint URL to your live mode webhook (or create a separate live mode endpoint in Stripe). Update the webhook secret as well. Your store is now ready to accept real payments.

Make sure your Stripe account verification is complete before switching to live mode. Stripe will not process live payments until your account is fully verified.

Ready to Get Started?

Join the waitlist and be among the first to automate your business.