#arielbo - PHP Subscriptions

1 messages · Page 1 of 1 (latest)

pine hound
#

Hello! How do you want to integrate? Do you want to use Checkout or build your own custom payment flow?

tropic arch
#

now I create my own custom payment flow

sonic seal
#

Are you running into specific issues, or are you just looking for general guidance?

tropic arch
#

I need to know how can I do one subscription month by month for my users

#

I read this but es very specific and I need some complete example please

sonic seal
#

It gives a full end to end walk through of how to implement a subscriptions flow using elements

tropic arch
#

thank you so much I check, I have a trouble with this parameter setup_future_usage in paymentintent, my flow save multiple twice the same card, do know maybe how can I avoid this duplicate savings ?

sonic seal
#

We don't do any deduplication on our end - if you want to make sure a customer doesn't have any duplicated cards attached, you need to compare the fingerprint of the two payment methods (https://stripe.com/docs/api/payment_methods/object#payment_method_object-card-fingerprint) and detach any duplicates

tropic arch
#

a question, the payment method of the customer should I necessarily add it in the paymentintent with setup_future_usage or is it possible to add it after a successful payment with the setup_future_usage feature?

#

127 / 5000
Or in other words, how can I convert a customer's payment method into setup_future_usage without defining it in the paymentintent? please help me with this and sorry for this basic questions