VivaWallet

There are four main items that you have to get from your Viva account to configure it in Pakk: Source Code, Client ID, Client Secret and Webhook Key:

Viva Wallet supports two types of account: sandbox/demo account and production/live account. You create the accounts separately. When testing the integration, you need to create a sandbox/demo Viva Wallet account and enter its credentials in Pakk. When going live, you should go to the production/live Viva Wallet account and copy the respective live credentials.

Creating a payment source In your Viva Wallet select either demo or live. Go to "Sales" / "Online payments" / "Websites/Apps" and click "Add Website/App" . In the pop-up that opens, enter the source name, e.g. 'Pakk payments'. As Protocol choose HTTPS. In Domain name enter https://pakk.io????? and in Integration method leave Redirection/Native Checkout v2. Next, in both Success URL and Failure URL type payment-vivawallet-return.php In the For a perfect, one-shot approval... section below select all field and click Create.

After you add the source, copy the Code value (a four digit number) as this is the Source Code that you need to enter in Pakk.

Next, Go to "Settings" / "API Access", scroll down to the Smart Checkout Credentials section below and click Generate a pair of credentials. Copy Client ID and API Client secret and enter them in Pakk.

Webhooks The signing key for your webhook endpoints used by Viva to notify the Pakk server of incoming payments. This key is not directly provided by Viva and needs to be generated using the API credentials. The process is somewhat technical, so please ask us for help.

Select Enable and once you've finished testing, you can go Live.

Last updated