react-square-web-payments-sdk icon indicating copy to clipboard operation
react-square-web-payments-sdk copied to clipboard

AUD currencyCode in createVerificationDetails... only asks for US 5 digit ZIP

Open msimonc opened this issue 2 years ago • 2 comments

Describe the bug

AUD currencyCode in createVerificationDetails obj still asks for US 5 digit ZIP

Your Example Website or App

https://github.com/weareseeed/react-square-web-payments-sdk

Steps to Reproduce the Bug or Issue

createVerificationDetails={() => ({
  /* collected from the buyer */
  currencyCode: 'AUD',
  billingContact: {
      addressLines: ['123 Main Street', 'Apartment 1'],
      familyName: 'Doe',
      givenName: 'John',
      countryCode: 'AU',
      city: 'Sydney',
  },
  // You can avoid amount and currency if the intent is `STORE`
  amount: '1.00',
  // currencyCode: 'GBP',
  intent: 'CHARGE',
  // intent: 'STORE',

})}

Expected behavior

"Enter the ZIP code"

Screenshots or Videos

No response

Platform

Chrome

Additional context

none

msimonc avatar Jun 22 '22 22:06 msimonc