Manual Stripe payment verification
For admins only.Use this tool when the webhook didn't work and you need to manually activate the subscription after payment.
How to find Session ID on Stripe:
- Stripe Dashboard →Payments(menu on the left)
- Click on paymentclients (find by amount/date)
- In the payment details, scroll to the section"Related objects"
- Find the row"Checkout Session"and click the link (cs_...)
- Copy the full ID starting with "cs_"
❌ DO NOT use Payment ID (pi_...) – it won't work!
⚙️ Stripe webhook configuration (one-time):
- Stripe Dashboard →Developers → Webhooks
- Find the old WordPress webhook (contains "?wc-api=wc_stripe")
- Click on it and changeEndpoint URLat:
https://vamos-espana.com/api/functions/stripeWebhook - In the section"Events to send"Make sure the following is checked:
checkout.session.completed - Update endpoint→ Click"Reveal"next to "Signing secret"
- Copy secret (starts with "whsec_...")
- Add it to the Base44 Dashboard → Settings → Environment Variables:
Name:STRIPE_WEBHOOK_SECRET
Value: *(paste whsec_...) *
After properly configuring the webhook, all new payments will be automatically activated without this tool!
