Skip to content

Instantly share code, notes, and snippets.

@kypflug
Last active Feb 14, 2017
Embed
What would you like to do?
payment.addEventListener("shippingaddresschange", function (changeEvent) {
// Process shipping address change
});
payment.addEventListener("shippingoptionchange", function (changeEvent) {
// Process shipping option change (e.g. "one day shipping")
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment