#arielbo - PHP Subscriptions
1 messages · Page 1 of 1 (latest)
Hello! How do you want to integrate? Do you want to use Checkout or build your own custom payment flow?
Are you running into specific issues, or are you just looking for general guidance?
I need to know how can I do one subscription month by month for my users
I know how to use your api but I need one example about with variables can I use to create this type of subscription https://stripe.com/docs/api/subscriptions/create?lang=php
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
I read this but es very specific and I need some complete example please
I'd suggest you look through these docs instead: https://stripe.com/docs/billing/subscriptions/elements
It gives a full end to end walk through of how to implement a subscriptions flow using elements
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 ?
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
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
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