if (window.ApplePaySession) { var merchantIdentifier = 'example.com.store'; var promise = ApplePaySession.canMakePaymentsWithActiveCard(merchantIdentifier); promise.then(function (canMakePayments) { if (canMakePayments) { // Display Apple Pay Buttons here… } else { // Check for the existence of the openPaymentSetup method. if (ApplePaySession.openPaymentSetup) { // Display the Set up Apple Pay Button here… ApplePaySession.openPaymentSetup(merchantIdentifier) .then(function(success) { if (success) { // Open payment setup successful } else { // Open payment setup failed } }) .catch(function(e) { // Open payment setup error handling }); } } }); }

MIIQqgYJKoZIhvcNAQcCoIIQmzCCEJcCAQExCzAJBgUrDgMCGgUAMGsGCSqGSIb3DQEHAaBeBFx7
InRlYW1JZCI6IjNCWlE5RzNQTlIiLCJkb21haW4iOiJhbHRzby5vcmciLCJkYXRlQ3JlYXRlZCI6
IjIwMTctMDMtMDMsMjM6MTQ6MTMiLCJ2ZXJzaW9uIjoxfaCCDbEwggPzMIIC26ADAgECAgEXMA0G
CSqGSIb3DQEBBQUAMGIxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpBcHBsZSBJbmMuMSYwJAYDVQQL
Ex1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEWMBQGA1UEAxMNQXBwbGUgUm9vdCBDQTAe
Fw0wNzA0MTIxNzQzMjhaFw0yMjA0MTIxNzQzMjhaMHkxCzAJBgNVBAYTAlVTMRMwEQYDVQQKEwpB
cHBsZSBJbmMuMSYwJAYDVQQLEx1BcHBsZSBDZXJ0aWZpY2F0aW9uIEF1dGhvcml0eTEtMCsGA1UE
AxMkQXBwbGUgaVBob25lIENlcnRpZmljYXRpb24gQXV0aG9yaXR5MIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAox6-8EfAtJ4QW0akuCG4T4YhcChFYFwcw8gKZGOI-_xp7vhU_OlbtwZO
BC_DazOvREzqS4AJtIf2W7T9ZN2zcuATs_0X2bznqO3CjGHCKvnszqVe1mnrZAuNCI-4oFBGCdwZ
5OWwlG2795mY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