#GianFranco-quantity-set

1 messages · Page 1 of 1 (latest)

lean zinc
#

Not on the Payment Intent. You would need to use Invoices to specify a quantity

terse spoke
#

I see

#

So is there any way to set the quantity?

lean zinc
#

Not on payment intents.

#

Only on invoices

terse spoke
#

As you can see, I can see when I create checkout session, I can set quantity.
And I'm not sure how can I redirect that checkout page using that returning ID in mobile app(React Native)

drowsy raft
#

👋 stepping in here for two-shoes as they need to step away

#

You can't use Checkout in a React Native app

#

You would have to use a webview if you wanted to do so

terse spoke
#

then in React Native app, how can I adjust quantity of product when I buy?

#

@drowsy raft

drowsy raft
#

Several people on the server asking for help, be patient please!

drowsy raft
#

Mostly you would handle this yourself

#

And just update the amount of the PaymentIntent

#

And display quantity via your UI and save it in your Database

terse spoke
#

got it

#

thank you!

drowsy raft
#

Sure!

terse spoke
#

one more question

#

PaymentIntent supports "PriceID"?

#

@drowsy raft

drowsy raft
#

No

#

You don't use Products/Prices when creating PaymentIntents directly.

#

You only use those with Checkout Sessions or Invoices/Subsriptions

terse spoke
#

So for the React Native app, I must use Invoices/Subscriptions(you mentioned, can't use Checkout Session on mobile app)

#

am I right?