#Ian-payments

1 messages · Page 1 of 1 (latest)

opal osprey
#

@candid geode hi! I think any PaymentIntent created by a subscription's invoice has that field set already, since it would be implied that you are going to be charging the card again.

#

just tested it and that is the case

candid geode
#

ok cool

#

thanks!

#

i assume the behavior is different when creating an invoice?

opal osprey
#

that one I'm less sure about, would have to test as well

#

if it's not set though you can always update the PaymentIntent with it I think

candid geode
#

yeah

#

makes sense

#

one more quick question while i have you in this thread. im a little unclear on the difference between a source and a payment method resource. is there any documentation that explains what the use cases for a source vs a payment method are? thanks so much

opal osprey
#

yeah I think you have to manually set it when using an invoice

#

a Source (src_xxx ) is a legacy object, it's an older abstraction that used to represent payment methods, but the current object/APIs to use are PaymentMethods pm_xxx, so you should mostly ignore anything to do with Sources as they're legacy

candid geode
#

ok that is clarifying! that question came up earlier.

#

with our team

#

By the way what tool are you using there?

#

I’ve never seen that before

opal osprey
#

but basically just using our Node library in a repl