#theglobe - migration
1 messages ยท Page 1 of 1 (latest)
Hi there. One moment
The trial method is the best way actually
See this support article: https://support.stripe.com/questions/recreate-subscriptions-and-plans-after-moving-customer-data-to-a-new-stripe-account
Find help and support for Stripe. Our support center provides answers on all types of situations, including account information, charges and refunds, and subscriptions information. Get your questions answered and find international support for Stripe.
After the trial ends, the user gets charged, and the event is payment_intent.succeeded (in case it's succeeded)?
I am just thinking because I am using Zapier and Active Campaign to manage my subscription in WP. So if a new subscription is created, Zapier sends the data from Stripe to AC, and AC sends it to WP (which is working fine), and WP creates a new user. But when payment is succeeded, there's no need to create a new user in WP (because the user is already there, he/she is only paying for the monthly/yearly subscription), only to update the end date, so the event I added to only update the end data is payment_intent.succeeded.
Yeah you'll get that event will get triggered in that scenario
Does that event pass an end date for the subscription?
No but you could listen to this: https://stripe.com/docs/api/events/types#event_types-invoice.payment_succeeded which has: https://stripe.com/docs/api/invoices/object#invoice_object-period_end
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
oh yeah, so for all charges we have the invoice.payment_succeeded. That's great. Thank you
perfect. thank you so much ๐