Retrieve merchant data by creating order

This commit is contained in:
Alex P. 2024-11-06 09:15:53 +02:00
parent 1659d30ded
commit a31ae1da77
No known key found for this signature in database
GPG key ID: 54487A734A204D71
4 changed files with 221 additions and 5 deletions

View file

@ -100,6 +100,8 @@ const WelcomeForm = ( { setCompleted } ) => {
throw new Error( 'Request failed.' );
}
console.log(`Merchant ID: ${res.merchantId}, email: ${res.email}`);
setCompleted( true );
} catch ( exc ) {
console.error( exc );