#DaanVDH
1 messages · Page 1 of 1 (latest)
The payment method parameter is used to provide the ID of an existing Payment Method already saved to your Stripe Account
What you want to specify are the payment_method_options here: https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types
Ah I see, thanks!
Happy to help 🙂
Wait sorry I meant types, payment_method_types
payment_method_options is a whole 'nother thing
yeah I found what you mean
so like this:
PaymentMethodTypes: []*string{&o.PaymentType},
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'
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.
Yes that should work out for you. Feel free to ask more questions if you run into any more errors
I will, thanks