```
const result = await card.tokenize();
if (result.status === 'OK') {
const verificationDetails = {
intent: 'STORE',
billingContact: {
givenName: 'Taro',
familyName: 'Yamada',
email: '[email protected]',
country: 'JP'
}
};
try {
const verificationResults = await payments.verifyBuyer(
result.token,
verificationDetails,
{ locationId: 'LASVFJ871BQ34' }
);
```
an exception occurs when calling payments.verifyBuyer
```
//検証情報
const verificationDetails = {
intent: 'STORE',
billingContact: {
givenName: 'Taro',
familyName: 'Yamada',
email: '[email protected]',
phone: '+[Redacted]11',
countryCode: 'JP'
},
customerInitiated: false,
sellerKeyedIn: false
};
try {
const result = await card.tokenize(verificationDetails);
if (result.status === 'OK') {
try {
//検証トークン取得
const verificationResults = await payments.verifyBuyer(
result.token,
verificationDetails
);
```
an exception occurs when calling card.tokenize
Hi @SPOTEC, thank you for reaching out.
For this inquiry, we would be appreciated if you could access to Developer Forums, which would be more appropriate for this type of question than Seller Community.
Thank you for your cooperations.
Square Community