New to the community? Welcome! Please read our Community Rules and Guidelines
Hello, in my code for onApprove(), I call actions.order.get(). I get back a json object containing some information I need (like email). I run this piece of code:
this object and this is what I get
Now I want to access the value attribute which contains the payer's information.
console.log(actions.order.get().error). I get 'undefined' back.
I really need the information in value attribute, but somehow the only attributes I seem like I can access are: 'resolved', 'rejected', 'errorHandled', 'handlers'.
To confirm this,
Is paypal restricting me on what information I can access? I it seems like I have access to some attributes and not others (the more important ones).
©1999-2019 PayPal, Inc. All rights reserved.