PickBazar Documentation
WelcomeHow It Works
Prerequisite
Installation
Available Scripts & Command
How Can I use this app
Demo Deploy
Features
Settings
Payment
IntroductionStripeStripe ElementPaypalRazorpayMolliePaystackSSLCOMMERZXenditXenditXendit Webhook settingsHow to create & setup Xendit information properly?Special Notes for Xendit.IyzicoPaymongobKashFlutterwaveIntegration of New Payment GatewayMulti payment gateway
Flash Sale
Shop Transfer
Social LoginOTP (Mobile Number Verification)WalletEmail ConfigurationEmail VerificationSubscribeTerms and conditions
SEO and Analytics
Refund
Real-time Notification
Multilingual & Translation
Third-party Integrations
Deployment
Back-End Integration
Customizations
Update & Upgrade Guide
FAQ PageContactQuestion & AnswerBreaking ChangesSupportChange Log

Xendit

Xendit is a digital payments infrastructure provider that operates in Southeast Asia, particularly in Indonesia, the Philippines, and Singapore. Xendit offers a variety of payment services, including online and offline payments, virtual accounts, and digital wallets. It also supports multiple payment methods, such as credit and debit cards, bank transfers, and e-wallets.

Xendit integrate inside PickBazar.

Please follow & complete this steps for Xendit integration for your e-commerce system.

  • First go to settings from PickBazar admin dashboard. Inside settings you will find Currency option.Select your Currency. If you want to Test Indonesian Account,then Select Indonesian rupiah(IDR).

indonesian-currency

Or If you want to Test philippine Account, then Select Philippine peso(PHP).

phillippine-currency

WARNING: Any order below the minimum amount of 10000 IDR or PHP will not be processed, please make sure to meet the minimum order requirement before placing an order.

For more information: Xendit currency is available.

  • Inside api there is .env file. You have to copy & paste this line of codes inside the .env file. We will discuss later about how to create those API keys in Xendit official website.
API_KEY=[YOUR_XENDIT_SECRET_KEY]
XENDIT_WEBHOOK_URL=[YOUR_XENDIT_WEBHOOK_URL]
XENDIT_CALLBACK_TOKEN=[YOUR_XENDIT_CALLBACK_VERIFICATION_TOKEN]
SHOP_URL=[YOUR_SHOP_URL] This parameter is must have in .env file when Xendit is using. Otherwise the payment redirection will be broken.

Xendit Webhook settings

  • To activate Xendit go to settings from PickBazar admin dashboard. Inside settings you will find configure payment option. (e.g. Xendit Webhook URL is coming from local development. This static link will dynamically generated in live environment)

admin-pickbazar-settings xendit-admin-webhook

  • Copy the webhook url & registered in Xendit Dashboard.

xendit-webhook-save

  • If you want to use webhook during development on localhost, you must use a tools like ngrok to have the webhooks delivered to your local machine.

ngrok

  • Copy the forwarding https link & paste on Test Webhook URL, after paste forwarding https link, add line- /webhooks/xendit.

xendit-localhost-webhooks

How to create & setup Xendit information properly?

  • Go to the Xendit official website & login If you aren't a registered user, Complete the Xendit registration first.
  • After logged in into Xendit dashboard, Click on Settings, after that click of API keys.

xendit-dashboard

  • After That Click on Generate secret key for new Xendit Secret Key.

xendit-generate-secret

  • Then API key name, give the permissions and click on Generate key button.
  • Next, for Callback verification token, Go to settings and click on Callbacks.

xendit-callback

Make sure you enable auto-retry for failed callback, by enabling this, you will have better experience in handling your callback response.

Next, is to obtain your callback verification token. Click View Callback Verification Token, Enter your password, Copy & paste those inside PickBazar API .env file like mentioned above.

calback-token

Special Notes for Xendit.

If we have used any third party system/plugin/packages, then we have always encouraged our respected customers to follow the official documentation for detailed & in-depth knowledge.