Last active
June 15, 2020 17:22
-
-
Save Lkubok/9f5a15453d765f13964710c5846bf654 to your computer and use it in GitHub Desktop.
paypal4
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
onAuthorize: function(data, actions) | |
{ | |
return actions.payment.execute().then(function() | |
{ | |
// Show a confirmation message to the buyer | |
window.alert('Thank you for your purchase!'); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment