# Pay Now ```js if(braintree.axo.lookupCustomerByEmail(email)) { braintree.axo.triggerAuthenticationFlow({ ...axoConfiguration, onShippingAddressChange => {}, onShippingOptionChange => {}, }) .then({ email, address, shipping, nonce, name} => processPayment(email, address, shipping, nonce, name)) .then(() => window.location.href = '/thankyou') .catch(err => showErr(err)) } ``` # Continue ```js if(braintree.axo.lookupCustomerByEmail(email)) { braintree.axo.triggerAuthenticationFlow({ ...axoConfiguration }) .then({ email, address, shipping, nonce, name} => updateUI(email, address, shipping, nonce, name)) .catch(err => showErr(err)) } ```