Setup of PayHalal gateway with WooCommerce is pretty simple and straightforward with Smartpay PayHalal for Woo plugin. Make sure you have installed the plugin and activated it.
In your WP admin, go to WooCommerce > Settings > Payments. Turn on the PayHalal from the payment gateway list. After turning on the PayHalal, click on Save Changes to update the gateways.
Next, click on Manage as shown above picture. You will get the configuration page of PayHalal payment gateway.
While you are not on the live means you are testing the payment, then check the tick mark on the test mode. This will allow the to test whether your transaction completely works or not.
Follow the below image and input the credentials and configuration to function properly with WooCommerce.
Go to PayHalal account dashboard > Developer Tools. Then, you will need to create a Create New API if you do not create it yet by clicking on Create New API. On the below picture of the creation of API, fill up the fields to create your new API.
For the Application Name, you can give any name of your API, this could be your business name. Website / URL input your website URL. For the Success URL, set the `https://yoursite/?wc-api=smartpay_payhalal ` by replacing ‘yoursite.com’ with your site name. You will get this URL from the WooCommerce PayHalal configuration settings.L.
If you have already created, you are good to go ahead. Click the Edit link from the Developer Tools and setup, as we have already done this. Follow the below image to complete your configuration that will be needed to work with PayHalal for the EDD plugin.
Done. All the settings are configured now. You can now get the payments from the PayHalal