Problem/Motivation
Currently no option to export shipping details. We require this so we can filter out what orders require VAT based on shipping country.
Proposed resolution
Add option to payment method that allows for collection of the shipping address. This is passed into the transaction:sale as per the Braintree docs here: https://developer.paypal.com/braintree/docs/reference/request/transactio...
Is this something you would consider merging?
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | 3506691-support-shipping-address.patch | 3.13 KB | chrisscrumping |
Issue fork commerce_braintree-3506691
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
Comments
Comment #2
chrisscrumping commentedCreated a patch for convenience
Comment #3
damienmckennaComment #4
damienmckennaThis needs to be turned into a merge request so the test scan run.
Comment #5
jsacksick commentedAlso, I don't think we need a setting for that. The setting makes it sound that the shipping address will be collected in checkout if the setting is on.
I think if the checkout flow collects the shipping address, it should be passed.
If a shipping address is there, we pass it, I think we can safely skip the setting...
Will work on an MR.
Comment #8
jsacksick commented