#victoria - Subscription Creation
1 messages ยท Page 1 of 1 (latest)
HI!
Can you describe the process flow you are trying to accomplish?
Yes, I'm using the subscription to make a payment with installments. But I want to confirm the card that is been used to make the payment.
in each subscription request, i save the subscription id in the database, so each time i make a new request, i check if there is an existing code in there
if there is a code in there, i know that this subscription needs a confirmation
so i was thinking in using stripe.PaymentIntent.confirm()
but i dont know if this is used ONLY for the stripe.PaymentIntent.create()
or i can use this for the stripe.Subscription.create() too
I'm missing something?
this function is called when the user enter in the payment endpoint
How are you collecting paymennt information?
then i maded this function with the requisitions, but i think i'm missing something (my question is about the confirm_payment_subscription() function)
Have you tried just walking through our guide: https://stripe.com/docs/billing/subscription-resource
building out a basic flow in Test mode, and confirming that it works? I think that would be a good place to start. We have plenty of code snippets in Python.
i already followed through the guide actually, i didn't do the tests, im doing now. But my question will pop up again when the tests work
thanks for the time!
Well if you followed that guide then you should be confirming the cards from your front-end integration.
oooh okay! I thought i would need to do this in the backend