#sourav-subscription-update

1 messages · Page 1 of 1 (latest)

remote graniteBOT
worthy gazelle
#

Hi 👋

Can you clarify what you are doing here? How are you updating the Subscription and what API requests are you making?

remote graniteBOT
lost bough
#

sourav-subscription-update

dense pelican
#

I am creating through subscription create api.default incomplete and charge automatically.

Passing client secret to react native app.
there are three option card, google pay and apple Pay(not set yet).

user pay through card element or google pay .

My server get the response from webhook and I update this into database.

I have two plan yearly and monthly. one user only can have one active plan. For that case I added a check if any subscription exist will not process the payment. is anything there for a customer only can have one active subscription?

next I want to update the plan if user want.

But in upgrade api we just want to pass the subscription I'd.how can I collect payment for that ?

this is the thing I have already done now.

lost bough
#

is anything there for a customer only can have one active subscription?
no, you have to build this logic/validation on your end.