#panpetar

1 messages · Page 1 of 1 (latest)

fading pineBOT
hollow garden
fading pineBOT
dusky perch
#

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'],
    }),```
hollow garden
#

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.

dusky perch
#

Thank you sir. It works. You saved me from big trouble

hollow garden