stripe-react-native icon indicating copy to clipboard operation
stripe-react-native copied to clipboard

Confirm payment server-side with Payment Sheet (NoWebhookPaymentScreen example)

Open rsanchez opened this issue 2 years ago • 1 comments

Is your feature request related to a problem? Please describe. My app cannot confirm payment client side because we need to confirm & reserve inventory in our back-end immediately prior to taking payment. The typical asynchronous, webhook-based flow does not work for this scenario, since a user can complete a purchase without us having an opportunity to confirm inventory.

Describe the solution you'd like I would like to be able to confirm payment server-side while using Payment Sheet. According to documentation, I can only confirm payment client side when using the payment sheet. Essentially, I'd like the NoWebhookPaymentScreen.tsx example, but using Payment Sheet instead of Card Element.

Describe alternatives you've considered Just using Card Element and the NoWebhookPaymentScreen example, but then we'd lose out on some of the great features of the sheet (save card for later, Apple pay integration, etc.).

Additional context Perhaps this is already possible but not documented?

rsanchez avatar Oct 14 '21 21:10 rsanchez

I need this document too. We can't just use our front-end to handle this payment sheet. Is there any update on it?

kutaisan avatar Jan 20 '22 22:01 kutaisan

Added in https://github.com/stripe/stripe-react-native/pull/1424

charliecruzan-stripe avatar Jul 13 '23 17:07 charliecruzan-stripe