Xendit is a popular payment gateway based in Indonesia, Philippines, and South East Asia region. Xendit supports various local and international payment methods such as VISA, Mastercard, American Express, JCB, local bank transfer, e-wallets, and many more. You can easily integrate Xendit in WordPress with the Paymattic payment plugin.
Xendit integration is a premium feature of Paymattic.
In this documentation, we will show you how to integrate Xendit into the WordPress website using the Paymattic plugin.
Xendit Settings in Paymattic Pro #
To integrate Xendit with Paymattic, first, navigate to your Paymattic Dashboard. Then, select Payment Gateway and click on the Xendit from the left navigation bar.
Click on the Install and Activate buttons to connect Xendit with Paymattic Pro. This add-on needs to be installed the first time you integrate with Xendit.
![](https://paymattic.com/wp-content/uploads/2024/06/Paymattic-Pro-Xendit-Addon--scaled.webp)
Here, you’ll see two payment modes: Test Mode and Live Mode. For the purpose of this documentation, we’ll be using Test Mode. Note that Live Mode is intended to process real payments.
To integrate to Xendit with Paymattic Pro you need the Secret Key from your Xendit Account.
Additionally, copy the Webhook URL in your clipboard from Xendin Settings in Paymattic for configuring Xendit Webhook.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-settings-with-paymattic-pro.webp)
Get Xendit Credentials #
To collect the secret key from your Xendit account first log in to your Xendit Account. Then, go to Settings from the left sidebar and click on API Key in the Developers section.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-Dashboard-SettingsAPI-key.webp)
Click on the Generate Secret Key button to get a new Secret Key.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-Dashboard-scaled.webp)
A popup will arrive where you have to give a name for your API key and set some permissions for your API. Set the permissions like below:
- Money-in Products – Write
- Money-out Products – Write
- Balance -Read
- Report -Write
- Transaction -Read
- xenPlatform (Accounts)- Write
- xenPlatform (Account holder)- Write
- xenPlatform (Split payment)- Write
- xenShield -Write
![](https://paymattic.com/wp-content/uploads/2024/06/CleanShot-2024-06-13-at-11-02-18-scaled.webp)
After setting all permissions, click the Generate Key button. A pop-up will appear confirming the successful generation of your API key. Click on the Copy button to copy your Xendit API key and save it for future use.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-Dashboard-1-scaled.webp)
Xendit Webhook settings #
You have to add a Webhook URL to integrate Xendit with Paymattic. Go to the Xendit Accounts Settings then click on the Webhooks from the Developers sections.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-Dashboard-webhook-set.webp)
Now, paste the Webhook URL into the Invoice section you have copied from the Xendit Settings in Paymattic. Check the notification boxes and click on the Test and Save button.
![](https://paymattic.com/wp-content/uploads/2024/06/Xendit-Dashboard-2-scaled.webp)
Configure Paymattic with Xendit #
Now, return to your WordPress dashboard and navigate to Paymattic (Pro) > Payment Gateways > Xendit. Then paste the API key here. Don’t forget to click the Save Settings button to ensure the API is saved.
![](https://paymattic.com/wp-content/uploads/2024/06/Paymattic-Dashboard-API-key-paste.webp)
Add Xendit Payment Method in Forms #
Once you’ve completed the setup of Xendit with the Paymattic Pro plugin, the next step is to integrate Xendit Payment transactions with your donation Form seamlessly. Below is a Test Submission process to help you with the Xendit payment gateway.
First, create a new Form or edit a live Form within your WordPress dashboard. Add all the required fields that you need, such as name, email, address, and any other relevant information.
Next, go to the Forms section in Paymattic Pro. Click on the form you want to show to your users. In the form editor, add the Payment Item field. Then, select the Xendit Payment option from the available payment methods.
Lastly, save changes with the Save button and preview by clicking the Eye icon button.
![](https://paymattic.com/wp-content/uploads/2024/06/Form-Builder-Paymattic-for-Xendit-payments.webp)
In the Form Entries Section, you’ll see the Xendit Payment transaction Status.
![](https://paymattic.com/wp-content/uploads/2024/06/Form-Entries-Paymattic-2-scaled.webp)
These are the easy guidelines to integrate the Xendit payment gateway with Paymattic. If you encounter any issues while setting up Xendit, please contact our dedicated support team.