You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Most gateways do not have a mandatory delivery address, but Sage Pay does when registering a transaction. For consistency, this driver should protect the application from that inconsistency.
I propose that a missing delivery address is automatically populated from the billing address. To reduce BC breaks, this should probably be an option that can be set at the gateway level, defaulting to off.
The text was updated successfully, but these errors were encountered:
Rather than setting the delivery address the same as the billing address if it is empty, a single flag to explicitly copy it across should be used - but the control entirely in the hands of the merchant site. Maybe something like shippingAsBilling.
judgej
added a commit
to academe/omnipay-sagepay
that referenced
this issue
Sep 30, 2018
…pport.
For thephpleague#114 the `billingForShipping` flag copies the billing address
to the delivery address, so only the billing address needs to
be supplied.
Most gateways do not have a mandatory delivery address, but Sage Pay does when registering a transaction. For consistency, this driver should protect the application from that inconsistency.
I propose that a missing delivery address is automatically populated from the billing address. To reduce BC breaks, this should probably be an option that can be set at the gateway level, defaulting to off.
The text was updated successfully, but these errors were encountered: