#pinakinc

1 messages · Page 1 of 1 (latest)

soft jacinthBOT
rose silo
#

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.

soft jacinthBOT
fallow kettle
#

Hi Vanya

#

Yes I did create the test closk first

rose silo
#

Could you please share the Subscription ID?

fallow kettle
#

give me two minutes

#

sub_1NBVSESBRE7TRroRyWX3Uy67

rose silo
#

I don't think Checkout Sessions support test clock.

fallow kettle
#

so then how to test recurring payment

#

This is my

#

The first payment was done today morning

rose silo
jovial adder
#

Yes, to test with test clocks you need to use the subscription API directly

fallow kettle
#

But subscription exists already as can be seen above

#

I created subscription from API

jovial adder
#

Not via the subscriptions api

#

and it is not tied to a test clock

fallow kettle
#

ok let me try through API

#

what is the default payment method?

jovial adder
#

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.

jovial adder
#

and use one of the test cards https://stripe.com/docs/testing

Use test cards to validate your Stripe integration without moving real money. Test a variety of international scenarios, including successful and declined payments, card errors, disputes, and bank authentication. You can also test non-card payment methods.

#

@fallow kettle Can you explain the issue you're having with the test card?

fallow kettle
#

I am not understanding which default payment method I should use

#

I tried pm_card_visa

jovial adder
#

How did you use it?

#

What scenario are you trying to simulate?

fallow kettle
#

Recurring payments

#

This is how my screen appears

jovial adder
#

Sure, but successful payments, failed payments...?

fallow kettle
#

No recurring payments are happening

jovial adder
#

For which subscription?

fallow kettle
#

I created a fresh one

#

How do I attach a test clock

#

please let mevknow

jovial adder
#

This should include all required steps to simulate advancing time for recurring payments