#RaulPrior

1 messages · Page 1 of 1 (latest)

oak sparrowBOT
tawny sky
#

Are you developing a native ios app, android app, or using a framework like React Native?

solemn mauve
#

I use native kotlin code for android

tawny sky
#

Gotcha

#

That guide is for a one-time payment

#

you'd pass the subscription's payment intent client secret to the payment sheet

solemn mauve
#

yes I already read that and I'm able to show a payment launch in my app but I dont fully undestood how to link the subscription in my payment launch

solemn mauve
tawny sky
#

I don't understand the question

#

Can you re-phrase

solemn mauve
#

This is a stripe payment launcher building in my app

#

I want to use somethis like this to pay subscription, is that possible?

#

For this purcharse I use a clientSecret

#

Subscriptions have something like clientSecret to link the purcharse ?

primal sundial
solemn mauve
#

Okay so, if I understood correctly the flow is

#
  1. create my payment intent server side
#
  1. get payment data from my user in mi android app
#
  1. create a subscription (server side) and include payment data recovered from my android app
#

is that correctly ?

primal sundial
#

You would tokenize the payment method data on the Stripe side first, then use the token to create a Subscription, but yes

solemn mauve
#

Tokenization happends right after I get users card information in mi app right?

primal sundial
#

No, sorry. I was using "tokenize" as a general term. If you follow the guide I sent you to accept payment details, you will create a Payment Method object on your Stripe account that you can then use to create payments instead of handling raw card details

solemn mauve
#

Ahhh okay okay I get it, well I will re read the guide to fully understand payment method object