#some1ataplace

1 messages ยท Page 1 of 1 (latest)

marble lavaBOT
oblique mango
#

Hi there you can attach a 4000000000000341 test card to your customer, payment will be declined when attempting to pay an invoice.

green shuttle
#

I want to test the Manage failed payments section

#

And another question is how to test the Manage invoices sent to customers section Subscription status and Invoice status

#

For both the Manage invoices sent to customers and Manage failed payments does it work for both subscriptions and one time payments via payment intents / invoices?

oblique mango
#

No emails are sent in test mode. So you won't receive invoice emails

green shuttle
#

i want to test the mark subscription as unpaid and mark invoice as uncollectible. i don't care about emails

oblique mango
#

OK. Then you can just attach the failed payment test card that I mention earlier, and advance the test clock.

green shuttle
#

ok so in a new checkout session try to pay for something? Subscription or one time payment?

oblique mango
#

I don't understand your latest question.

green shuttle
#

i am going to use the card you told me but where do i use it in a stripe checkout that pays for a subscription or a checkout that pays for a one time payment?

#

or do i manually need to make the subscription or invoice inside the dashboard test clocks page?

oblique mango
#

You can also do it from Dashboard.

green shuttle
#

hmm ok interesting idea about the trials\

green shuttle
#

Create a checkout for a subscription and fail the payment

  • open invoice
  • failed payment
  • incomplete subscription
    Advance time by 1 day
  • Invoice void
  • cancelled payment
  • expired subscription
#

I have retry 1 day after previous attempt

#

mark sub unpaid and mark invoice as uncollectible

#

do i need to successfully pay once then fail the payment?

oblique mango
#

what settings did you set and what didn't take effect?

green shuttle
#

Manage failed payments section i told it a few lines above

#

I have retry 1 day after previous attempt
mark sub unpaid and mark invoice as uncollectible

oblique mango
#

Can you share with me the subscription ID and invoice ID?

green shuttle
#

hold on i think i figured it out with my theory

#

yes that was it

#

succeed the payment, then remove card, then add 4000000000000341 then advance time

#

Now just need to figure out Manage invoices sent to customers section how that works

#

i also need to test if what i just did works for one time payments

#

how does an invoice become past due?

#

is there a way to make it via api?

spiral skiff
#

๐Ÿ‘‹ Taking over this thread, catching up now

#

Can you share the subscription ID?

green shuttle
#

i made it past that point for now

#

can you answer about past due invoices

spiral skiff
#

In the test mode, you will exhaust all the retries and it will stay in past_due

green shuttle
#

that is for the subscription though not the invoice object?

#

do the settings mean to say "if an invoice subscription is past due by" and "if a one time invoice is past due by"

#

i am talking about Manage invoices sent to customers section

spiral skiff
green shuttle
#

ok

#

so in the Manage failed payments section i need to leave everything as is then i can test the Manage invoices sent to customers section?

#

because wouldn't Manage failed payments activate first before Manage invoices sent to customers?

spiral skiff
#

Manage invoices sent to customers is for payment manually

green shuttle
#

that theory didn't work

spiral skiff
#

Can you share what you're trying to achieve?

green shuttle
#

ok so i make an invoice for them?

spiral skiff
#

Which specific flow are you testing?

green shuttle
#

test Manage invoices sent to customers with test clocks

#

If an invoice is past due by
both of them

#

actions -> create invoice

#

right?

#

then what?

spiral skiff
#

Are you using subscription or invoice product?

#

If you're using subscription product, you should look for subscription status setting

green shuttle
#

under items a subscription

#

for the invoice creeation page

#

im going to get going. if you have a solution please send it i could see it later

spiral skiff
green shuttle
#

yes that section

#

so i can only do that via api?

#

not the dashboard?

#

dashboard eemail invoice to customer with link?

spiral skiff
#

You can set in the dashboard to ask customer paying manually

green shuttle
#

hmm thought i tried that and it didnt work

#

i made one like that then advanced time without paying and no change to the invoice

spiral skiff
#

Can you share the subscription ID (sub_xxx) that doesn't work?

green shuttle
#

ooh the gear icon?

#

where did you find your screenshot?

spiral skiff
#

It'll be under Dashboard > Customers > Select the target customer > Click on "Actions" button on the top right > Click "Create subscription"

green shuttle
#

oooh i think it worked using my screenshot

#

but good to know about your screenshot thanks

#

thank you have a good one

spiral skiff
#

No problem! Happy to help ๐Ÿ˜„