#panpetar
1 messages · Page 1 of 1 (latest)
you can control it in https://dashboard.stripe.com/settings/payment_methods under the Link option
Thank you sir.
I created custom configuration and have its ID. As I see, I should pass it like this
payment_method_configuration: "config_id",
but since i am using following code, I can't find in the documentation where should I pass line from above
customer: customerId,
items: [
{
price,
quantity,
},
],
payment_behavior: 'default_incomplete',
payment_settings: { save_default_payment_method: 'on_subscription', payment_method_types: ['card'] },
expand: ['latest_invoice.payment_intent'],
}),```
you don't need to use that feature really, the configuration object
you can just pick the "default configuration" and edit that if you want
that feature(payment_method_configuration) doesn't work for Subscriptions today so you can't pass it there, so I think you can edit the default configuration to remove Link.
if that doesn't work, then also go to https://dashboard.stripe.com/settings/billing/invoice and remove Link in the "Payment methods" section there(since that applies to subscriptions)
Thank you sir. It works. You saved me from big trouble