#Satya
1 messages ยท Page 1 of 1 (latest)
๐ happy to help
Hi Tarzan
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
these are the searchable fields https://stripe.com/docs/search#query-fields-for-invoices
I am looking for an API that I can do the recurring payment as user entered amount
Oh sorry I misunderstood the question
in that case you need to create a subscription
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
No problem. Please let me know if any API avaiable
ok thanks, in the price_date I can able to pass the amount right?
Do I need to specify the Product details?
yes you'd need to pass on a previously created product
but the price_data would give you access to "customized" amounts
yes
sure
Hi Tarzan, If we are making monthly subscriptions how stripe can do or capture the bank or card details?
Hi there ๐ I'm jumping in as my teammate needed to step away.
Can you elaborate on what you're trying to accomplish?
Hi Toby. We are trying to do the recurring option but how the stripe will know the payment method either a bank or card details which the recurring payment is taken. According to the API we provide the amount but the payment method is not known in stripe
Can you share the request ID (req_xxx) of the request that generated that error?
req_E8KKfOr03XIQi6
Thank you, and sincere apologies for the delay.
When you create a Subscription, you can provide the Payment Method that it should use via the default_payment_method field:
https://stripe.com/docs/api/subscriptions/object#subscription_object-default_payment_method
If you don't, then we try to fall back onto information on the Customer record, in the order shown in the description for that field.
In this case we tried to fall back to the Customer information, but the fields we looked in were blank, so an error was raised as no Payment Method could be found to use.
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.