How to correctly setup a Stripe to Web Push integration
Stripe is a payment processing platform that allows you to accept payments online and in mobile apps. It is a powerful tool that enables you to accept payments from customers all over the world. It also offers a powerful webhooks API that allows you to receive real-time notifications about events that happen in your account.
Web Push is a technology that allows you to send notifications to your users' devices even when they are not on your website. It is a powerful tool to engage your users and bring them back to your website.
MagicBell makes it incredibly easy to combine the two, so that Stripe can be used as a source of events to be sent via Web Push.
Step 1: Setup Stripe
/integrations/stripe
"object"
Properties
"string"
The signing secret to verify incoming requests from Stripe
Example Request
{
"webhook_signing_secret": "whsec_e5cf4458caae49ae72d8f275deb9b63bdd41dd5c932c27c9346d428fb9e1d0a0"
}
Step 2: Setup Web Push
/integrations/web_push
"object"
Properties
"string"
Your VAPID public key used for web push notifications. You will have generated this yourself.
"string"
Your VAPID private key used for web push notifications. You will have generated this yourself.
Example Request
{
"public_key": "<string>",
"private_key": "<string>"
}
Specialized Integration Guides
Below are some more specialized guides for individual Stripe events: