#meisiei-subscription
1 messages · Page 1 of 1 (latest)
use payment method with bank card
OK. so when you create the subscription, you can pass in both recurring price and one-time price in the items list (https://stripe.com/docs/api/subscriptions/create?lang=curl#create_subscription-items)
Complete reference documentation for the Stripe API. Includes code snippets and examples for our Python, Java, PHP, Node.js, Go, Ruby, and .NET libraries.
Hi. I send a request to create a subscription which the items contains recurring price and one time price, but the response says this field only accept recurring price. "The price specified is set to type=one_time but this field only accepts prices with type=recurring." What should I do? thanks.
You should following this Doc: https://stripe.com/docs/billing/invoices/subscription#first-invoice-extra
Use the add_invoice_items parameter
ok.thanks a lot.
I found the Test Clocks object. Does it can make the monthly subscription come to end faster?
Yes!
Such like, in the test environment, I subscript a monthly service, but I want to see the auto renew effect. So does the Test Clocks can help?
That's the point of Test Clock
I found the frozen time in it. I'm not sure the frozen is the effect what I want.
I just want the subscription period become shortly so that I can see the next recurring effect.
Frozen time means you control the time
frozen time never move unless you advance it by yourself
so you just advance the time by 1 month and you should see the Subscription get renewed
you mean I could set the frozen time to 1 month and the subscription will move advance?
yes
ok. thanks a lot.
I've received the invoice.created event a quarter hour ago, the collect_method is charge_automatically, but the invoice status is still open now. When will the stripe to pay it?
well it depends. The Invoice may not be configured to be attempted immediately.
Is it status "open"?
Invoice Id plz
It's a subscription with default_incomplete
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
It will remain that way until you confirm the PaymentIntent pi_3KrGk7CsiaKaCQKS0dTqXeAe