Skip to content
This repository has been archived by the owner on Apr 14, 2023. It is now read-only.

Handle changed address from Apple Pay sheet #106

Open
isaacfreeman opened this issue Jul 11, 2017 · 1 comment
Open

Handle changed address from Apple Pay sheet #106

isaacfreeman opened this issue Jul 11, 2017 · 1 comment

Comments

@isaacfreeman
Copy link
Contributor

It's possible for customers to change the delivery address from the Apple Pay sheet. We should either lock this down to prevent changing the address, or respond to the change by updating the shipment.

The latter can be done in app/assets/javascripts/solidus_paypal_braintree/apple_pay_button.js by giving the session an onshippingcontactselected handler

  var session = new ApplePaySession(SolidusPaypalBraintree.APPLE_PAY_API_VERSION, paymentRequest);

  session.onshippingcontactselected = function (event) {
    // TODO: Update the order
  };
@stale
Copy link

stale bot commented Nov 11, 2022

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the wontfix label Nov 11, 2022
@gsmendoza gsmendoza removed the wontfix label Nov 11, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants