Skip to content

Commit

Permalink
fix: verifyBuyer contact information (#212)
Browse files Browse the repository at this point in the history
fixes #211
  • Loading branch information
maxbeatty authored Sep 28, 2023
1 parent 80bf171 commit a683c7e
Show file tree
Hide file tree
Showing 4 changed files with 21 additions and 21 deletions.
10 changes: 5 additions & 5 deletions public/examples/card-payment.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
addressLines: ['123 Main Street', 'Apartment 1'],
familyName: 'Doe',
givenName: 'John',
email: '[email protected]',
country: 'GB',
familyName: 'Doe',
email: '[email protected]',
phone: '3214563987',
region: 'LND',
addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
state: 'LND',
countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
Expand Down
10 changes: 5 additions & 5 deletions public/examples/charge-card-on-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
addressLines: ['123 Main Street', 'Apartment 1'],
familyName: 'Doe',
givenName: 'John',
email: '[email protected]',
country: 'GB',
familyName: 'Doe',
email: '[email protected]',
phone: '3214563987',
region: 'LND',
addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
state: 'LND',
countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
Expand Down
12 changes: 6 additions & 6 deletions public/examples/google-pay.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,14 +55,14 @@
const verificationDetails = {
amount: '1.00',
billingContact: {
addressLines: ['123 Main Street', 'Apartment 1'],
familyName: 'Doe',
givenName: 'John',
familyName: 'Doe',
email: '[email protected]',
country: 'GB',
phone: '3214563987',
region: 'LND',
addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
state: 'LND',
countryCode: 'GB',
},
currencyCode: 'GBP',
intent: 'CHARGE',
Expand Down Expand Up @@ -130,8 +130,8 @@

try {
const paymentRequest = payments.paymentRequest({
countryCode: 'US',
currencyCode: 'USD',
countryCode: 'GB',
currencyCode: 'GBP',
total: {
amount: '1.00',
label: 'Total',
Expand Down
10 changes: 5 additions & 5 deletions public/examples/store-card-on-file.html
Original file line number Diff line number Diff line change
Expand Up @@ -75,14 +75,14 @@
async function verifyBuyer(payments, token) {
const verificationDetails = {
billingContact: {
addressLines: ['123 Main Street', 'Apartment 1'],
familyName: 'Doe',
givenName: 'John',
email: '[email protected]',
country: 'GB',
familyName: 'Doe',
email: '[email protected]',
phone: '3214563987',
region: 'LND',
addressLines: ['123 Main Street', 'Apartment 1'],
city: 'London',
state: 'LND',
countryCode: 'GB',
},
intent: 'STORE',
};
Expand Down

0 comments on commit a683c7e

Please sign in to comment.