diff --git a/public/examples/card-payment.html b/public/examples/card-payment.html
index b557aac..f7cf248 100644
--- a/public/examples/card-payment.html
+++ b/public/examples/card-payment.html
@@ -62,14 +62,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
- addressLines: ['123 Main Street', 'Apartment 1'],
- familyName: 'Doe',
givenName: 'John',
- email: 'jondoe@gmail.com',
- country: 'GB',
+ familyName: 'Doe',
+ email: 'john.doe@square.example',
phone: '3214563987',
- region: 'LND',
+ addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
+ state: 'LND',
+ countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
diff --git a/public/examples/charge-card-on-file.html b/public/examples/charge-card-on-file.html
index f9c5b0a..62dd585 100644
--- a/public/examples/charge-card-on-file.html
+++ b/public/examples/charge-card-on-file.html
@@ -62,14 +62,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
- addressLines: ['123 Main Street', 'Apartment 1'],
- familyName: 'Doe',
givenName: 'John',
- email: 'jondoe@gmail.com',
- country: 'GB',
+ familyName: 'Doe',
+ email: 'john.doe@square.example',
phone: '3214563987',
- region: 'LND',
+ addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
+ state: 'LND',
+ countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
diff --git a/public/examples/google-pay.html b/public/examples/google-pay.html
index 5658f4c..c3b6b9c 100644
--- a/public/examples/google-pay.html
+++ b/public/examples/google-pay.html
@@ -55,14 +55,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
- addressLines: ['123 Main Street', 'Apartment 1'],
- familyName: 'Doe',
givenName: 'John',
+ familyName: 'Doe',
email: 'john.doe@square.example',
- country: 'GB',
phone: '3214563987',
- region: 'LND',
+ addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
+ state: 'LND',
+ countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
@@ -130,8 +130,8 @@
try {
const paymentRequest = payments.paymentRequest({
- countryCode: 'US',
- currencyCode: 'USD',
+ countryCode: 'GB',
+ currencyCode: 'GBP',
total: {
amount: '1.00',
label: 'Total',
diff --git a/public/examples/store-card-on-file.html b/public/examples/store-card-on-file.html
index 6367d1c..86d005f 100644
--- a/public/examples/store-card-on-file.html
+++ b/public/examples/store-card-on-file.html
@@ -75,14 +75,14 @@
async function verifyBuyer(payments, token) {
const verificationDetails = {
billingContact: {
- addressLines: ['123 Main Street', 'Apartment 1'],
- familyName: 'Doe',
givenName: 'John',
- email: 'jondoe@gmail.com',
- country: 'GB',
+ familyName: 'Doe',
+ email: 'john.doe@square.example',
phone: '3214563987',
- region: 'LND',
+ addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
+ state: 'LND',
+ countryCode: 'GB',
},
intent: 'STORE',
};