Follow the instructions here for Smart checkout process.
Vivawallet steps
- Login in Vivawallet.
- Select your business account.
- Go to Settings > API Access and find your Merchant ID and API Key.
- Click on Sales > Online payments > Websites/Apps.
- Click on the Add Website/App button in the top right-hand corner.
- In success url add index.php?wc-api=wc_vivawallet&vivawallet=success
- In Failure URL add index.php?wc-api=wc_vivawallet&vivawallet=fail
WooCommerce steps
- Install and activate the VivaWallet WooCommerce Gateway plugin.
- Go to WooCommerce > Settings and click the Payments tab.
- Click Manage right next to Viva.
- Insert your Merchant ID and API Key and Source Code.
Now you are ready to create the hook inside viva.
Vivawallet steps
- Click Settings > API Access > Webhooks
- Click on the Create Webhook link – the New Webhook dialog box is displayed
- Insert https://www.yourdomain.com/index.php?wc-api=wc_vivawallet&vivawallet=webhook
- Select the Active checkbox to activate notifications
- Choose Transaction Payment Created (Νέα πληρωμή) from the Event Type dropdown.