#shahriyar_api

1 messages ¡ Page 1 of 1 (latest)

zinc gullBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.

⏱️ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1263485874226860055

📝 Have more to share? Add more details, code, screenshots, videos, etc. below.

granite owlBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

ionic patio
#

Hello

#

A Subscription will only charge a PaymentMethod that is set as the default for the Subscription or for the Customer

#

If a PaymentMethod is just attached to a Customer but not set as the default in either place then no, the Subscription will not attempt to charge that PaymentMethod

shy heart
#

So when creating subscription user selects a card, if that card is not present when period ends, the subscription ends

#

What if the user selected a card thats not deleted but is set to default for that specific subscription

ionic patio
#

The Subscription would enter your retry schedule and then cancel if that is what your settings indicate after the retries expire

ionic patio
#

What do you actually do when the "user selected a card"

#

Do you update the default on the Subscription?

shy heart
#

I mean the user added 2 card in his account, none of then is set default

ionic patio
#

Then none will be charged

shy heart
#

So only first time the subscription will be charge the card

#

next month if there is no default then no charge

ionic patio
#

Yes

shy heart
# ionic patio Yes

Then how do I manage 2 different subscription for same customer with 2 diffrent payment method

Card 1 -> Sub 1
Card 2 -> Sub 2

I want Sub 1 to charge only card 1 and sub 2 to charge card 2

ionic patio
#

Instead of setting at the Customer level

shy heart
#

I think I got this now