#pinakinc
1 messages · Page 1 of 1 (latest)
Hi! Let me help you with this.
Could you please share the Customer ID?
Ideally, you should create the test clock first, and then create a Customer and a Subscription on it.
Hi Vanya
Yes I did create the test closk first
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
Could you please share the Subscription ID?
I don't think Checkout Sessions support test clock.
so then how to test recurring payment
This is my
The first payment was done today morning
You can create a Subscription directly: https://stripe.com/docs/api/subscriptions/create and use one of the test cards https://stripe.com/docs/testing
Yes, to test with test clocks you need to use the subscription API directly
But subscription exists already as can be seen above
I created subscription from API
This sub was created via a checkout session
Not via the subscriptions api
and it is not tied to a test clock
It's what you choose for your customer, for testing with clocks you'd want to use an appropriate test card. Either use it to confirm the first payment for the subscription, or attach it to the customer.
The cards in this second link here
and use one of the test cards https://stripe.com/docs/testing
@fallow kettle Can you explain the issue you're having with the test card?
I am not understanding which default payment method I should use
I tried pm_card_visa
Sure, but successful payments, failed payments...?
No recurring payments are happening
For which subscription?
I suggest you read this doc carefully and follow the steps, using either the dashboard or API tabs according to your preference:
https://stripe.com/docs/billing/testing/test-clocks
This should include all required steps to simulate advancing time for recurring payments