Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/functions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -711,7 +711,7 @@ export const isPlatformPaySupported = async (params?: {
* Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe [SetupIntent](https://stripe.com/docs/api/setup_intents).
* @param clientSecret The client secret of the SetupIntent.
* @param params an object describing the Apple Pay and Google Pay configurations.
* @returns An object with an error field if something went wrong or the flow was cancelled, otherwise an object with both `setupIntent` and `paymentMethod` fields.
* @returns An object with an error field if something went wrong or the flow was cancelled, otherwise an object with a `setupIntent` field.
*/
export const confirmPlatformPaySetupIntent = async (
clientSecret: string,
Expand Down Expand Up @@ -742,7 +742,7 @@ export const confirmPlatformPaySetupIntent = async (
* Launches the relevant native wallet sheet (Apple Pay on iOS, Google Pay on Android) in order to confirm a Stripe [PaymentIntent](https://stripe.com/docs/api/payment_intents).
* @param clientSecret The client secret of the PaymentIntent.
* @param params an object describing the Apple Pay and Google Pay configurations.
* @returns An object with an error field if something went wrong or the flow was cancelled, otherwise an object with both `paymentIntent` and `paymentMethod` fields.
* @returns An object with an error field if something went wrong or the flow was cancelled, otherwise an object with a `paymentIntent` field.
*/
export const confirmPlatformPayPayment = async (
clientSecret: string,
Expand Down
Loading