mirror of
https://github.com/woocommerce/woocommerce-paypal-payments.git
synced 2025-09-01 07:02:48 +08:00
Retrieve merchant data by creating order
This commit is contained in:
parent
1659d30ded
commit
a31ae1da77
4 changed files with 221 additions and 5 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue