#NEWJOSSY

1 messages · Page 1 of 1 (latest)

sterile saffronBOT
mint bear
#

Hi there!

pine heath
#

Hello kind sir

mint bear
#

I'm not sure I understand your question. Can you try to rephrase, maybe by giving a concrete example of the issue?

pine heath
#

Okay, one moment

#
  1. There is default checkout on upgrading subscription plan. User enters his card details and submits form. Payment is completed and card is attached to the customer.
#
  1. There is functionality that attaches card to the customer, setup_future_usage = "on_session", card is saved only if payment was successfull
#

Both cases attach cards to user. The first one is not intended to attach card to user

mint bear
#

What is "default checkout"?

pine heath
mint bear
#

So this forms attach the payment method to the customer and you want to stop this?

pine heath
#

yep

#

we applied our styling to card elements

mint bear
#

Got it. And your issue is that customer using this form automatically get their payment method attached?

pine heath
#

yep, and I want to disable it

#

disable attachment of the payment method i mean

mint bear
#

Are you using a PaymentIntent or SetupIntent for this form?

#

Or is it for a Subscription?

pine heath
#

Subscription, and I see on the server subscriptionService.CreateAsync(subscriptionOptions);

mint bear
#

Can you share one subscription ID (sub_xxx) created this way?

#

So I can see how/when you attach the payment method?

pine heath
#

I guess this will be fine sub_1MD51AKwhjmH7xPxFVRzw8W9

#

example I mean

mint bear
#

Sorry for the delay, having a look now!

finite token
#

👋 taking over for my colleague. Let me know if there's any follow-up Qs I can answer!