-
Notifications
You must be signed in to change notification settings - Fork 91
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Full address and Name is not showing in the response of getOrderReferenceDetails #55
Comments
Two thoughts
|
@pdbreen, Thanks for the quick reply, Yes, It is already there in my code but still, it is not giving the address1, address2, name etc details. |
Here is the expected response that I want,
|
Are you including the token passed to your logon handler as the address_consent_token in the call to
|
Yes! On the GUI widget it is showing address properly but in the API response, it is not showing all the details. I want to access these address related details. Is there any other way to do this? |
I'd double check to make sure that address_consent_token being passed in is correct and the scope is being set properly. When its not supplied, you get partial shipping detail like you have. https://pay.amazon.com/us/developer/documentation/apireference/201751970 |
Debug your $_POST values and I think you'll find the addressConsentToken is not set/missing. So, you'll need to go back to the amazon integration doc and figure out what step was missed. Anyway, it doesn't sound like there's any issue with this library. |
It looks like you are trying to pass the address consent token into a SetOrderReferenceDetails API call. Instead, make the GetOrderReferenceDetails API call with the same inputs. Otherwise, everything that @pdbreen mentioned above is correct and should work. |
I want full selected address when the user selects any address from the address book.
Following is the response what I got when "getOrderReferenceDetails" is executed.
The text was updated successfully, but these errors were encountered: