Last active
June 23, 2022 14:29
-
-
Save callstack-bot/1140624007ac9a837b3dee9edee80280 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const handlePayPress = async () => { | |
// step 1 | |
// step 2 | |
// step 3 | |
if (error) { | |
// Handle error | |
} else if (paymentIntent) { | |
// Handle success | |
} | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment