#DaanVDH

1 messages · Page 1 of 1 (latest)

terse wraithBOT
latent cargo
#

The payment method parameter is used to provide the ID of an existing Payment Method already saved to your Stripe Account

autumn forge
#

Ah I see, thanks!

latent cargo
#

Happy to help 🙂

#

Wait sorry I meant types, payment_method_types

#

payment_method_options is a whole 'nother thing

autumn forge
#

yeah I found what you mean

#

so like this:

PaymentMethodTypes:        []*string{&o.PaymentType},
latent cargo
#

If you take a look at the code snippet to the right of the doc I linked, you should be able to see this done for the card type. You can just change out 'card' for 'ideal'

autumn forge
#

Ahh yes I see, stripe.String() is basically just a pointer to a string so it should do exactly the same thing. but it does look a little better that way.

latent cargo
#

Yes that should work out for you. Feel free to ask more questions if you run into any more errors

autumn forge
#

I will, thanks