#やまだ えしら

1 messages · Page 1 of 1 (latest)

median pivotBOT
clear cobalt
#

Are these one-time invoices or associated with a subscription?

frail blaze
#

We assume one-time one

clear cobalt
frail blaze
#

Thanks!

It might have been a little different. It is not native English, so I write slowly.

What we want to do (through the API) is :

  1. create a one-time Invoice
  2. display the invoice amount on the website (payment confirmation screen)
  3. if it is OK, finalize the invoice and pay

If the invoice is not OK in step 2 (if you leave or return to another screen), the invoice created in step 1 will remain as a draft.
We do not want a one-time Invoice to be created every time the user goes back and forth between pages.

clear cobalt
#

Back and forth between what pages? That sounds like an implementation details of your integration, not something specific to Stripe.

frail blaze
#

That sounds like an implementation details of your integration, not something specific to Stripe

Yes, I thought something like the feature to simulate an Invoice would solve this implementation, does Stripe have such a feature?

clear cobalt
frail blaze
#

Thank you! That is an ideal feature.

#

But it is Subscription based and does not appear to be usable in ONE-TIME.

clear cobalt
#

It should be, doesn't need a Subscription ID to work – you just pass customer: 'cus_xxx' instead

frail blaze
#

Ok, I will try the API!
Thank you 🙂

#

Thanks for your always fast and accurate answers. developer

clear cobalt
#

np, happy to help!