Skip to content
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

InheritShippingAddress does not seem to default to true #86

Open
chrischen opened this issue Apr 15, 2020 · 0 comments
Open

InheritShippingAddress does not seem to default to true #86

chrischen opened this issue Apr 15, 2020 · 0 comments

Comments

@chrischen
Copy link

chrischen commented Apr 15, 2020

Apparently on a pay call InheritShippingAddress (inherit_shipping_address) gets sent as false by default (or the docs are wrong).
https://developer.amazon.com/docs/amazon-pay-api/authorizeonbillingagreement.html
The docs state the param is true by default, and the example call in this README doesn't even mention it, so unless you somehow magically know you're by default being excluded from Seller Protection promises.

Amazon hit us with a chargeback and excluded the order from Seller Protection because this library does not document that param, nor does it adhere to the default "true" value as stated in the API docs. Even though we use the Amazon address book address, the address doesn't seem to get attached to the payment unless you explicitly pass inherit_shipping_address as true in the pay call.

This same bug was reported and fixed in the C-Sharp SDK: amzn/amazon-pay-sdk-csharp#15

So it seems sensible to have this fixed so that it is the default so it's consistent with documentation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant