📹 Video Tutorial
✍️ Step-by-step Tutorial
1 - Copy API Keys
You have to copy:
Publicable key
Secret key
2 - Create Webhook y copy Webhook ID
You need to create a Webhook, configure your subdomain and then select the following events:
checkout.session.async_payment_succeeded
checkout.session.async_payment_failed
customer.subscription.created
customer.subscription.deleted
customer.subscription.updated
customer.updated
customer.deleted
invoice.payment_action_required
invoice.payment_succeeded
checkout.session.completed
It will look something like this:
After creating the Webhook, you need to copy the Webhook ID
.
3 - Create Products and Prices, and copy Product IDs and Price IDs