#KEITH LARD

1 messages · Page 1 of 1 (latest)

lilac etherBOT
obsidian briar
#

Hi! Let me help you with this.

#

How is this Invoice created? From Subscription?

humble zealot
#

No, my current flow is just immediately confirming a payment intent

#

(from a collected payment method)

#

But I need to add a tax to it, and I cannot seem to figure out how to do this without using an invoice, but I'm not sure how to combine a MOTO payment with an invoice like this

obsidian briar
#

I don't know, let me check if this is possible

humble zealot
#

Cool thank you. So my idea flow would be.

  1. Collect payment method
  2. Generate invoice? Add tax
  3. Payment Intent (MOTO) from payment method
  4. Confirm Payment
obsidian briar
#

I don't think you can use MOTO with Invoices, unfortunately.

#

But do you need it if you've already collected the Payment Method?

#

You can use MOTO when setting up the PM. And then pay with it without MOTO.

humble zealot
#

Well I collect the payment method over the phone using the card element

#

just more secure than using the direct API

#

So it all happens in one action

#

Is that still a MOTO payment, I thought I had to flag MOTO on both

obsidian briar
#

No, just when collecting it.

humble zealot
#

I see, this may solve my issue. So I can create an invoice then pay it immedaitely using the payment intent (attaching the moto payment method)

obsidian briar
#

More like:

  1. Collect the PM via SetupIntent with MOTO.
  2. Create an Invoice with the PM.
  3. Finalize and pay the Invoice.
humble zealot
#

Perfect thanks I'll try this

obsidian briar
#

Happy to help!