Skip to content

Commit

Permalink
Added all events
Browse files Browse the repository at this point in the history
  • Loading branch information
Jaydev Waghela committed May 22, 2024
1 parent fccc3ad commit 2e3f054
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion checkout.js
Original file line number Diff line number Diff line change
Expand Up @@ -91,7 +91,13 @@ function initStripe({ stripe: stripeObj = {} }) {
eventName: "stripe.change",
eventData: event,
});
}
});
paymentElement.on("click", function (event) {
reactNativePostMessage({
eventName: "stripe.click",
eventData: event,
});
});
} catch (error) {
reactNativePostMessage({
eventName: "stripe.configuration.error",
Expand Down

0 comments on commit 2e3f054

Please sign in to comment.