#keith-payment-offsession

1 messages · Page 1 of 1 (latest)

jagged nightBOT
primal pumice
#

Can you share an example payment intent ID here?

#

You're trying to save a payment method for future use during payment?

charred orbit
#

Ye, so I essentially take a MOTO payment payment and want to set that payment method for the customers existing subscription, I was just wondering what to set to do this correctly as I don't see that off_session message in the timeline the same way I do when creating a subscription.

Here's a test payment intent: pi_3NO3clAjtNFaRAYo0hNiQvLd

primal pumice
#

Oh, this is a payment intent from an invoice, you can't manipulate this directly like you're asking

charred orbit
#

Ah okay, I need to use invoices

#

For VAT

#

Is there anyway I can achieve this? I just need to make sure the payment method can be used for future off_session payments

primal pumice
charred orbit
#

That's what I was trying

#

but it doesn't seem to be working

#

I was paying the invoice with the setup_intent->payment_method

primal pumice
#

Can you share exactly what wasnt working? Example erroring requests ?

charred orbit
#

It's all going through fine

#

I just don't see this message

#

E.g that one is a subscription pi_3NO3YrAjtNFaRAYo0VP2DmpJ

jagged nightBOT
primal pumice
#

Right, that payment is for the first invoice of a new subscription, it's meant to do the payment method setup so it can be used for the future invoices of that subscription

charred orbit
#

I see, so I'd essentially want to replicate that. So in my scenario say for example we collected another customer card for that subscription via an invoice. I'd want to set up that payment method for future off_session payments

shrewd inlet
#

As in a one time invoice and then later re-use that payment method?

charred orbit
#

Yes, we sometimes take payments over the phone (MOTO) and may want to update the customers existing subscription with that payment method collected to pay that invoice

#

Does that make sense?

shrewd inlet
#

Once it is set as one of those, it will be used for recurring payments on that customer or subscription

charred orbit
#

Ah okay, I am doing that and everything is fine

#

I was just confused why I wasn't seeing that off_session message on the payment intent

jagged nightBOT
trim pebble
#

keith-payment-offsession