#Skream

1 messages ยท Page 1 of 1 (latest)

rapid whaleBOT
gloomy grove
#

Hi there ๐Ÿ‘‹ apologies for the delay, just to clarify, you're asking how to control what payment method types are offered to your customers when creating a Payment Intent?

If so, you can control that via the payment_method_types parameter when creating the Payment Intent:
https://stripe.com/docs/api/payment_intents/create#create_payment_intent-payment_method_types

dusty spear
#

That looks great. Is there a way to add an extra amount if a customer picks card? I see the payment_method_options but nothing in there stands out to me.

gloomy grove
#

No, there is not to do that. If you wanted a solution like that, you would need to determine what type of payment method your customer wants to use before creating the Payment Intent, and adjust the amount accordingly in the creation request.

dusty spear
#

Got it, thanks very much.

gloomy grove
#

Happy to help!