Created
June 15, 2020 17:21
-
-
Save Lkubok/3ad9034881cb8fa95f3ca23a95c1ed71 to your computer and use it in GitHub Desktop.
paypal2
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
payment: function(data, actions) { | |
return actions.payment.create({ | |
transactions: [{ | |
amount: { | |
total: '0.01', | |
currency: 'USD' | |
} | |
}] | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment