In WordPress admin, go to SmartPay > Integrations. You will find available list of extensions those can be integrated with WPSmartPay. Please enable and activate the toyyibPay integration.
Next, In your WordPress admin, go to Smartpay > Settings. Click on Payment Gateways tab. Under the General tab, select toyyibPay checkbox in payment gateways settings and click on Save Change button to save the settings.
Then you will find toyyibPay Tab. Click the toyyibPay tab under Payment Gateways tab settings. If you have enabled test mode, then you need to put the Test Secret Key and Test Category Code. If you are not in test mode, then you need to put the Live Secret Key and Live Category code on Live fields.
N.B: Test mode can be found at SmartPay > Settings > Payment Gateways > General
Next, Login into your toyyibPay dashboard. Go to Settings section and copy the Secret Key, put this key into WPSmartPay toyyibPay gateway settings.
Go to toyyibPay dashboard > Category, copy one Category Code which you would like to prefer (if you do not create any category, please the category first) paste it to WPSmartPay toyyibPay gateway settings.
N.B: toyyibPay Test account is available at https://dev.toyyibpay.com/dashboard.