#l3ash9i98
1 messages ยท Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
Hi ๐
I would recommend listening to webhooks instead of relying on browser redirection for triggering your code to create the Subscription.
https://stripe.com/docs/webhooks
Is at least the logic good ?
Hi, can you add a bit more context here? Which logic are you referring to? To see confirm that a payment succeeded, you should set up webhooks and listen to subscription events we have outlined here, https://stripe.com/docs/billing/subscriptions/webhooks.
Tot he tone one on the function. I mean, i have to confirm payment and after that create the subcription if im using Paymentelemnt n right ?
I recommend that you review this https://stripe.com/docs/billing/subscriptions/overview and I recommend that you test things on your end using your test API key as well.
im getting this erro : "error": "This PaymentMethod was previously used without being attached to a Customer or was detached from a Customer, and may not be used again."