#JoaoVitor - save payment methods

1 messages · Page 1 of 1 (latest)

stable meteorBOT
small cedar
#

hey there can you say more about what you're trying to do and what is not working?

dull knoll
small cedar
#

I can't really read any of that

#

Whats the code you're trying to run?

dull knoll
#

I'm creating a card-type payment and linking it to a customerId

#

ChargeCreate

#

using sdk in .NET

small cedar
#

Charge is a legacy API we don't recommend anymore, you should look at using payment intents if developing something new

#

I suggest reviewing that and giving it a try

dull knoll
#

do you have an example doing with payment intent for card? where do I send the card data to process?

small cedar
#

That guide above shows setting up card detail collection via Elements, yes

dull knoll
#

I need something like the Create token

#

another question how can i get StripeAccount consuming stripe api

small cedar
#

Can you explain a bit more about what you need for both of those?

small cedar
#

The payment element doesnt currently support that, but you can use the card element and createPaymentMethod to build an integration approximating that

#

JoaoVitor - save payment methods

dull knoll
#

link a payment to a customer after the payment has already been made?

small cedar
#

No, payment methods are one-time-use only if not attached to a customer

#

if you want to attach a PM to a customer for re-use, you must do so prior to using it for a payment

dull knoll
#

can I link a card to a customer?

small cedar
#

This seems to be the same questions we started with. Are you trying payment methods as I suggested?