javascript email address from credit card
pipous3k
Contributor
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Posted on
Jun-23-2019
07:15 AM
Hello,
I've been integrating javsacript smart buttons and I have a question: How can I find out the user's email address he specified prior to purchase?
onApprove: function (data, actions) {
// code here
return actions.order.capture().then(function (data) {
var email = data.payer.email_address // I'm able to get the address when user is paying by PayPal but not when it's via credit card
}
}
How to get the email when user is paying by credit card?
0 REPLIES 0
Haven't Found your Answer?
It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.
Related Content
- Buy Now button in the sandbox - no customer confirmation email in Sandbox Environment
- User is asked for shipping address when creating a credit card order in REST APIs
- Enable Pay later without credit in SDKs
- Error: "Unable to change shipping method. Please try again." in PayPal popup in REST APIs
- Hide shipping address in Debit/Credit card form in PayPal Payments Standard