# Bayarcash Help > Help articles for Bayarcash (bayarcash.com), a Malaysian payment gateway for FPX, DuitNow, cards, e-wallets and Direct Debit. Key facts: - Bayarcash console: https://console.bayar.cash - merchants sign in there. Sandbox: https://console.bayarcash-sandbox.com. - API reference: https://api-reference.bayarcash.com. Service status: https://status.bayarcash.com. - Bayarcash is a product of Bayarcash Sdn. Bhd. 202201040365 (1486062-H), Malaysia. - Malay translations, where they exist, are at /ms//. - Simplified Chinese (Malaysia) translations, where they exist, are at /zh//. - Official channels: support email support@bayarcash.com, WhatsApp support https://whatsapp.bayarcash.com, Telegram (latest updates) https://telegram.bayarcash.com, Facebook https://facebook.com/mybayarcash, GitHub (plugins and integrations) https://github.com/bayarcash, YouTube https://www.youtube.com/@BayarcashMY. --- # What is Bayarcash, and how is it different from BCL? > Bayarcash is the payment gateway that collects your money. BCL is a separate selling platform that uses Bayarcash behind it. > > Source: https://docs.bayarcash.com/what-is-bayarcash/ Bayarcash is a payment gateway. It collects payments from your customers and pays the money out to your bank account. BCL (formerly Bayarcash Link) is a separate product from the same company, where you build payment pages and forms. BCL uses Bayarcash to collect its payments. ## What each one does Pick the one that matches what you want to do: | | Bayarcash | BCL | |---|---|---| | What it is | A payment gateway | A platform for selling online | | Use it to | Accept payments on your own website or shop, through a plugin or the API | Build payment forms, payment links and landing pages without a website | | Where you sign in | [console.bayar.cash](https://console.bayar.cash/login) | bcl.my | | Payment methods | Set on your Bayarcash account | Uses the payment methods on your Bayarcash account | | Help | This help centre | [docs.bcl.my](https://docs.bcl.my) | ## What you can do with Bayarcash Bayarcash gives you these tools. ### Take payments - [Payment methods](https://docs.bayarcash.com/payment-channels/): FPX, DuitNow, cards, e-wallets and buy now pay later. - [Customers from abroad](https://docs.bayarcash.com/cross-border-channels/): QRIS, NETS, PromptPay, Alipay and WeChat Pay. - [Direct Debit](https://docs.bayarcash.com/e-mandates/): Weekly or monthly payments after an e‑Mandate. ### Manage your money - [Portals](https://docs.bayarcash.com/portals/): Keep each shop, form or project separate. - [Payouts](https://docs.bayarcash.com/payout-schedule/): When the money reaches your bank account. - [Payout calculator](https://docs.bayarcash.com/payout-calculator/): What you receive after the Bayarcash fees. - [Merchant dashboard](https://docs.bayarcash.com/transactions/): Transactions, reports and Excel exports. ### Connect your shop or app - [Plugins](https://docs.bayarcash.com/woocommerce/): WooCommerce, GiveWP, Fluent Forms, WHMCS and more. - [e-Invoices](https://docs.bayarcash.com/myinvois-e-invoice/): LHDN MyInvois e-invoices from WooCommerce. - [Developers](https://docs.bayarcash.com/developers/): The API v3, the sandbox, SDKs and n8n. ## How they work together If you use BCL, you connect it to your Bayarcash account with your API keys. Your customer pays on a BCL page, and Bayarcash handles the payment. See [Find your API keys](/api-keys/) for where the keys are. New to Bayarcash? Start with [Sign up for Bayarcash](/sign-up/). --- # Sign up for Bayarcash > Register a Bayarcash merchant account on the Bayarcash registration page, and check which businesses Bayarcash accepts before you start. > > Source: https://docs.bayarcash.com/sign-up/ You register for Bayarcash on the Bayarcash registration page. Once Bayarcash approves your account, you sign in to the merchant dashboard, set up a portal and get your API keys. ## Who can register Bayarcash serves registered businesses and organisations. The Bayarcash plugin information names these kinds of merchant: - A business with an active SSM certificate. - A non-governmental organisation (NGO) registered with the Registrar of Societies (ROS). - A madrasah or sekolah tahfiz with state certification. - A yayasan (foundation). Bayarcash is Shariah-compliant, so some types of business cannot use it. If you are not sure yours qualifies, ask the Bayarcash team before you apply. ## Register You need an email address you can open, because you use it to sign in later. To register: 1. Open the [Bayarcash registration page](https://onboard.bayarcash.com). 2. Follow the steps on the page and give the details and documents it asks for. 3. Submit your application and wait for Bayarcash to review it. Have your business registration documents ready before you start. ## After you are approved Once your account is approved, you can start setting up: 1. [Sign in](/sign-in/) to the merchant dashboard. 2. Set up a [portal](/portals/) for your payments. 3. Get your [API keys](/api-keys/) to connect your website or shop. --- # Bayarcash login: sign in to the merchant dashboard > Bayarcash login: sign in (log in) to the merchant dashboard with your registered email and password, and what to do when you cannot sign in. > > Source: https://docs.bayarcash.com/sign-in/ Sign in to the merchant dashboard to see your transactions, payouts, portals and API keys. Use the email address you registered with Bayarcash. ## Sign in You need your registered email and your password. To sign in: 1. Go to [console.bayar.cash/login](https://console.bayar.cash/login). 2. Enter your email and password. 3. Choose **Login to Console**. Your dashboard opens. *(Screenshot: The Login page with the Login to Console button highlighted)* ## First time signing in If it is your first time, set your own password first, then sign in. See [Reset or change your password](/reset-password/) and follow the steps for a forgotten password. > **Note** > The email address must be the one registered with Bayarcash. Any other address will not work. ## Testing in the sandbox Developers can test without real money on the sandbox merchant dashboard at [console.bayarcash-sandbox.com](https://console.bayarcash-sandbox.com). It has its own API keys. See [Find your API keys](/api-keys/). --- # Reset or change your Bayarcash password > Reset a forgotten password from the login page, or change your password from your profile in the merchant dashboard. > > Source: https://docs.bayarcash.com/reset-password/ You can reset a password you forgot, or change your current password from inside the merchant dashboard. Use the email address registered with Bayarcash. ## Reset a forgotten password Use this if you cannot sign in, or if it is your first time signing in. To reset: 1. Go to [console.bayar.cash/login](https://console.bayar.cash/login). 2. Choose the **Forgot password?** link. 3. Enter the email address registered with Bayarcash. 4. Open the email from Bayarcash and choose the link to reset your password. 5. Enter your email and your new password. 6. Sign in with your email and new password. Your dashboard opens. *(Screenshot: The Reset Password page with the Email field highlighted)* ## Change your password when signed in Use this if you know your password and want a new one. To change it: 1. In the merchant dashboard, choose **Profile**. The **System Profile** page opens. 2. In **Password**, type your new password. 3. In **Password Confirmation**, type the same password again. 4. Choose **Update Profile**. *(Screenshot: The System Profile section with the Password and Password Confirmation fields highlighted)* > **Caution** > Changing your password does not change your API keys. Never share your password or your keys with anyone. See [Find your API keys](/api-keys/). --- # Find your Bayarcash API keys, PAT and portal key > Find your Personal Access Token (PAT), API Secret Key and Portal Key in the merchant dashboard. Learn what each key does and how to keep it safe. > > Source: https://docs.bayarcash.com/api-keys/ To connect a website, shop plugin or app to Bayarcash, you need three things from the merchant dashboard: a Personal Access Token (PAT), an API Secret Key and a Portal Key. > **Caution** > Never share these keys, and never put them in a screenshot, chat message or public page. Anyone who has them can act on your Bayarcash account. If you show your screen to someone for help, hide the keys first. ## What each key does Plugins and SDKs ask for these by name: | Key | What it does | Where to find it | |---|---|---| | Personal Access Token (PAT) | Identifies your requests to Bayarcash | **Profile** → **Integration** | | API Secret Key | Signs your requests and checks the replies (the checksum) | **Profile** → **Integration** | | Portal Key | Says which portal receives the payment | **Portals** | ## Get your PAT and API Secret Key Sign in to the [merchant dashboard](/sign-in/) first. Then: 1. At the top right of the merchant dashboard, choose **Profile**. 2. Choose **Integration**. 3. Copy your Personal Access Token (PAT) and your API Secret Key. *(Screenshot: The Integration page with the Personal Access Token (PAT) and API Secret Key boxes highlighted, values hidden)* ## Get your Portal Key Each portal has its own key. To copy it: 1. At the top left of the merchant dashboard, choose **Portals**. 2. Select the portal you want to use. 3. Copy its Portal Key. *(Screenshot: The Portal Details window with the Portal Key row highlighted, value hidden)* Need a new portal first? See [Create and use portals](/portals/). ## Sandbox and live keys The sandbox merchant dashboard at [console.bayarcash-sandbox.com](https://console.bayarcash-sandbox.com) issues its own separate keys for testing. Use sandbox keys only while testing, and live keys only for real payments. For API details, see the [Bayarcash API reference](https://api-reference.bayarcash.com). --- # Turn on two-factor authentication > Add a second check to your merchant dashboard sign-in with two-factor authentication (2FA). > > Source: https://docs.bayarcash.com/two-factor-authentication/ Two-factor authentication (2FA) adds a second check when you sign in to the merchant dashboard. With 2FA, your password alone does not open your account. ## Turn on 2FA Do this for your own sign-in. Keep your phone near you. 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Profile**. 3. Choose **Two-Factor Auth**. The **Two-Factor Authentication** page opens. 4. Choose **Enable Two-Factor Authentication**. 5. Follow the instructions on the screen. *(Screenshot: The Two-Factor Authentication page with the Enable Two-Factor Authentication button highlighted)* ## Tips These habits keep your account safe: - **Use a strong password that you use only for Bayarcash.** 2FA is a second lock. It does not replace a good password. See [Reset or change your password](/reset-password/). - **Turn on 2FA before you connect a shop.** Your account holds your API keys. See [Find your API keys](/api-keys/). --- # Read your dashboard > The Home and Dashboard pages show your first steps, your payments, your next payout and your latest transactions. > > Source: https://docs.bayarcash.com/dashboard/ The merchant dashboard has two start pages. **Home** helps you collect your first payment. **Dashboard** shows a summary of your payments and payouts. ## Home **Home** opens with the title **Welcome** and three steps to collect your first payment. Below the steps, cards link to help: | Card | Use it to | |---|---| | **Plugin** | Find a plugin for WooCommerce, GiveWP, OpenCart, PrestaShop and other platforms | | **Platform Documentation** | Open this help centre | | **API Reference** | Read the API reference and the official SDKs | | **WhatsApp Support** | Get technical help on WhatsApp | | **Facebook** | Send a message to Bayarcash on Facebook | | **Telegram Channel** | Read announcements and updates from Bayarcash | ## Dashboard Use **Dashboard** to see the results of your business for a period. To set the period: 1. In the top menu, choose **Dashboard**. 2. Set the **Created Date Range**, or choose **Today**, **Yesterday**, **This Week** or **This Month**. 3. Choose **Filter**. To go back to the default period, choose **Reset**. *(Screenshot: The Dashboard page with the Filter button highlighted, Transaction Statistic and Payout Statistic)* The page then shows these panels: | Panel | What it shows | |---|---| | **Transaction Statistic** | The number and the total of **Successful** and **Unsuccessful** payments | | **Payout Statistic** | **Last Payout**, and **Upcoming Payout** with its cutoff time. **View All Payouts »** opens the list of payouts | | **Latest 10 Transactions** | Your 10 newest payments. **View All Transactions »** opens the full list | For more about payouts, see [Payouts to your bank account](/payouts/). --- # Create and use portals > A portal keeps the money from one shop, form or project separate in Bayarcash. Create a portal and, if needed, split a payment across accounts. > > Source: https://docs.bayarcash.com/portals/ A portal keeps the money you collect for one shop, form or project separate from the rest, so it is easier to keep track. Each portal has its own Portal Key, which your website or plugin uses to send payments to it. ## Create a portal Create a separate portal for each shop or project. To create one: 1. In the [merchant dashboard](/sign-in/), choose **Portals** at the top of the page. Your portals are listed. 2. Choose **Add New Portal**. 3. Complete the form that opens and save it. *(Screenshot: The Portals page with the Add New Portal button highlighted)* Then copy the new portal's key from **Portals**. See [Find your API keys](/api-keys/). ## Split a payment A split payment divides one payment between different accounts. When you create a portal, you can tick the split payment box. You can split between up to 3 accounts. ## Tips Simple habits make reports easier: - **Use one portal for each shop or project.** Each portal then holds only its own payments, so they are easier to match to your records. - **See the payments of one portal.** On **Transactions**, click **Advance Filter**, choose the portal in **Portal**, then click **Filter**. See [See the transactions of one portal](/transactions/#see-the-transactions-of-one-portal). - **Keep the Portal Key private.** Anyone with your keys can use your account. See [Find your API keys](/api-keys/). --- # Export data to Excel > Export a module's data from the merchant dashboard to an Excel file, then rename, download or delete the file. > > Source: https://docs.bayarcash.com/export-module-data/ You can export the data of a merchant dashboard module to an Excel file. Use it when you want your own copy, or want to work on the data in a spreadsheet. ## Export your data Sign in to the [merchant dashboard](/sign-in/) first. Then: 1. In the top menu of the merchant dashboard, choose **Tools**. 2. Choose **Excel Export** to export your module data in Excel format. 3. The **Excel Exports** page opens and lists your exported files. *(Screenshot: The Tools page with the Excel Export button highlighted)* ## Rename, download or delete a file On the **Excel Exports** page, each file has buttons. Use them to: - Edit the file name. - Download the file to your computer. - Delete the file. *(Screenshot: The Excel Exports page with the edit, download and delete buttons of a file highlighted)* > **Caution** > An exported file can contain customer details. Keep it private and delete it when you no longer need it. --- # Request a split payment for a portal > A split payment sends one payment to up to 3 merchants. Request it for a portal from the Edit Portal page. > > Source: https://docs.bayarcash.com/split-payments/ A split payment divides one customer payment between more than one merchant. You set it for each portal. The Bayarcash Payout team checks each request and approves it by hand. The portal can split payments only after the approval. ## Request a split payment Do this for the portal that must split its payments. 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Portals**, then choose **Portals** again. 3. In the **Action** column of the portal, choose the icon **Edit portal**. The **Edit Portal** page opens. 4. Find **Enable Split Payment?**. You cannot tick this box yourself. 5. Choose **Request for Split Payment**. 6. Follow the instructions on the screen. *(Screenshot: The Edit Portal page with Enable Split Payment? and Request for Split Payment highlighted)* Below the box, the **Split Payment Details** section says: "Maximum up to 3 merchants allowed for split payment." ## Follow your requests and split payouts Two other screens show split payments: - **Portals** → **Split Payments** in the top menu opens the page for split payment applications. If your account does not have split payments, this page shows "Access denied." - On the **Payouts** page, **Advance Filter** has a **Payout Type** filter. Choose **Split Payout** to see only the payouts from split payments. See [Payouts to your bank account](/payouts/). To create a portal, see [Create and use portals](/portals/). --- # Use the Tools page > What each card on the Tools page of the merchant dashboard does, from the fees report and Excel exports to the checkers and the webhook log. > > Source: https://docs.bayarcash.com/tools/ The **Tools** page collects the extra functions of the merchant dashboard. To open it, choose **Tools** in the top menu. *(Screenshot: The Tools page with its eight cards)* ## The cards on the Tools page Each card has a short text and a button: | Button | What it does | |---|---| | **Fees Report** | Shows the fees of your successful transactions, sorted by portal | | **Excel Export** | Lists the Excel files of module data that you exported. See [Export data to Excel](/export-module-data/) | | **Download Receipt** | Shows old receipts of wallet reloads. The wallet is no longer in use | | **Download Statement** | A monthly account statement. The card shows **COMING SOON** | | **Payment Link** | Opens BCL (its old name is Bayarcash Link), to make a payment link and send it to a customer. See [What is Bayarcash](/what-is-bayarcash/) | | **e-Mandate Checker** | Opens the public e-Mandate checker for Direct Debit. See [Check a payment or an e-Mandate without signing in](/public-checkers/) | | **Transaction Checker** | Opens the public transaction checker. See [Check a payment or an e-Mandate without signing in](/public-checkers/) | | **Webhook Log** | Shows the callbacks that Bayarcash sent to your website. See [Check your webhook log](/webhook-log/) | ## Read the fees report Use the fees report to match the fees with your own records. 1. On **Tools**, choose **Fees Report**. The **Successful Transaction Fees** page opens. 2. Read the list. It shows **Created**, **Portal**, **Trx. Reference Number**, **Transaction Amount** and **Fees Amount** for each transaction. The page also shows **Wallet Balance** and **Reload »**. They are from the old wallet, which is no longer in use. Bayarcash will remove them. For the fees of your package, see [Check your package subscription](/package-subscriptions/). --- # Update your profile > Change your sign-in email, password and contact person in Profile, and see the organisation details that Bayarcash keeps for you. > > Source: https://docs.bayarcash.com/profile/ The **Profile** page holds the details of your merchant dashboard account and of your organisation. You can change some of them. Your account manager changes the others. ## Change your email, password or contact person Do this when a staff member leaves, or when you want a new password. 1. In the top menu, choose **Profile**, then choose **Profile** again. 2. In **System Profile**, change **Email** if necessary. 3. To set a new password, type it in **Password** and in **Password Confirmation**. 4. In **User Profile**, change **Contact Person** if necessary. 5. Choose **Update Profile**. *(Screenshot: The Profile page with the System Profile fields and the Update Profile button highlighted)* ## Details that only Bayarcash can change The **User Profile** section shows your organisation details. These fields are grey, and you cannot change them: | Field | What it holds | |---|---| | **Organisation Name** | The name of your registered business | | **Registration Number** | Your business registration number | | **Telephone Number** and **Email** | The contact details of your organisation | | **Address** | Your business address | The page says: "Please contact your account manager for any changes in address & organisation details." The **Name** in **System Profile** is also grey. To see the bank account that receives your payouts, see [Check your payout bank account](/payout-bank/). --- # Find your Bayarcash invoices > See the invoices for your package subscription, with their period, due date and tax, under Profile and Billing. > > Source: https://docs.bayarcash.com/invoices/ The **Invoices** page lists the invoices for your package subscription. Use it for your accounts, or to check a due date. ## Open your invoices To see the list of invoices: 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Profile**. 3. Choose **Billing**. The **Invoices** page opens. 4. To find one invoice, choose **Advance Filter**. Then set the **Created Date Range** or the **Period**. *(Screenshot: The Invoices page with Advance Filter open and highlighted)* The list has these columns: | Column | What it shows | |---|---| | **Created** | The date of the record | | **Status** | The status of the invoice | | **Period** | The period that the invoice is for | | **Invoice Date** and **Due Date** | The date of the invoice, and the last day to pay it | | **Subtotal**, **Tax Amount** and **Total Amount** | The amount before tax, the tax, and the amount to pay | To keep a copy of the list, choose **Export Excel**. To get the newest data, choose **Reload**. For your package and its period, see [Check your package subscription](/package-subscriptions/). --- # Check your package subscription > See your Bayarcash package, its start and end dates, your payout schedule and your fee details under Profile and Subscriptions. > > Source: https://docs.bayarcash.com/package-subscriptions/ The **Package Subscriptions** page shows your current package and the old ones. The details of each one show the package period, the payout schedule and the fee details. ## Open your subscriptions To see your package: 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Profile**. 3. Choose **Subscriptions**. The **Package Subscriptions** page opens. *(Screenshot: The Package Subscriptions page with the status boxes and the list)* The boxes at the top count your subscriptions in each status: **Inactive**, **Active**, **Expired** and **Cancelled**. Your current package has the status **Active**. The list shows the **Type**, the **Package**, the **Subscription Start** and the **Subscription End** of each one. ## Read the details of a subscription Do this to find your payout schedule and your fees. 1. In the **Action** column, choose the icon **View subscription details**. The **Subscription Details** window opens. 2. Read the three tabs: | Tab | What it shows | |---|---| | **Merchant** | Your business name and the bank account for your payouts | | **Subscription** | The **Package**, the **Subscription Period**, the **Subscription Start** and the **Subscription Expired** dates | | **Payout & Fees** | The **Payout Schedule** and the **Per Successful Transaction Fee Details** for each payment channel | 3. Choose **Close**. *(Screenshot: The Subscription Details window on the Payout & Fees tab, fee figures blurred)* > **Note** > The fees and the payout schedule can be different for each merchant. Always read your own figures in this window. For the general rule, see [Payout settlement schedule](/payout-schedule/). --- # Payment channels you can accept with Bayarcash > The payment channels Bayarcash offers, what each one is for, and which ones you need to switch on for a portal before customers can use them. > > Source: https://docs.bayarcash.com/payment-channels/ Bayarcash lets your customers pay by online banking, QR, e-wallet, card and buy now pay later, from one account. This page lists each channel and how it is switched on. ## How channels are switched on A channel works only when it is switched on for the portal that takes the payment. FPX online banking is on by default. Every other channel needs to be enabled for the portal first. To turn channels on: 1. Sign in to the merchant dashboard. 2. Open **Portals**. Tick the channels you want when you create a portal with **Add New Portal**. 3. If a channel is not in the list, or you need it on an existing portal, ask the Bayarcash team to switch it on for that portal. *(Screenshot: The Payment Channel section of the Add New Portal form, with the channels grouped by type)* Your shop or form then offers the channels of the portal key you connect to it. See [Portals](/portals/) and [API keys](/api-keys/). ## Channels The ID is the number developers send as `payment_channel` in the API. | ID | Channel | Use it for | |---|---|---| | | **Online banking** | | | 1 | FPX Personal Banking (B2C) | Online banking from Malaysian banks. On by default. | | 23 | FPX Business Banking (B2B) | Company (business) online banking. | | 4 | FPX Line of Credit (CCA) | Paying with a bank credit facility. See [FPX Line of Credit](/fpx-line-of-credit/). | | 5 | DuitNow Online Banking/Wallets (DOBW) | Real-time payment from a bank app or e-wallet. | | | **Recurring** | | | 3 | Direct Debit | Recurring collection after an e-mandate. See [Direct Debit transactions](/direct-debit-transactions/). | | | **Cards** | | | 12 | Cards (Visa, Mastercard, MyDebit) | Card payments. | | | **DuitNow QR** | | | 6 | DuitNow QR | Customers scan a QR code with their banking app or e-wallet. | | | **Cross-border QR** | | | 9 | QRIS Indonesia (online banking) | Customers from Indonesia who pay with a bank app. See [Cross-border channels](/cross-border-channels/). | | 10 | QRIS Indonesia (e-wallet) | Customers from Indonesia who pay with an e-wallet. | | 11 | NETS | Customers from Singapore. | | 13 | Alipay | Customers from China who pay with Alipay. | | 14 | WeChat Pay | Customers from China who pay with WeChat Pay. | | 15 | PromptPay | Customers from Thailand. | | | **E-wallets** | | | 16 | Touch 'n Go eWallet | Touch 'n Go eWallet. | | 17 | Boost Wallet | Boost e-wallet. | | 18 | GrabPay | Grab e-wallet. | | 21 | ShopeePay | ShopeePay e-wallet. | | | **Buy now, pay later** | | | 7 | SPayLater | Buy now pay later with SPayLater. | | 8 | Boost PayFlex | Buy now pay later with Boost PayFlex. | | 19 | PayLater by Grab | Buy now pay later with Grab. | Manual Bank Transfer also exists as a channel: the customer transfers the money themselves to a bank account you list on the portal. ## Which channels does my shop show? Your platform can show fewer channels than your portal has. Some plugins let you turn each method on or off, or pick a channel per form. Check the plugin's guide, for example [WooCommerce](/woocommerce/), or set the channel in your API request. See the [API reference](https://api-reference.bayarcash.com). ## Tips - **Use one portal per shop.** It keeps each shop's channels and payments separate for reconciliation. - **Test in sandbox first.** Sandbox and live have separate portals, so switch channels on in both. --- # How your customer pays with DuitNow QR > The screens your customer sees when they pay by DuitNow QR with ShopeePay, GrabPay, Boost, Touch 'n Go, Setel, BigPay or buy now pay later. > > Source: https://docs.bayarcash.com/duitnow-qr-payment-steps/ With DuitNow QR, your customer scans one QR code with their banking app or e-wallet and pays you. These are the screens of the most common e-wallets. Use them to help a customer who asks how to pay. The screens are examples from August 2024. The app makers can change their screens. The shop name, amounts and numbers in the pictures are samples. ## E-wallets In each e-wallet, the customer does the same 3 things: 1. Scan the DuitNow QR code at your checkout or counter. 2. Check that the shop name and the amount are correct. 3. Confirm the payment. Some apps ask for a PIN, a fingerprint or a face scan. The app then shows that the payment is successful. Bayarcash sends the result to your shop, and the payment shows in [Transactions](/transactions/). ### ShopeePay On **Pay To**, the customer checks the shop name and the amount and taps **Next**. On **Confirm Payment**, they choose **Wallet Balance** and tap **Pay Now**. *(Screenshot: ShopeePay: the Pay To screen with RM 1.00, then the Confirm Payment screen with Wallet Balance selected)* ### GrabPay The customer checks the shop name and the amount, then slides **Pay**. GrabPay then shows that the shop received the payment. *(Screenshot: GrabPay: the pay screen with the shop name and 1.00, then the receipt with GrabPay Wallet as the payment method)* ### Boost Wallet On **Amount**, the customer chooses **Pay Now** and taps **Pay RM 1.00**. On **Confirm Payment**, they enter their PIN or tap **Use Touch ID**. Boost then shows **SUCCESS**. *(Screenshot: Boost Wallet: the Amount screen with Pay Now selected, the Confirm Payment window and the SUCCESS screen)* ### Touch 'n Go eWallet On **Pay**, the customer checks the shop name and the amount and taps **Confirm**. The receipt shows **DuitNow QR** as the transaction type. They tap **Done**. *(Screenshot: Touch 'n Go eWallet: the Pay screen with the shop name and RM 1.00, then the Paid receipt)* ### Setel On **Enter payment amount**, the customer checks the amount and taps **PAY · RM1.00**. Setel then shows **Payment successful**. *(Screenshot: Setel: the Enter payment amount screen, then the Payment successful screen)* ### BigPay The customer checks the amount and taps **Send**. BigPay then shows **DuitNow QR successful**. The screen below is from 2024 and shows an empty amount field. With a Bayarcash QR, the amount is already in the QR. *(Screenshot: BigPay: the amount screen with the shop name, then the DuitNow QR successful receipt)* ## Buy now, pay later Your customer can also scan the DuitNow QR code and pay later in instalments. The steps start the same as an e-wallet payment. > **Not a direct pay later channel** > For you, this is a normal DuitNow QR payment. You get the full amount, at the DuitNow QR fee. Through DuitNow QR, the SPayLater maximum is RM 1,000 for each payment. See [Buy now, pay later through DuitNow QR](/pay-later-duitnow-qr/). ### SPayLater SPayLater is in the ShopeePay app. 1. On **Pay To**, the customer checks the amount and taps **Next**. 2. On **Confirm Payment**, they choose **SPayLater**. 3. They choose a plan, for example **1 Month** or **Instalment 3X**, and tap **Select**. 4. They tap **Pay Now**. *(Screenshot: SPayLater: the Pay To screen with RM 80.00, the SPayLater plans, and the Confirm Payment screen with SPayLater selected)* ### Boost PayFlex Boost PayFlex is in the Boost app. 1. On **Amount**, the customer chooses **Pay in 30 days** or **Pay In Instalments**, then the number of instalments. They tap **Next**. 2. On **Payment Summary**, they read the instalment dates and amounts and tick the agreement box. 3. They confirm with their face, or tap **Use PIN**. 4. Boost shows **SUCCESS**. *(Screenshot: Boost PayFlex: the Amount screen with Pay In Instalments selected, the Payment Summary with 3 instalments, and the SUCCESS screen)* --- # Buy now, pay later through DuitNow QR > How SPayLater and Boost PayFlex work when your customer scans your DuitNow QR code, and how this differs from a direct pay later channel. > > Source: https://docs.bayarcash.com/pay-later-duitnow-qr/ Your customer can pay in instalments with SPayLater or Boost PayFlex when they scan your DuitNow QR code. You do not set up anything new: if your portal accepts DuitNow QR, your customer can already do this. ## How it works The customer chooses the instalment plan inside their own app, after the scan: 1. Your checkout shows your DuitNow QR code. 2. The customer scans it with the ShopeePay app or the Boost app. 3. In the app, they choose **SPayLater** or **Boost PayFlex** and an instalment plan. 4. They confirm the payment in the app. You get a DuitNow QR payment for the full amount. The instalments are between your customer and the provider. To see each app screen, see [How your customer pays with DuitNow QR](/duitnow-qr-payment-steps/#buy-now-pay-later). ## Through DuitNow QR or a direct channel A direct pay later channel is a separate channel on your checkout. This table shows the differences: | | Through DuitNow QR | Direct pay later channel | |---|---|---| | Setup | Nothing to set up. It works with DuitNow QR. | Apply to Bayarcash first. | | Where the customer chooses the plan | In their app, after the scan | On your checkout | | Your fee | The DuitNow QR fee only. The customer pays any instalment charge to the provider. | The pay later fee | | Limit for each payment | SPayLater: maximum RM 1,000. Boost PayFlex: no fixed maximum at the moment, but Boost can change this. | Higher, up to the customer's full limit | | Plans on your checkout | Not shown | Shown | The fees for each channel are on the [Payout calculator](/payout-calculator/) page. ## Which one to use Pay later through DuitNow QR costs you nothing extra, and it needs no setup. SPayLater through DuitNow QR stops at RM 1,000. For a larger amount, the customer must use another way to pay. Boost PayFlex has no fixed maximum at the moment. The provider can change its limits at any time. A direct pay later channel suits higher amounts, and it shows pay later on your checkout. You can use both: keep DuitNow QR on, and add a direct channel when your customers buy larger items. ## Tips - **Do not promise a pay later limit to your customers.** SPayLater stops at RM 1,000 through DuitNow QR. The providers can change their limits, and each customer's own limit can be lower. - **Tell your customers about pay later in their app.** Your checkout shows only the DuitNow QR code. Many customers do not know about this option. --- # Static or dynamic DuitNow QR: what is the difference > Bayarcash uses dynamic DuitNow QR, one QR for each payment with the amount set. See how it differs from a printed static QR. > > Source: https://docs.bayarcash.com/duitnow-qr-static-dynamic/ Bayarcash uses **dynamic** DuitNow QR. Each payment gets its own QR, with the amount already in it, and the QR expires after about 5 minutes. A **static** QR is one fixed QR, often a printed sticker, and the customer types the amount. Bayarcash does not offer a static QR. ## What each one does Both types use the same DuitNow QR standard, so your customer can scan them with any banking app or e-wallet that supports DuitNow QR. The differences are in how the QR is made and used: | | Static QR | Dynamic QR (Bayarcash) | |---|---|---| | What it is | One QR for all payments | A new QR for each payment | | Amount | The customer types it | Already in the QR. The customer cannot change it. | | Where it comes from | Printed once, for example as a sticker at a counter | Made for each order: on the Bayarcash payment page, on your own page through the API, or in BCL QR Terminal | | Time limit | None | Expires after about 5 minutes | | Match a payment to an order | You match it by hand, from the amount and the time | Automatic: the QR holds the order | | Payment confirmation | You check your bank or e-wallet app | Bayarcash sends the result to your shop or system, and the payment shows in **Transactions** | | Risks | The customer types a wrong amount. Someone sticks a fake QR over yours. | Low. The amount and your shop name are set, and an old QR stops working. | | Refunds | A refund is a new payment back to the customer. DuitNow has no void. | The same | | Disputes | The customer contacts their bank or e-wallet, within 60 days | The same | | Typical use | Market stalls, donation boxes | Online checkout, invoices, payment links, counters with a screen | | On Bayarcash | Not offered | Yes | ## How your customer pays Your customer scans the QR with their banking app or e-wallet. The app shows your shop name and the amount. The customer confirms the payment, and the app shows a receipt. For the screens in each app, see [How your customer pays with DuitNow QR](/duitnow-qr-payment-steps/). If the QR expires before the customer pays, show a new QR. Do not ask the customer to pay to an old QR. ## Take QR payments at a counter Bayarcash has no printed QR for a counter. Use BCL QR Terminal instead. BCL is a Bayarcash product to sell without a website. QR Terminal turns a phone, tablet or laptop into a payment counter: 1. You type the amount. 2. QR Terminal shows a new DuitNow QR for that sale. 3. The customer scans it and pays. The payment goes through your Bayarcash account, so it shows in **Transactions** with your other payments. See [QR Terminal in the BCL Help Centre](https://docs.bcl.my/qr-terminal/). ## Fees and payouts The DuitNow QR fee is the same for each payment, online or at a counter. To see the fee and the amount that you receive, use the [payout calculator](/payout-calculator/). Payouts follow the normal [payout schedule](/payout-schedule/). ## Tips Two habits prevent most QR problems: - **Show the QR only when the customer is ready to pay.** The QR expires after about 5 minutes. - **Check Transactions before you make a new QR for an order that the customer says they paid.** This prevents a double payment. --- # Accept payments from abroad with cross-border channels > Switch on QRIS Indonesia, NETS Singapore and the other cross-border channels for a portal so overseas customers can pay you in Malaysia. > > Source: https://docs.bayarcash.com/cross-border-channels/ Cross-border channels let customers in Indonesia, Singapore and other countries pay from their own banking app or e-wallet. You switch them on per portal in the merchant dashboard. Then you show them on your form or checkout. ## The cross-border channels Each channel has an ID that developers use as `payment_channel` in the API. | ID | Channel | Customers from | |---|---|---| | 9 | QRIS Indonesia (online banking) | Indonesia | | 10 | QRIS Indonesia (e-wallet) | Indonesia | | 11 | NETS | Singapore | | 13 | Alipay | China | | 14 | WeChat Pay | China | | 15 | PromptPay | Thailand | ## Switch the channels on for a portal Do this in the merchant dashboard when you create a portal for overseas payments. 1. Sign in to the merchant dashboard and open **Portals**. 2. Click **Add New Portal**. 3. To use every channel, tick all of them. 4. To serve only one country, tick only the **DuitNow QR QRIS Indonesia** channels or **DuitNow QR NETS Singapore**. 5. Save the portal. *(Screenshot: The Cross Border QR Payment channels with NETS Singapore and the two QRIS Indonesia channels ticked)* If a channel is not in the list, ask the Bayarcash team to switch it on for your account. ## Show the channels where customers pay Bayarcash switches the channel on. Your form or shop must then offer it. 1. Connect the portal key of that portal to your form or shop. See [Portals](/portals/). 2. In BCL (bcl.my), open the form's payment options and add the channel, then update the form. The steps are in the BCL help centre: [NETS for Singapore customers](https://docs.bcl.my/nets-singapore/). 3. For plugins and the API, pick the channel in the plugin, or send its ID as `payment_channel`. See the [API reference](https://api-reference.bayarcash.com). Payments then show under **Transactions**. See [Transactions](/transactions/). ## Banks and e-wallets that work Customers pay with the app of their own bank or e-wallet. These banks and e-wallets support payments to Malaysia. Other apps can also work. | Country | Banks and e-wallets | |---|---| | Thailand | Bangkok Bank, Bank of Ayudhya, CIMB Thai, Krungthai Bank, Siam Commercial Bank | | Indonesia | Bank Central Asia (BCA), Bank Syariah Indonesia (BSI), BPD Bali, CIMB Niaga, DANA, LinkAja, Mega, OttoCash, Permata, ShopeePay, Sinarmas | | Singapore | DBS, OCBC, United Overseas Bank (UOB) | ## Pay from Indonesia with QRIS Customers in Indonesia pay with QRIS, the national QR code standard of Indonesia. This is what an Indonesian customer sees in a banking app, in this example Livin' by Mandiri: 1. They scan your DuitNow QR code. The app shows your shop name, the amount in MYR and their source of funds. They tap **Next**. 2. On **Transaction Confirmation**, they check the rate from MYR to IDR and the amount in rupiah. They tap **Continue Payment**. 3. The app shows **Payment Successful!**. *(Screenshot: Livin' by Mandiri: the amount in MYR, the Transaction Confirmation with the MYR to IDR rate, and the Payment Successful! screen)* The account number, balance and merchant number in the picture are samples. ## Pay from Singapore with DBS PayLah! Customers in Singapore can pay you with DBS PayLah!, the payment app of DBS Bank, through DuitNow QR. 1. In DBS PayLah!, the customer taps **Scan** and scans your DuitNow QR code. 2. On **Pay**, they check your shop name, the amount in MYR and the same amount in SGD. They tap **NEXT**. 3. The app shows **Successful**. It also shows the exchange rate and the amount in SGD that DBS takes from their account. *(Screenshot: DBS PayLah!: the Scan button, the Pay screen with MYR 5.00 and SGD 1.50, and the Successful screen)* --- # FPX Line of Credit (credit card account payments) > What FPX Line of Credit is, how customers pay with a bank credit card account through FPX, and what your portal needs. > > Source: https://docs.bayarcash.com/fpx-line-of-credit/ FPX Line of Credit lets a customer pay from a credit facility their own bank gives them, through FPX. It is also called a Credit Card Account (CCA). The customer stays inside their bank's secure page, so they never enter a card number on your site. ## How the customer pays This is what your customer sees at checkout. 1. They choose the FPX Line of Credit option (some shops label it Credit Card). 2. They choose their bank and the account type, CASA or CCA. 3. They sign in to their bank and approve the payment. At their bank, the customer chooses where the money comes from. With a current or savings account (CASA), the list shows only their bank accounts: *(Screenshot: A Maybank2u FPX page with the From account list open. The list has only bank accounts (CASA))* With FPX Line of Credit (CCA), the same list also shows their credit cards: *(Screenshot: A Maybank2u FPX page with the From account list open. The list has bank accounts and two credit cards (CCA))* The money is charged to their credit account. Their bank sends them a monthly statement, and the bank decides the credit limit and any charges. Your payment still goes through Bayarcash as normal. ## Set it up You need the channel switched on for your portal. 1. Ask the Bayarcash team to switch on **FPX Line of Credit** for your portal, or tick it when you create a portal with **Add New Portal** under **Portals**. 2. Show the channel in your shop or form. In the WooCommerce plugin it is the **Bayarcash Credit Card Account** method. Developers use `payment_channel` 4 in the [API](https://api-reference.bayarcash.com). *(Screenshot: The FPX group on the Add New Portal form with FPX Line of Credit ticked and highlighted)* ## Good to know - **Malaysian banks only.** Customers can choose only local banks. - **Failures come from the bank.** If a payment fails, see [Why did my payment fail?](/payment-failed/). - **Payments appear in Transactions.** See [Transactions](/transactions/). --- # Check a transaction and its status > Find a payment in the merchant dashboard, read its status, open the transaction details and see your totals for each status. > > Source: https://docs.bayarcash.com/transactions/ Use **Transactions** in the merchant dashboard to find a customer's payment, see if it succeeded and read its details. This helps you answer "did my customer pay?" quickly. ## Find a transaction You need to be signed in to the merchant dashboard. 1. Open **Transactions**. 2. Use the filters to narrow the list. You can filter by the same information you see in the transaction details, such as the order number. 3. Read the status column for each payment. *(Screenshot: The Transactions page with the Advance Filter button and the eye icon highlighted)* ## See the transactions of one portal Each website or app that takes payments has its own portal. To see only the payments of one portal: 1. Open **Transactions**. 2. Click **Advance Filter**. 3. In **Portal**, choose the portal. **Any** shows the payments of all your portals. 4. Click **Filter**. *(Screenshot: The Advance Filter panel on the Transactions page with the Portal list and the Filter button highlighted)* To see all your portals again, click **Reset**. To find a portal's name, see [Portals](/portals/). ## Transaction statuses The status tells you where a payment stands. | Status | Code in the API | What it means | |---|---|---| | New | 0 | The payment has just started. | | Pending | 1 | The payment is in progress. Check again shortly. | | Unsuccessful | 2 | The payment did not go through, for example a bank decline or a problem in the process. | | Successful | 3 | The customer paid. | | Cancelled | 4 | The customer cancelled the payment. | | Abandoned | 5 | The customer left without finishing. | Developers can read the same codes from the [API reference](https://api-reference.bayarcash.com). ## Open the transaction details Do this to see the answer from FPX or the bank. 1. In **Transactions**, find the payment. 2. Click the eye icon (**View transaction details**). 3. Read the **Transaction Details** window. It shows the status message FPX or the bank sent. *(Screenshot: The Transaction Details window of an unsuccessful payment with the Status Description row highlighted)* If a payment failed, see [Why did my payment fail?](/payment-failed/). ## See your totals for each status The top of the **Transactions** page has a box for each status: **New**, **Pending**, **Unsuccessful**, **Successful**, **Cancelled** and **Abandoned**. Each box shows the number of transactions and the time of the last one. *(Screenshot: The status boxes at the top of the Transactions page)* To keep a copy of the list, see [Export transactions](/export-transactions/). Direct Debit collections are listed separately. See [Direct Debit transactions](/direct-debit-transactions/). --- # Export your transactions to Excel > Download your Bayarcash transactions as an Excel file from the merchant dashboard, and what to do while a large export is processing. > > Source: https://docs.bayarcash.com/export-transactions/ You can download all your transactions as an Excel file for accounting or reconciliation. It is done from the **Transactions** page in the merchant dashboard. ## Export to Excel You need to be signed in to the merchant dashboard. 1. Open **Transactions**. 2. Click **Export Excel**, at the top left of the page. 3. In the pop-up, type a file name. 4. Confirm. The **Tools** page opens and shows your export. 5. When the export is marked as completed, download the file. *(Screenshot: The Transactions page with the Export Excel button highlighted)* *(Screenshot: The Excel Exports page with a completed export and its download button highlighted)* > **Note** > A large export can take about 5 minutes to complete. Leave the page and come back later if you need to. ## Other exports Exports for other parts of the merchant dashboard are in [Export module data](/export-module-data/). To look at one payment, see [Transactions](/transactions/). --- # Why did my Bayarcash payment fail? > Find out why a Bayarcash payment failed. Read the FPX or bank message, for example "Bank Declined Transaction", and know what to do next. > > Source: https://docs.bayarcash.com/payment-failed/ A payment can fail because of the customer's bank, their account, or the way the order was sent. The merchant dashboard shows the reason FPX or the bank gave, so you can tell which it is and what to do. ## See why a payment failed Do this in the merchant dashboard. 1. Open **Transactions**. 2. Find the payment and click the eye icon (**View transaction details**). 3. Read the status message. It is the response from FPX (PayNet) or the bank. *(Screenshot: The Transaction Details window with the Status Description and FPX Transaction Status rows highlighted, both showing Insufficient Funds)* The message comes from FPX or the bank. Bayarcash only receives it and shows it to you. For example, if it says Bank Declined Transaction, the customer's bank refused it. ## Transaction statuses Failed payments usually show one of these statuses. | Status | Code | What to do | |---|---|---| | Unsuccessful | 2 | Read the message in the details, then find it in the tables below. | | Cancelled | 4 | The customer cancelled. Ask if they want to try again. | | Abandoned | 5 | The customer left before finishing. Send them the payment link again. | See [Transactions](/transactions/) for the full list. ## Causes and fixes The tables list all 76 FPX response codes from PayNet, the company that runs FPX. Find the message from the transaction details, then do what its group says. ### Approved The payment went through. Nothing to fix. If your shop still shows the order as unpaid, see [Callbacks and checksum](/callbacks-and-checksum/). | Code | Message | |---|---| | 00 | Approved | ### Pending The result is not final yet. Do not ship the order and do not ask the customer to pay again. Check the transaction again later. For code 99, the second approver at the customer's company must approve the payment in their business banking. | Code | Message | |---|---| | 09 | Transaction Pending | | 99 | Pending Authorization (Applicable for B2B model) | ### The customer cancelled or took too long The customer stopped the payment, or the bank session ended. Ask the customer to try again. | Code | Message | |---|---| | 80 | Buyer Cancel Transaction | | BC | Transaction Cancelled By Customer | | OF | Transaction Timeout | | 1M | Internet Banking Session Timeout | | 1A | Buyer Session Timeout At Internet Banking Login Page | | 1B | Buyer Failed To Provide The Necessary Info To Login To Internet Banking Login Page | | 1C | Buyer Choose Cancel At Login Page | | 1D | Buyer Session Timeout At Account Selection Page | | 1E | Buyer Failed To Provide The Necessary Info At Account Selection Page | | 1F | Buyer Choose Cancel At Account Selection Page | | 1G | Buyer Session Timeout At TAC Request Page | | 1H | Buyer Failed To Provide The Necessary Info At TAC Request Page | | 1I | Buyer Choose Cancel At TAC Request Page | | 1J | Buyer Session Timeout At Confirmation Page | | 1K | Buyer Failed To Provide The Necessary Info At Confirmation Page | | 1L | Buyer Choose Cancel At Confirmation Page | ### The customer's account or limit The customer's account cannot make this payment. The customer can use another account, raise the limit with their bank, or pay with another channel. | Code | Message | |---|---| | 51 | Insufficient Funds | | 48 | Maximum Transaction Limit Exceeded | | 2A | Transaction Amount Is Lower Than Minimum Limit | | 14 | Invalid Buyer Account | | 39 | No Credit Account | | 53 | No Buyer Account Number | | 77 | Invalid Buyer Name Or Buyer ID | | 57 | Transaction Not Permitted | ### The bank was not available The problem is at the customer's bank or at FPX. Wait, then try again, or use another bank. To see if a bank is down, check [Bank Status](https://status.bayarcash.com/). | Code | Message | |---|---| | 31 | Invalid Bank | | 92 | Invalid Buyer Bank | | BB | Blocked Bank | | 79 | Host Decline When Down | | 85 | Internal Error At Bank System | | 90 | Bank Internet Banking Unavailable | | OE | Transaction Rejected As Not In FPX Operating Hours | | 87 | Debit Failed Exception Handling | | 88 | Credit Failed Exception Handling | | 89 | Transaction Not Received Exception Handling | ### The order details The order that your shop sent was not accepted. Send a new, unique order number for each payment attempt, in MYR, and check the amount. | Code | Message | |---|---| | 45 | Duplicate Seller Order Number | | XO | Duplicate Exchange Order Number | | XN | Transaction Rejected Due To Duplicate Seller Exchange Order Number | | 13 | Invalid Amount | | 47 | Invalid Currency | | 2X | Transaction Is Canceled By Merchant | ### The merchant set-up A setting for your account at FPX does not match. Contact the Bayarcash team. | Code | Message | |---|---| | 03 | Invalid Merchant | | 05 | Invalid Seller Or Acquiring Bank Code | | SB | Invalid Acquiring Bank Code | | 46 | Invalid Seller Exchange Or Seller | | 49 | Merchant Specific Limit Exceeded | | 50 | Invalid Seller for Merchant Specific Limit | | 58 | Transaction To Merchant Not Permitted | | XA | Invalid Source IP Address (Applicable for B2B2 model) | | XB | Invalid Seller Exchange IP | | XI | Invalid Seller Exchange | | XS | Seller Does Not Belong To Exchange | ### A technical problem A message between the systems failed. Try again. If it happens again, send the order number and the time to the Bayarcash team. | Code | Message | |---|---| | 12 | Invalid Transaction | | 20 | Invalid Response | | 30 | Format Error | | 70 | Invalid Serial Number | | 76 | Transaction Not Found | | 78 | Decryption Failed | | 83 | Invalid Transaction Model | | 84 | Invalid Transaction Type | | 96 | System Malfunction | | 98 | MAC Error | | FE | Internal Error | | XE | Invalid Message | | XF | Invalid Number Of Orders | | XM | Invalid FPX Transaction Model | | XT | Invalid Transaction Type | | XW | Seller Exchange Date Difference Exceeded | ### Direct Debit e-Mandate details These codes are for a Direct Debit enrolment. Check the e-Mandate details, such as the email, the frequency and the bank, then send the enrolment again. See [Direct Debit e-Mandates](/e-mandates/). | Code | Message | |---|---| | DA | Invalid Application Type | | DB | Invalid Email Format | | DC | Invalid Maximum Frequency | | DD | Invalid Frequency Mode | | DE | Invalid Expiry Date | | DF | Invalid e-Mandate Buyer Bank ID | The messages are as PayNet writes them. PayNet's own list has no text for 11 codes (03, 14, 39, 47, 49, 87, BB, OF, XB, XI and 1A). For these codes, the text comes from other FPX providers, and these providers all give the same text. ## Reduce failed payments - **Offer more than one channel.** If one bank is down or refuses, the customer can pay another way. See [Payment channels](/payment-channels/). - **Use a unique order number** every time. - **Keep the amount in MYR** and within your channel's limits. --- # Create a payment in the merchant dashboard > Add New Transaction starts a payment from the merchant dashboard. It is mainly for internal tests. > > Source: https://docs.bayarcash.com/add-transaction/ **Add New Transaction** starts a payment from the merchant dashboard. You type the details of the customer and the amount, then choose a payment channel. > **Caution** > Bayarcash uses this page mainly for internal tests. To collect payments from your customers, use a [plugin](/woocommerce/), the [API](/developers/) or a payment link from [BCL](/what-is-bayarcash/). ## Create a payment You need the Portal Key of the portal that receives the money. 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Transactions**, then choose **Transactions** again. 3. Choose **Add New Transaction**. A **Transaction Details** form opens. 4. Fill in the fields. The table below gives each field. 5. Under **Choose Payment Channel**, choose the button of the payment channel. *(Screenshot: The Transaction Details form with sample values, the Portal Key field and the payment channel buttons highlighted)* The form has these fields: | Field | What to type | |---|---| | **Portal Key** | The key of the portal that receives the money. The link **here** shows where to find it | | **ID Number** | Your own reference for the payment, for example an order number | | **Amount** | The amount in MYR | | **Name**, **Email** and **Mobile Number** | The details of the customer | | **Return URL** | The page that opens after the payment | | **Raw Website Data** | Extra data from your website, if you have it | > **Note** > The form shows all payment channels. A channel works only if it is turned on for the portal. See [Payment channels](/payment-channels/). --- # Check a payment, an e-Mandate or a bank without signing in > The Transaction Checker, the e-Mandate Checker and Bank Status are public pages. You and your customers can use them without an account. > > Source: https://docs.bayarcash.com/public-checkers/ Bayarcash has three public pages. You do not sign in to use them, so you can also send them to your customers. The links are at the bottom of every page of the merchant dashboard. ## Check a payment Use the [Transaction Checker](https://check.bayarcash.com/) when a customer asks about a payment. The details come from the bank statement or the email from Bayarcash. 1. Open [check.bayarcash.com](https://check.bayarcash.com/). 2. Type the **Reference Number or Transaction ID**. 3. Type the **Email** of the customer. 4. Choose **Check Transaction**. ## Check an e-Mandate Use the [e-Mandate Checker](https://mandate.bayarcash.com/) for a Direct Debit e-Mandate. 1. Open [mandate.bayarcash.com](https://mandate.bayarcash.com/). 2. Type the **Payment Reference Number**. 3. Type the **Email** of the customer. 4. Choose **Check Mandate**. ## Check the status of the banks [Bank Status](https://status.bayarcash.com/) shows if each FPX bank accepts payments. Use it when payments to one bank fail. 1. Open [status.bayarcash.com](https://status.bayarcash.com/). 2. Choose a tab: **FPX (All)**, **FPX (B2C)**, **FPX (B2B1)** or **FPX (B2B2)**. B2C is for personal accounts. B2B1 and B2B2 are for business accounts. 3. Find the bank. A green tick shows that the bank was available in that minute. A red cross shows a problem. 4. Read **Uptime (7D)** for the availability of the bank in the last 7 days. The page says that the data comes from Payments Network Malaysia (PayNet). For more help with a failed payment, see [Why did my payment fail?](/payment-failed/). --- # Payouts: how Bayarcash sends money to your bank > Bayarcash sends your collected payments to your bank account on a schedule, after the fees are deducted. Track each payout by its status. > > Source: https://docs.bayarcash.com/payouts/ Bayarcash collects payments from your customers and settles them to your bank account. Each payout has a status that tells you where it is in the settlement process. ## Check your payouts 1. Open the merchant dashboard. 2. In the top menu, choose **Payouts**, then **Bayarcash Payout**. *(Screenshot: The Payouts menu open on the home page with Bayarcash Payout highlighted)* 3. The page shows all your payouts with their current status. *(Screenshot: The Payouts page with the status totals and the Status column highlighted)* ## Payout statuses | Status | Meaning | |--------|---------| | **Scheduled** | Bayarcash is still receiving payments that will be included in this payout. The payout cutoff has not yet occurred. | | **Processing** | The payout cutoff has passed. The batch is being processed and will be sent to your bank within 1-2 working days. | | **Processing 1** | Money is held at Bayarcash and will be transferred to your bank account within 1-2 working days. | | **Paid** | The payout has been successfully sent to your bank account. | ## Tips **Check the payout schedule.** Payouts follow a fixed cutoff time and settlement schedule. See [Payout schedule](/payout-schedule/) for the day and time of your next payout. **Small amounts wait for the next payout.** A payout needs more than RM10.00 in payments, before fees. A smaller total moves to the next payout. See [Minimum payout](/payout-schedule/#minimum-payout). **Keep your bank account details up to date.** Make sure your registered bank account in the merchant dashboard is correct. If the account details are wrong, a payout can fail or come late. **Other statuses need attention.** The page can also show **Cancelled**, **Postponed**, **Processing 4** and **S/P Exceeds Limit**. If a payout has one of these statuses, contact the Bayarcash team. --- # Payout settlement schedule > Payouts are processed on a T+2 working day basis with a daily cutoff at midnight. > > Source: https://docs.bayarcash.com/payout-schedule/ Bayarcash pays out on a T+2 working day basis. A payment that you receive before the daily cutoff goes to your bank 2 working days later. ## How the schedule works | Payment received before 12:00 AM on | Payout starts after 5:00 PM on | |---|---| | Monday | Wednesday | | Tuesday | Thursday | | Wednesday | Friday | | Thursday | Monday | | Friday | Tuesday | | Saturday | Tuesday | | Sunday | Tuesday | The table starts today. The dates and the green row use Malaysia time. The table shows the usual payout days, and it marks a payout day that a public holiday moves. ## Public holidays Bayarcash does not pay out on a public holiday in Kuala Lumpur. The 2 working days (T+2) do not count these holidays, the same as a Saturday or a Sunday. A holiday that is only in a different state does not change the payouts. For the list of holidays, the next payout after each one, a payout date checker and a calendar file, read [Public holidays and payouts](/public-holidays/). ## Minimum payout A payout starts only when its total is more than RM10.00. Bayarcash uses the total of the customer payments before the fees. If the total is RM10.00 or less, Bayarcash does not pay out on that day. It adds the money to the next payout. When the total is more than RM10.00, the payout starts on the usual schedule. For the payout statuses and how to check your payouts, see [Payouts to your bank account](/payouts/). ## Tips **Plan your cash flow around T+2.** If you need money faster, plan ahead or ask the Bayarcash team about other settlement options. **Check your payout history.** Open **Payouts** in your merchant dashboard to see all past and upcoming payouts, their status and their dates. --- # Public holidays and payouts > The public holidays with no Bayarcash payout, the next payout date after each one, and a calendar file for your team. > > Source: https://docs.bayarcash.com/public-holidays/ Bayarcash does not pay out on a public holiday in Kuala Lumpur. The 2 working days (T+2) do not count these holidays, the same as a Saturday or a Sunday. This applies to all payouts. The holidays are the national holidays and the Kuala Lumpur holidays (New Year's Day, Thaipusam, Federal Territory Day and Nuzul Al-Quran). A holiday that is only in a different state does not change the payouts. ## How a holiday moves a payout A payment that you receive before the 12:00 AM cutoff goes to your bank 2 working days later, after 5:00 PM. A holiday is not a working day. So when a holiday falls on the payout day, or between the payment and the payout, the payout moves 1 working day later. For example, Monday 9 November 2026 was the Deepavali replacement holiday: - A payment on Thursday 5 November went to the bank on Tuesday 10 November, not on Monday 9 November. - A payment on Friday 6 November went to the bank on Wednesday 11 November, not on Tuesday 10 November. The "Next payout" column shows the first payout after each holiday. That payout has the payments that the holiday delayed. ## Add the holidays to your calendar Add the days with no payout to Google Calendar, Outlook or Apple Calendar: 1. Copy this link: `https://docs.bayarcash.com/public-holidays.ics` 2. In Google Calendar, select **Other calendars** > **+** > **From URL**, then paste the link. 3. In Outlook, select **Add calendar** > **Subscribe from web**, then paste the link. When we add the holidays of the next year, your calendar gets them. You can also [download the calendar file](/public-holidays.ics). To see the cutoff and the payout days of this week, read [Payout settlement schedule](/payout-schedule/). --- # Payout calculator > Work out the platform fee, the SST on it and the amount you receive for a sale, for each Bayarcash payment channel. > > Source: https://docs.bayarcash.com/payout-calculator/ Use this calculator to see how much you receive from a sale after the Bayarcash platform fee and SST. ## How the amount is calculated 1. The platform fee is the percentage fee on the sales amount plus the fixed fee. 2. SST is 8% of the platform fee. 3. You receive the sales amount minus the platform fee and the SST. Bayarcash rounds the fee and the SST to the nearest sen. ## Standard fees by payment method | Payment method | Fee | Settlement | |---|---|---| | **Online banking** | | | | FPX personal banking (B2C) | RM 1.00 | T+2 | | FPX business banking (B2B) | RM 2.00 | T+2 | | FPX Line of Credit (CCA): Malaysian credit card account | RM 1.00 + 1.00% | T+2 | | **Recurring** | | | | Direct Debit: enrolment, maintenance or termination (by FPX) | RM 1.00 | T+2 | | Direct Debit: each deduction | RM 1.50 | T+2 | | **Cards** (apply separately) | | | | Malaysian credit card (Visa, Mastercard) | 1.50% | T+2 | | Overseas credit card (Visa, Mastercard) | 3.50% | T+2 | | Debit card (MyDebit) | 1.00% | T+2 | | **DuitNow QR (online and at the counter)** | | | | DuitNow QR | 1.60%, minimum RM 0.15 | T+2 | | Cross-border QR (NETS, QRIS, PromptPay, Alipay, WeChat Pay) | 1.60%, minimum RM 0.15 | T+2 | | **E-wallets** (apply separately) | | | | Touch 'n Go eWallet | 1.50% | T+2 | | GrabPay | 1.50% | T+2 | | Boost Wallet | 1.50% | T+2 | | ShopeePay | 1.50% | T+2 | | **Buy now, pay later** (apply separately) | | | | Boost PayFlex | 1.50% | T+2 | | PayLater by Grab | 1.50% | T+2 | | SPayLater | 1.50% | T+2 | Bayarcash settles every payment method on a T+2 basis. See [Payout settlement schedule](/payout-schedule/). Bayarcash charges the Direct Debit deduction fee for each deduction, successful or not. It charges the enrolment, maintenance and termination fee only when the bank verification is successful. For the channels marked **Apply separately**, apply to Bayarcash before you can use them. Bayarcash charges these fees, and the fees can change. To see when the money reaches your bank, read [Payout settlement schedule](/payout-schedule/). --- # Check your payout bank account > See the bank account that receives your Bayarcash payouts, and how to change it through your account manager. > > Source: https://docs.bayarcash.com/payout-bank/ Bayarcash sends your payouts to one bank account. The **Payout Bank** page shows that account. Check it before your first payout, and after any change to your business bank. ## See your payout bank account You can see the account, but you cannot change it here. 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Profile**. 3. Choose **Payout Bank**. *(Screenshot: The Payout Bank page with sample details, account number blurred)* The page shows these fields: | Field | What it shows | |---|---| | **Account Holder** | The name on the bank account | | **Bank** | The bank that receives your payouts | | **Account Number** | The account number that receives your payouts | ## Change your payout bank account The page says: "Please contact your account manager for any changes in bank details." Speak to your account manager before you close the old account. If the account is wrong, a payout can fail or go to the wrong place. To follow your payouts, see [Payouts to your bank account](/payouts/). --- # Your Bayarcash wallet (deprecated) > Deprecated. How the old Bayarcash wallet worked, kept as a record. > > Source: https://docs.bayarcash.com/wallet/ > **Deprecated** > The Bayarcash wallet is deprecated. Bayarcash now deducts its fees from each transaction before it pays out to your bank account. You do not need a wallet balance. This page stays only as a record. See [Payouts](/payouts/). Your Bayarcash wallet holds your account balance. Every time you receive a payment through Bayarcash, we deduct the transaction fee from your wallet. You must keep enough balance in your wallet to cover these fees, or payments will fail. ## How your wallet works The wallet balance decreases each time a transaction fee is charged. You can refill it whenever you need to. There are two ways to manage your wallet: 1. **Manual reload** - You top up the wallet yourself whenever the balance runs low. 2. **Auto-reload** - The system automatically tops up your wallet when the balance reaches zero or goes below it, by taking money from your daily collection. The minimum auto-reload amount is RM5.00. Which method you use, your wallet is ready to charge fees for every payment your customers make. ## Tips **Set up auto-reload if you process many payments.** Auto-reload keeps your wallet topped up automatically and prevents payment failures due to low balance. You control the minimum amount the system tops up, so you decide when it refills. **Check your wallet balance daily.** Open the **Wallet** section in your dashboard to see your current balance and top-up history. You can also download receipts of wallet reloads for your records. --- # Top up your wallet (deprecated) > Deprecated. How merchants topped up the old Bayarcash wallet, kept as a record. > > Source: https://docs.bayarcash.com/top-up-wallet/ > **Deprecated** > The Bayarcash wallet is deprecated. Bayarcash now deducts its fees from each transaction before it pays out to your bank account. You do not need a wallet balance. This page stays only as a record. See [Payouts](/payouts/). Top up your wallet to pay for transaction fees. The minimum top-up is RM100. ## Top up the wallet 1. Open the merchant dashboard and go to the dashboard. 2. Click the **Reload** button at the top right. 3. Fill in the amount to reload. 4. Click **Next**. 5. Choose your bank from the list of available payment channels. The page redirects to your bank's login. 6. Complete the payment in your bank's app or website. When the payment succeeds, your wallet balance updates within seconds. You can now use the balance to pay for transaction fees on future payments. ## Tips **Save time with auto-reload.** If you want your wallet to top up automatically when the balance runs low, turn on auto-reload in your **Wallet** settings. See [Your Bayarcash wallet](/wallet/) for details. **Always keep a buffer.** Top up before your balance gets too low. This prevents payment failures if you receive many payments in a short time. --- # Download wallet receipts (deprecated) > Deprecated. How merchants downloaded receipts for the old Bayarcash wallet, kept as a record. > > Source: https://docs.bayarcash.com/wallet-receipt/ > **Deprecated** > The Bayarcash wallet is deprecated. Bayarcash now deducts its fees from each transaction before it pays out to your bank account. You do not need a wallet balance. This page stays only as a record. See [Payouts](/payouts/). Download receipts for your wallet reloads and automatic top-ups. These receipts are useful for your records and accounting. ## Download a wallet receipt 1. Open the merchant dashboard and go to the dashboard. 2. Click **Tools** at the top right. 3. Click **Download Receipt**. 4. The **Wallet Auto Reload Receipt** window opens. You can view or download your wallet transactions. 5. To view a specific transaction, click the transaction row to see details. 6. To download all receipts, click the **Download** button. The file downloads as a spreadsheet or PDF (depending on your browser and settings). You can open it in Excel, Google Sheets or any spreadsheet app. ## Tips **Keep receipts for reconciliation.** Download receipts regularly to match your wallet top-ups with your bank statements and accounting records. **Check for auto-reload transactions.** If you have auto-reload enabled, both manual top-ups and automatic reloads appear in the receipt. --- # Direct Debit or card auto debit: which one to use > Bayarcash collects recurring payments by Direct Debit. Cards take one-off payments only. Compare the two and pick the right one. > > Source: https://docs.bayarcash.com/direct-debit-vs-card/ Bayarcash collects recurring payments by Direct Debit only. The customer uses FPX only to approve, change or end the e-Mandate. The deductions do not use FPX. Card payments with Bayarcash are one-off payments: Bayarcash does not keep a card to charge it again later. This page compares Direct Debit and card auto debit, so that you can choose the correct method. ## What each one does The two methods move money in different ways: | | Direct Debit | Card auto debit | |---|---|---| | **Who runs it** | PayNet, through the customer's bank | The card network (Visa or Mastercard) and the bank that issued the card | | **How the customer agrees** | One time: the customer approves an e-Mandate by FPX in their online banking, then the bank approves it | The first payment with an OTP (3-D Secure), and an agreement that the merchant can charge the card again | | **Accounts** | Current, savings and credit card accounts at participating banks. Not debit cards | Credit and debit cards | | **Amount and frequency** | Set in the e-Mandate: weekly (on Friday), monthly or yearly. RM 5.00 to RM 30,000.00 for each deduction | Set in the agreement with the customer. The amount can change if the agreement says so | | **Approval of each charge** | No new approval. Each deduction follows the e-Mandate | The card bank approves or declines each charge | | **Why a charge can fail** | Not enough money or credit limit in the account, or the e-Mandate is not active | The card expired or was replaced, no credit limit or money left, or the bank declined the charge | | **How to cancel** | The customer ends the e-Mandate. See [Change or end a Direct Debit](/direct-debit-maintenance-termination/) | The customer tells the merchant, or asks the card bank to stop the charges | | **Disputes** | The customer contacts their bank | The customer can dispute a charge with the card bank, for a limited time | | **Fees** | A fixed fee for each enrolment, change and deduction. See the [Payout calculator](/payout-calculator/) | Usually a percentage of each charge | | **On Bayarcash** | Yes | No. Bayarcash cards take one-off payments only | > **Note** > DuitNow AutoDebit is a different PayNet product. Bayarcash does not offer it. ## When to use Direct Debit Use Direct Debit for a payment that repeats on a fixed schedule: - Subscriptions, memberships and course fees, every week, month or year. - Recurring donations. - Instalments with the same amount each time. The customer approves once, and the deductions continue until the e-Mandate ends. ## When to use a card or another one-off channel Use a card, FPX or DuitNow for a payment that happens one time: - A single purchase or a single donation. - A payment with an amount that changes each time. - A customer who does not want an e-Mandate. You can send the customer a new payment link for each payment. See [Payment channels](/payment-channels/). ## What your customer does The steps for your customer are different for each method. ### With Direct Debit 1. Your customer opens the enrolment page from your shop or from your link, and chooses their bank. 2. They sign in to their online banking and approve the e-Mandate. The bank takes RM1.00 from the account. Bayarcash does not refund it. 3. The bank checks and approves the e-Mandate. At Bayarcash, this usually takes 3 to 5 days. 4. The deductions start on the schedule. Your customer does nothing more for each deduction. ### With a card 1. Your customer types their card details on the Bayarcash payment page. 2. They confirm the payment with the OTP from their bank. 3. For the next payment, they pay again in the same way. ## Set up recurring payments Bayarcash gives you these ways to start Direct Debit: - **One customer at a time:** in the merchant dashboard, open **Transactions**, then **e-Mandates**, then **New Enrollment**. See [Enrol a customer in Direct Debit](/direct-debit-enrollment/). - **A WooCommerce shop:** use **Bayarcash Direct Debit** with WooCommerce Subscriptions. See [WooCommerce](/woocommerce/). - **GiveWP donations:** use the GiveWP Recurring Donations add-on. See [GiveWP](/givewp/). - **Your own system:** use the Direct Debit API. See [Developers](/developers/). ## Tips - **Tell your customer the schedule.** Say the amount and the day of each deduction before they approve the e-Mandate. - **Watch the first deduction.** Check [Direct Debit transactions](/direct-debit-transactions/) after the first deduction date, then follow up on any failure. --- # Check your Direct Debit transactions > See every Direct Debit payment and enrolment made through your Bayarcash account, from the Transaction menu in the merchant dashboard. > > Source: https://docs.bayarcash.com/direct-debit-transactions/ Direct Debit payments have their own list in the merchant dashboard. Use it to see the enrolments and every deduction processed for your account. ## Open the Direct Debit transaction list Do this when you want to check one customer's recurring payment, or review recent deductions. 1. Sign in to the merchant dashboard. See [Sign in](/sign-in/). 2. Select **Transactions** in the menu at the top left of the dashboard. 3. In the drop-down, under **Direct Debit**, select **Transactions**. *(Screenshot: The Transactions menu open with Transactions under Direct Debit highlighted)* 4. The page lists every Direct Debit transaction made through your account. *(Screenshot: The Direct Debit Transactions page with the Unsuccessful and Successful totals and the list columns)* ## What the list contains The list holds two kinds of rows: the application to set up the Direct Debit (the enrolment) and each deduction that follows. Each row has a status. | Status | What it means | |---|---| | New | Created, not started yet. | | Pending | Waiting for the bank. | | Unsuccessful | The bank did not approve or could not collect. | | Successful | The bank approved or collected the money. | | Cancelled | Stopped before it finished. | | Abandoned | The customer left before completing it. | To check the agreement itself (whether it is active or terminated), use the [e-Mandate list](/e-mandates/). ## Why a deduction fails When the bank of your customer rejects a deduction, it gives one of these reasons: | Reason from the bank | What it means | What to do | |---|---|---| | Account error | There is a problem with the account of your customer. | Ask your customer to check the account with their bank. | | Refer to drawer | The bank did not pay. Usually the account does not have enough money. | Ask your customer to put money in the account. | | Account not registered | The account has no active e-Mandate at the bank. | Check the e-Mandate in the [e-Mandate list](/e-mandates/). | | Exceeded maximum amount | The deduction is more than the amount in the e-Mandate. | Ask your customer to change the amount. See [Change or end a Direct Debit](/direct-debit-maintenance-termination/). | | Exceeded number of deductions | The deduction is more than the number of deductions that the e-Mandate allows. | Contact Bayarcash support. | | Duplicate record | The same deduction came 2 times. | Contact Bayarcash support. | | System error, seller error or others | A different problem. | Contact Bayarcash support. | ## For developers Developers can list and filter Direct Debit transactions through the API instead of the merchant dashboard. See [Developers](/developers/) and the [API reference](https://api-reference.bayarcash.com). --- # Check your Direct Debit e-Mandates > See the list of Direct Debit e-Mandates made through your account and use the e-mandate checker to look up the status of one. > > Source: https://docs.bayarcash.com/e-mandates/ An e-Mandate is your customer's electronic approval for you to collect money from their bank account on a schedule. The account can be a current, savings or credit card account. The e-Mandate list in the merchant dashboard shows every one made through your account, and the **e-mandate checker** looks up the status of one. ## Open the e-Mandate list Do this to see all your customers' e-Mandates in one place. 1. Sign in to the merchant dashboard. See [Sign in](/sign-in/). 2. Select **Transactions** in the menu at the top left of the dashboard. 3. In the drop-down, under **Direct Debit**, select **e-Mandates**. *(Screenshot: The Transactions menu open with e-Mandates under Direct Debit highlighted)* 4. The page lists every Direct Debit e-Mandate made through your account. *(Screenshot: The Direct Debit e-Mandates page with sample e-Mandates)* ## Check the status of an e-Mandate Use the checker when a customer asks whether their e-Mandate is active. 1. On the e-Mandates list, select the **e-mandate checker** button. 2. Follow the screen to look up the e-Mandate. ## e-Mandate statuses An e-Mandate moves through these statuses. | Status | What it means | |---|---| | New | Created, the customer has not finished yet. | | Waiting Approval | Sent to the bank, waiting for its answer. | | Failed Bank Authorization | The bank did not authorise it. | | Active | Approved. Deductions can run. | | Terminated | Ended. No more deductions. | | Rejected | The bank rejected the application. | | Cancelled | Cancelled before it became active. | To end an e-Mandate, see [Change or end a Direct Debit](/direct-debit-maintenance-termination/). To see the payments collected, see [Direct Debit transactions](/direct-debit-transactions/). ## The e-Mandate page for your customers Your customers can use the Bayarcash mandate page at [mandate.bayarcash.com](https://mandate.bayarcash.com/) without an account. The old address, mandate.bayar.cash, opens the same page. - To check the status of an e-Mandate, they type the **Payment Reference Number** and their **Email**, then choose **Check Mandate**. See [Check an e-Mandate](/public-checkers/#check-an-e-mandate). - To end an e-Mandate, see [End it on the Bayarcash mandate page](/direct-debit-maintenance-termination/#end-it-on-the-bayarcash-mandate-page). Give your customers this address if they ask where to check or end their Direct Debit. ## For developers The API can enrol, list, change and terminate e-Mandates. See [Developers](/developers/) and the [API reference](https://api-reference.bayarcash.com). --- # When Direct Debit deductions happen > How weekly, monthly and yearly Direct Debit works from enrolment to each deduction, and when a failed monthly deduction is tried again. > > Source: https://docs.bayarcash.com/direct-debit-deduction-schedule/ Direct Debit collects money from your customer's bank account on a fixed rhythm: weekly, monthly or yearly. Bayarcash does not offer daily Direct Debit. Before the first deduction, the bank must approve the enrolment. ## Monthly Direct Debit Use this to know what happens to a customer who pays once a month. 1. Your customer applies to enrol in Direct Debit for monthly payments. 2. The application waits for the bank's approval. This usually takes 3 to 5 days. 3. Once approved, the enrolment is activated. 4. The first deduction is scheduled for the 3rd to the 5th of the month after the month of enrolment. 5. If the first deduction fails, it is tried once more between the 25th and 28th of that same month. ## Weekly Direct Debit Use this to know what happens to a customer who pays once a week. 1. Your customer applies to enrol in Direct Debit for weekly payments. 2. The application waits for the bank's approval. This usually takes 3 to 5 days. 3. Once approved, the enrolment is activated. 4. The first deduction is on a Friday, two weeks after the enrolment day. 5. After that, a deduction is made every Friday. ## Yearly Direct Debit A yearly Direct Debit makes one deduction each year. The bank must approve the enrolment first, the same as for weekly and monthly. The deduction date follows the e-Mandate. {/* TODO Hanny: yearly deduction day */} ## Follow each deduction Each enrolment and deduction appears in [Direct Debit transactions](/direct-debit-transactions/). The agreement itself is in the [e-Mandate list](/e-mandates/). > **Note** > If a date you see differs from the schedule above, contact Bayarcash support. ## Recurring payments in your shop If you sell subscriptions or recurring donations, the plugin sets Direct Debit up for your customer. See [WooCommerce](/woocommerce/) and [GiveWP](/givewp/). Developers can start an enrolment through the API: see [Developers](/developers/) and the [API reference](https://api-reference.bayarcash.com). --- # Change or end a Direct Debit > How a customer ends a Direct Debit themselves, from the link in their email or on the Bayarcash mandate page, and what you can do as a merchant. > > Source: https://docs.bayarcash.com/direct-debit-maintenance-termination/ A customer can end their own Direct Debit without contacting you. They choose one of two ways: the link in the e-Mandate email, or the Bayarcash mandate page. Share this page with a customer who asks how to stop. ## End it from the email Use this when the customer still has the e-Mandate email. 1. Open the e-Mandate email. 2. Select the **termination form** link in the email. 3. Select **Proceed With Termination**. ## End it on the Bayarcash mandate page Use this when the customer would rather do it on the website. 1. Go to the Bayarcash mandate page at https://mandate.bayarcash.com/. 2. Enter the details it asks for. You find them in the e-Mandate email. 3. Follow the screen to finish the termination. ## What a change can do A change (maintenance) updates an e-Mandate that is active. The customer approves each change in their online banking. A change can update these details: - The phone number. - The email. - The amount. - The bank account. The customer selects the new account when they sign in to their online banking. A change cannot move the e-Mandate to a different bank. A change and an end always go to the bank of the enrolment. To pay from a different bank, the customer ends the e-Mandate and enrols again. ## What you can do as a merchant Only the payer can terminate a Direct Debit. As a merchant you can: - Check the status in the [e-Mandate list](/e-mandates/). A terminated e-Mandate shows **Terminated**. - Through the API, stop an active e-Mandate from being deducted without terminating it. - Through the API, start a maintenance or termination request. The customer gets a link to confirm it. Developers: see [Developers](/developers/) and the [API reference](https://api-reference.bayarcash.com). For recurring orders in your shop, see [WooCommerce](/woocommerce/) and [GiveWP](/givewp/). --- # Enrol a customer in Direct Debit from the merchant dashboard > Start a Direct Debit e-Mandate for a customer with New Enrollment, without a website or plugin. > > Source: https://docs.bayarcash.com/direct-debit-enrollment/ **New Enrollment** starts a Direct Debit e-Mandate for a customer from the merchant dashboard. Use it when you do not have a website or plugin that does the enrolment for you. ## Enrol a customer You need the Portal Key of a portal that has Direct Debit turned on. 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Transactions**, then choose **e-Mandates**. 3. Choose **New Enrollment**. The **Direct Debit Enrollment** form opens. 4. Fill in the fields. The table below gives each field. 5. Choose **Proceed With Enrollment**. *(Screenshot: The Direct Debit Enrollment form with sample values and the Proceed With Enrollment button highlighted)* The form has these fields: | Field | What to type | |---|---| | **Portal Key** | The key of the portal that receives the deductions. See [Find your API keys](/api-keys/) | | **Name** | The name of the customer | | **Payer ID Number** | The type of ID (**New IC Number**, **Old IC Number**, **Passport Number**, **Business Registration** or **Others**) and the number | | **Mobile Number** and **Email** | The contact details of the customer | | **Payment Reference Number** | Your own reference for this e-Mandate | | **Amount** | The amount of each deduction, in MYR | | **Frequency Mode** | **Weekly** (deductions on Friday), **Monthly** or **Yearly**. Do not choose **Daily**: Bayarcash does not offer it | | **Purpose of Payment** | What the customer pays for | | **Return URL** | The page that opens after the enrolment | | **Raw Website Data** | Extra data from your website, if you have it | ## What your customer does at the bank Your customer approves the e-Mandate in their own online banking, through FPX. Tell them about these steps before they start. 1. Your customer chooses their bank. FPX opens the online banking of that bank. 2. They sign in and select the account for the deductions. The account can be a current, savings or credit card account. 3. They confirm with the TAC or OTP from their bank. 4. The bank takes RM1.00 from the account. Bayarcash does not refund it. The bank statement can show it as "e-Mandate Enrolment". 5. Your customer comes back to your page with the result. ## After the enrolment The new e-Mandate shows in the **Direct Debit e-Mandates** list. Its status changes when the bank replies, usually in 3 to 5 days. See [Check your Direct Debit e-Mandates](/e-mandates/). --- # Check your Direct Debit billing files > The Collection Billing Files page lists the billing files of your Direct Debit collections, with their billing date, status and amount. > > Source: https://docs.bayarcash.com/collection-billing-files/ The **Collection Billing Files** page lists the billing files of your Direct Debit collections. Each file has a billing date, a batch ID and a total amount. ## Open the billing files To see the list of billing files: 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Transactions**, then choose **Billing Files**. 3. To find one file, choose **Advance Filter**. Then set the **Created Date Range**, the **Billing Date** or the **Batch ID**. *(Screenshot: The Collection Billing Files page with Advance Filter open and highlighted)* The list has these columns: | Column | What it shows | |---|---| | **Created** and **Billing Date** | The date of the record, and the billing date of the file | | **Status** and **Frequency** | The status of the file, and its deduction frequency | | **Batch ID**, **File Name** and **Seller Name** | The references of the file | | **Total Items** and **Amount** | The number of items in the file, and their total amount | To keep a copy of the list, choose **Export CSV**. To see each deduction and its result, see [Check your Direct Debit transactions](/direct-debit-transactions/). For the dates of the deductions, see [When Direct Debit deductions happen](/direct-debit-deduction-schedule/). --- # Connect WooCommerce to Bayarcash > Install the Bayarcash WC plugin, enter your keys for each payment channel you want and take FPX, DuitNow, card, e-wallet and Direct Debit payments. > > Source: https://docs.bayarcash.com/woocommerce/ The **Bayarcash WC** plugin adds Bayarcash to your WooCommerce checkout. Each Bayarcash payment channel is a separate WooCommerce payment method with its own settings page and its own keys, so you set up only the channels you want. The plugin fully supports [WooCommerce Subscriptions](https://woocommerce.com/products/woocommerce-subscriptions/) products. Your customers can pay each renewal by Direct Debit, straight from their bank account. See [Direct Debit for subscriptions](#direct-debit-for-subscriptions). ## What it supports The plugin adds one WooCommerce payment method per channel. This is the name you see in **WooCommerce** → **Settings** → **Payments**, and the title your customers see at checkout until you change it: | Payment method in WooCommerce | Default checkout title | What your customer pays with | |---|---|---| | **Bayarcash FPX** | Online Banking | FPX online banking | | **Bayarcash DuitNow OBW** | Online Banking | DuitNow Online Banking/Wallets | | **Bayarcash FPX Line of Credit** | FPX Line of Credit | A credit card account through FPX | | **Bayarcash Credit & Debit Card** | Credit & Debit Card | Visa or Mastercard | | **Bayarcash DuitNow QR** | DuitNow QR | Any DuitNow QR banking or e-wallet app | | **Bayarcash Shopee Pay** | SPayLater / Shopee Pay | ShopeePay or SPayLater | | **Bayarcash BNPL by Boost** | Boost PayFlex | Boost PayFlex | | **Bayarcash Boost PayFlex** | Boost PayFlex | Boost PayFlex and Boost Wallet | | **Bayarcash Touch 'n Go eWallet** | Touch 'n Go eWallet | Touch 'n Go eWallet | | **Bayarcash GrabPay** | GrabPay | GrabPay | | **Bayarcash Grab PayLater** | Grab PayLater | PayLater by Grab | | **Bayarcash QRIS Online Banking** | Indonesia Online Banking | Indonesian online banking (QRIS) | | **Bayarcash QRIS e-Wallet** | Indonesia e-Wallet | Indonesian e-wallets (QRIS) | | **Bayarcash NETS Singapore** | NETS Singapore | NETS (Singapore) | | **Bayarcash Alipay** | Alipay | Alipay | | **Bayarcash WeChat Pay** | WeChat Pay | WeChat Pay | | **Bayarcash PromptPay Thailand** | PromptPay | PromptPay (Thailand) | | **Bayarcash Direct Debit** | Recurring Direct Debit | Weekly or monthly deductions from a bank account | **Bayarcash Direct Debit** only appears when WooCommerce Subscriptions is active. A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/) and [Cross-border payment channels](/cross-border-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - WooCommerce installed and active, with the store currency set to Malaysian ringgit (MYR). - A site that is online and served over HTTPS, so Bayarcash can send payment results back to it. ## Install the plugin The plugin is free on WordPress.org as [Bayarcash WooCommerce](https://wordpress.org/plugins/bayarcash-wc/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash WC** and click **Install**. 3. Click **Activate**. ## Set up a payment channel Repeat these steps for every channel you want to offer. Each channel's settings page has its own copy of every field below. 1. Go to **WooCommerce** → **Settings** → **Payments** and open the Bayarcash channel you want, for example **Bayarcash FPX**. 2. Tick **Enable/Disable**. 3. Leave **Sandbox Mode** cleared for real payments. See [Test in sandbox](#test-in-sandbox) below. 4. Optional: change **Title** and **Description**, the text your customer sees at checkout. 5. Under **Credentials**, paste your token into **Personal Access Token (PAT)**. The plugin checks it and shows "PAT Token is valid". You can also click **Verify Token**. 6. Choose your portal in **Portal Key**. The list fills in once the token is valid. 7. Paste your key into **API Secret Key**. 8. Click **Save changes**. > **Tip** > Already set up one channel? On the next one, choose that channel in **Copy Credentials** and click **Copy**. It copies the token, secret key, portal key and **Sandbox Mode** setting in one go. ## Optional settings Each channel also has these settings, under **Miscellaneous** and **Additional Charges**: | Setting | What it does | |---|---| | **Country Restrictions** | Shows the channel only to customers from one country. **Off** shows it to everyone. | | **Email Fallback** | The email sent to Bayarcash when your checkout does not ask the customer for one. | | **Debug Mode** | Writes extra detail to the WooCommerce logs (**WooCommerce** → **System Status** → **Logs**) for troubleshooting. | | **Place Order Text** | The checkout button text. `{total}` shows the cart total. | | **Logo Size Unit** and **Logo Size** | The size of the channel logo at checkout. | | **Enable Additional Charges** | Adds a fee to the order when the customer pays with this channel, set with **Fee Name**, **Charge Type** and **Charge Amount**. | To take payments into more than one Bayarcash account, use the **Bayarcash Multi-Merchant** tab in **WooCommerce** → **Settings**. It adds extra FPX and DuitNow payment methods, each with its own keys. ## Test in sandbox Test on the Bayarcash sandbox before you take real payments: 1. Get a token, secret key and portal key from the [sandbox merchant dashboard](https://console.bayarcash-sandbox.com). Live keys do not work in the sandbox. 2. On the channel's settings page, tick **Sandbox Mode**, enter the sandbox keys and click **Save changes**. 3. Place a test order and pay it. 4. When it works, clear **Sandbox Mode**, enter your live keys and save again. Sandbox mode is set per channel, so check each channel you tested. ## How payment results reach your store You do not paste a callback URL into the merchant dashboard. The plugin sends its own return and callback address with each payment, on your site at `/?wc-api=bayarcash_callback`. When the payment ends, Bayarcash sends the result there and the plugin updates the order. It also re-checks unpaid orders on a schedule. If orders stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall, security plugin or maintenance mode blocks `?wc-api=` addresses. See [Callbacks and checksum](/callbacks-and-checksum/). ## Direct Debit for subscriptions Bayarcash Direct Debit works with WooCommerce Subscriptions. The customer signs an e-mandate once, and Bayarcash then deducts each renewal from their bank account. To use it: 1. Install and activate WooCommerce Subscriptions. 2. Set up **Bayarcash Direct Debit** like any other channel. 3. Create subscription products billed every week or every month. Other billing periods are refused at checkout. At checkout the customer fills in **Identification Type** and **Identification Number**, then approves the e-mandate with their bank. Their bank account is charged a small verification amount, and the order note says whether bank verification passed. A cart can hold one subscription and no other items. For when deductions happen and how to follow them, see [Direct Debit deduction schedule](/direct-debit-deduction-schedule/) and [Direct Debit transactions](/direct-debit-transactions/). ## Tips Two habits make a WooCommerce setup smoother: - **Set up only the channels your portal can take.** A channel that is not turned on for your portal shows a warning in its settings and fails at checkout. - **Use a separate portal for each shop.** Reports and payouts are easier to reconcile when each site has its own portal. --- # Send BCL payment links from WooCommerce orders > Install BCL Payment Link to make a BCL payment link for an unpaid WooCommerce order, send it to your customer and update the order when they pay. > > Source: https://docs.bayarcash.com/bcl-payment-link/ **BCL Payment Link** adds a **BCL Payment Link** column to your WooCommerce orders list. For an unpaid order, you make a BCL payment link with one click. Then you send it to your customer, for example by WhatsApp or email. When the customer pays, the plugin marks the order as paid. Use it to recover orders that customers did not complete. The plugin uses [BCL](https://bcl.my), which takes the payment through Bayarcash. See [What is Bayarcash](/what-is-bayarcash/). ## What it supports All links from your site use one payment method. You choose it in **Payment Method**: | Option | What your customer pays with | |---|---| | **FPX (Current & Saving Account)** | FPX online banking | | **Line of Credit** | A credit card account through FPX | | **DuitNow OBW** | DuitNow online banking or e-wallet | ## Before you start You need these before you set up the plugin: - WooCommerce installed and active. The plugin needs it. - A BCL account that is connected to Bayarcash. To register, go to [bcl.my/register](https://bcl.my/register). - A BCL API token with **API Read** and **API Write**. See [Create an API token](https://docs.bcl.my/api-tokens/) in the BCL help centre. - Your Bayarcash **Portal Key**. See [Find your API keys](/api-keys/). ## Install the plugin The plugin is free on WordPress.org as [BCL Payment Link](https://wordpress.org/plugins/bcl-payment-link/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **BCL Payment Link** and click **Install**. 3. Click **Activate**. ## Set up the plugin The settings are on a tab of the WooCommerce settings: 1. Go to **WooCommerce** → **Settings** and open the **BCL Payment Link** tab. The **Settings** link under the plugin on the **Plugins** page opens the same tab. 2. Fill in the fields: | Field | What to enter | |---|---| | **API Token** | Your BCL API token. Required. | | **Portal Key** | Your Bayarcash portal key. Required. | | **Order Prefix** | A short code for this site, for example `SITEA`. Required. BCL gets the order number as prefix, hyphen and order number, for example `SITEA-116`. | | **Payment Method** | The payment method for every link. It is **FPX (Current & Saving Account)** until you change it. | 3. Save the changes. ## Send a payment link Do this for each unpaid order: 1. Go to **WooCommerce** → **Orders**. 2. In the **BCL Payment Link** column of the order, click **Generate Payment Link**. The plugin shows "Payment link generated successfully. Refreshing page..." and loads the page again. 3. Click **Copy Link**. The button shows "Copied!". 4. Send the link to your customer. The plugin also adds a private order note with the link: "BCL payment link generated: ...". The link uses the amount, name, email and phone number of the order. ## How the order is updated The plugin checks the status of each link about once a minute. It checks the 50 newest orders that have a link and the status Pending payment, On hold, Cancelled or Failed. Then it changes the order: | Payment result in BCL | Order status | Order note | |---|---|---| | Paid | Processing | "Payment received via BCL Payment Link" | | Cancelled | Cancelled | "Payment cancelled" | | Failed | Failed | "Payment failed" | While the payment is new or pending, the order stays as it is. ## Tips - **Use a different Order Prefix on each site.** The plugin finds each payment by its order number. Two sites with one prefix can mix their payments. - **Run WP-Cron from the server.** On a quiet site, set up a server cron job for WP-Cron. Paid orders then change status on time. --- # Connect GiveWP to Bayarcash > Install the Bayarcash GiveWP plugin to collect one-off donations by FPX, DuitNow and more, and recurring donations by Direct Debit. > > Source: https://docs.bayarcash.com/givewp/ The **Bayarcash GiveWP** plugin adds Bayarcash to your GiveWP donation forms. Donors can give once by FPX, DuitNow and other channels, or give every week or month by Direct Debit. Recurring donations need the [Recurring Donations for GiveWP](https://givewp.com/addons/recurring-donations/) add-on. Bayarcash then deducts each donation from the donor's bank account by itself, at a flat-rate fee. See [Recurring donations by Direct Debit](#recurring-donations-by-direct-debit). To see the plugin at work before you install it, try the [live demo](https://givewp.bayarcash-demo.com/). ## What it supports Each Bayarcash channel is a separate GiveWP payment gateway. You can turn on as many as you like: | Gateway in GiveWP | What the donor pays with | |---|---| | **Online Banking** | FPX online banking. Also runs recurring donations by Direct Debit. | | **Online Banking (DuitNow)** | DuitNow Online Banking/Wallets | | **Credit Card** | FPX Line of Credit: a credit card account through FPX, not a card payment. See [FPX Line of Credit](/fpx-line-of-credit/) | | **DuitNow QR** | Any DuitNow QR banking or e-wallet app | | **Boost PayFlex** | Boost PayFlex | | **Indonesia Online Banking** | Indonesian online banking (QRIS) | | **Indonesia e-Wallet** | Indonesian e-wallets (QRIS) | | **NETS** | NETS (Singapore) | | **Alipay** | Alipay | | **WeChat Pay** | WeChat Pay | | **PromptPay** | PromptPay (Thailand) | A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - GiveWP installed and active, with the currency set to Malaysian ringgit (MYR). - For recurring donations, the GiveWP Recurring Donations add-on. ## Install the plugin The plugin is free on WordPress.org as [Bayarcash GiveWP](https://wordpress.org/plugins/bayarcash-givewp/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash GiveWP** and click **Install**. 3. Click **Activate**. ## Enter your keys The Bayarcash settings page has one tab per channel, and each tab keeps its own keys. Fill in the tab of every channel you want to use: 1. Go to **Donations** → **Settings** → **Payment Gateways**, then open the **Bayarcash** section. 2. Click the channel's tab, for example **Online Banking**. 3. Paste your token into **Personal Access Token (PAT)** and click **Verify Token**. It shows "PAT Token is valid" when the token works. 4. Choose your portal in **Portal Key**. The list fills in once the token is valid. 5. Paste your key into **API Secret Key**. 6. Optional: set **Billing Fields** to **Enabled** to ask donors for their billing details, and **Enable Phone field** to **Enabled** to ask for a phone number on one-off donations. 7. Click **Save changes**. ## Turn on the gateways The keys alone do not show Bayarcash on your forms. Turn on each gateway in GiveWP too: 1. In **Donations** → **Settings** → **Payment Gateways**, open GiveWP's list of gateways. 2. Tick each Bayarcash gateway you set up, for example **Online Banking** and **DuitNow QR**. 3. Optional: rename the label donors see, for example to "Online Banking (FPX)". 4. Save. ## Use different keys on one form Each donation form can use its own Bayarcash account or portal, which helps when you want each campaign's money reported separately. In the form editor, open the Bayarcash channel's tab and choose an option: | Option | When to use it | |---|---| | **Global Option** | Use the keys from the Bayarcash settings page. | | **Customize** | Enter a different **Personal Access Token (PAT)**, **Portal Key** and **API Secret Key** for this form only. | | **Disable** | Hide this channel on this form. | ## Test in sandbox The plugin follows GiveWP's test mode. When test mode is on, every Bayarcash payment goes to the Bayarcash sandbox, using the keys you entered: 1. Get a token, secret key and portal key from the [sandbox merchant dashboard](https://console.bayarcash-sandbox.com). Live keys do not work in the sandbox. 2. Turn on GiveWP's test mode. 3. Enter the sandbox keys on the Bayarcash settings page and save. 4. Make a test donation. 5. When it works, turn off test mode, enter your live keys and save again. ## How payment results reach your site You do not paste a callback URL into the merchant dashboard. The plugin sends its own address with each donation, on your site at `/give-api/bayarcash_gateway/`, and Bayarcash sends the result there. The plugin also re-checks pending donations every 5 minutes. If donations stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall or security plugin blocks that address. See [Callbacks and checksum](/callbacks-and-checksum/). ## Recurring donations by Direct Debit With the GiveWP Recurring Donations add-on, donors can give every week or every month by Direct Debit. The donor signs an e-mandate once, and Bayarcash deducts each donation from their bank account. To take recurring donations: 1. Install and activate GiveWP Recurring Donations. 2. Set up the **Online Banking** gateway as above. 3. Make the form recurring, with a weekly or monthly period. On a recurring form the donor fills in **Phone Number**, **Identification Type** and **Identification Number**, then approves the e-mandate with their bank. Their bank account is charged a small, non-refundable verification amount, and the receipt says so. See [Direct Debit deduction schedule](/direct-debit-deduction-schedule/) and [e-Mandates](/e-mandates/). ## Tips Two habits help with donations: - **Use a separate portal for each campaign.** A per-form portal keeps each campaign's donations apart in your Bayarcash reports. - **Keep donor emails short on recurring forms.** Direct Debit takes emails of up to 27 characters, so a long address blocks the donation. --- # Connect Fluent Forms to Bayarcash > Install Bayarcash for Fluent Forms to take FPX, DuitNow, card and cross-border payments on your Fluent Forms Pro payment forms. > > Source: https://docs.bayarcash.com/fluent-forms/ **Bayarcash for Fluent Forms** adds Bayarcash as a payment method on your Fluent Forms Pro payment forms. Your customer fills in the form, pays on the Bayarcash page and comes back to your site. To see the plugin at work before you install it, try the [live demo](https://form.bayarcash-demo.com/fluentform/). ## What it supports The plugin adds one payment method per channel. You pick the ones you want on each form: | Payment method | What your customer pays with | |---|---| | FPX Online Banking | FPX online banking | | Credit Card | A credit card account through FPX | | DuitNow Online Banking | DuitNow Online Banking/Wallets | | DuitNow QR | Any DuitNow QR banking or e-wallet app | | SPayLater | SPayLater by Shopee | | Boost PayFlex | Boost PayFlex | | Indonesia Online Banking | Indonesian online banking (QRIS) | | Indonesia e-Wallet | Indonesian e-wallets (QRIS) | | NETS Singapore | NETS (Singapore) | Payments are one-off and in MYR only. Subscriptions and Direct Debit are not supported. A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - Fluent Forms Pro installed and active, with the payment currency set to Malaysian ringgit (MYR). ## Install the plugin The plugin is free on WordPress.org as [Bayarcash for Fluent Forms](https://wordpress.org/plugins/bayarcash-for-fluent-forms/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash for Fluent Forms** and click **Install**. 3. Click **Activate**. ## Enter your keys Enter your keys once for all your forms: 1. Go to **Fluent Forms** → **Bayarcash Settings**. The **Global Configuration** tab opens. 2. Leave **Enable Sandbox Mode** off for real payments. 3. Paste your token into **Personal Access Token** and click **Verify Token**. It shows "Token verified successfully" when the token works. 4. Choose your portal in **Portal Key**. 5. Paste your key into **API Secret Key**. 6. Optional: under **Miscellaneous**, change **Payment Title**. It is **Bayarcash** by default. 7. Save your settings. ## Add Bayarcash to a form Once your keys are saved, turn on the payment methods on each form: 1. Open the form in Fluent Forms and go to its payment settings. 2. Turn on the Bayarcash payment methods you want, for example **FPX Online Banking** and **DuitNow QR**. 3. Optional: change each method's **Method Label**. It is "Pay with" and the method name by default. 4. Save the form. ## Use different keys on one form A form can use its own Bayarcash account or portal instead of the global one: 1. In **Fluent Forms** → **Bayarcash Settings**, open **Form Configuration** and pick the form. 2. Turn on **Customization**. 3. Enter the **Personal Access Token**, **Portal Key** and **API Secret Key** for this form. Here **Portal Key** is a text box, so paste the key from the merchant dashboard. 4. Save your settings. ## Add a processing fee The **Bayarcash Gateway Fee** tab lets you add a fee to the amount your customer pays. You can set it for **FPX Online Banking**, **Credit Card**, **DuitNow Online Banking** and **DuitNow QR**, as a flat amount, a percentage or both, with a description your customer sees. Other channels use the **DuitNow QR** fee. Fees apply to every form. ## Test in sandbox Test on the Bayarcash sandbox before you take real payments: 1. Get a token, secret key and portal key from the [sandbox merchant dashboard](https://console.bayarcash-sandbox.com). Live keys do not work in the sandbox. 2. Turn on **Enable Sandbox Mode**. The page shows "Sandbox mode is enabled. Make sure to use sandbox credentials for testing." 3. Enter the sandbox keys, verify the token and save. 4. Submit a test payment on your form. 5. When it works, turn off **Enable Sandbox Mode**, enter your live keys and save again. A form with **Customization** on has its own **Enable Sandbox Mode** switch. Check it too. ## How payment results reach your site You do not paste a callback URL into the merchant dashboard. The plugin sends its own address with each payment, on your site at `/index.php?fluentform_payment_api_notify=1`, and Bayarcash sends the result there. The plugin then marks the submission paid or failed. If submissions stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall or security plugin blocks that address. See [Callbacks and checksum](/callbacks-and-checksum/). ## Tips Two habits help with Fluent Forms: - **Put a name and email field on every payment form.** Bayarcash needs your customer's name and email to create the payment. - **Use Backup and Restore before big changes.** The **Backup and Restore** tab exports your Bayarcash settings so you can put them back later. --- # Connect FluentCart to Bayarcash > Install Bayarcash for FluentCart, enter your keys and choose which Bayarcash payment channels your customers can pick at checkout. > > Source: https://docs.bayarcash.com/fluentcart/ **Bayarcash for FluentCart** adds Bayarcash to your FluentCart checkout. Your customer picks a payment channel, pays on the Bayarcash page and comes back to your receipt page. To see the plugin at work before you install it, try the [live demo](https://fluentcart.bayarcash-demo.com/). ## What it supports You choose which channels your customers see at checkout. The options in **Payment Channels** are: | Channel | What your customer pays with | |---|---| | **FPX (Online Banking)** | FPX online banking | | **FPX Line of Credit** | A credit card account through FPX | | **DuitNow Online Banking/Wallets** | DuitNow online banking or e-wallet | | **DuitNow QR** | Any DuitNow QR banking or e-wallet app | | **Credit Card** | Visa or Mastercard | | **Boost PayFlex** | Boost PayFlex | | **QRIS (Online Banking)** | Indonesian online banking | | **QRIS (E-Wallet)** | Indonesian e-wallets | | **NETS** | NETS (Singapore) | | **Alipay** | Alipay | | **WeChat Pay** | WeChat Pay | | **PromptPay** | PromptPay (Thailand) | The list also shows **FPX Direct Debit**. This is the plugin's name for Direct Debit: the customer uses FPX only to approve, change or end the e-Mandate. A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - FluentCart installed and active, with the store currency set to Malaysian ringgit (MYR). ## Install the plugin The plugin is free on WordPress.org as [Bayarcash for FluentCart](https://wordpress.org/plugins/bayarcash-for-fluentcart/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash for FluentCart** and click **Install**. 3. Click **Activate**. ## Set up Bayarcash All the settings are on one page: 1. Go to **FluentCart** → **Settings** → **Payments** and open **Bayarcash**. 2. Paste your token into **Personal Access Token (PAT)**. 3. Paste your key into **API Secret Key**. 4. Paste your portal key into **Portal Key**. 5. In **Payment Channels**, tick the channels your customers can choose. **FPX (Online Banking)** and **DuitNow QR** are ticked to start with. 6. Turn Bayarcash on and save. When your store is live, saving shows "Bayarcash gateway credentials verified successfully!". This only confirms the fields are filled in, so make a small test payment to be sure the keys work. ## Change the checkout look The same page sets how the Bayarcash button looks at checkout: | Setting | What it changes | |---|---| | **Bayarcash Checkout Theme** | **Light** or **Dark** | | **Bayarcash Checkout Button Text** | The button text. It is "Pay with Bayarcash" by default. | | **Bayarcash Checkout Button Color** and **Bayarcash Checkout Button Hover Color** | The button colours | | **Bayarcash Checkout Button Text Color** | The colour of the button text | | **Bayarcash Checkout Button Font Size** | The text size, for example `16px` | ## Test in sandbox The plugin has no sandbox switch of its own. It follows your FluentCart store mode: - **Test mode:** payments go to the Bayarcash sandbox, using test keys built into the plugin. The keys you entered are not used, and saving shows "Bayarcash test mode is enabled with your credentials." - **Live mode:** payments go to Bayarcash using the keys you entered. Put your store in test mode, place an order and pay it on the sandbox page. When it works, put your store back in live mode and make one small real payment to check your own keys. ## How payment results reach your store You do not paste a callback URL into the merchant dashboard. The plugin sends its own addresses with each payment: Bayarcash reports the result to your site at `/?fluent-cart=fct_payment_listener_ipn&method=bayarcash`, and your customer returns to your FluentCart receipt page. The plugin then marks the order paid or failed. It never changes an order that is already paid or refunded. If orders stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall or security plugin blocks that address. See [Callbacks and checksum](/callbacks-and-checksum/). ## Tips Two habits help with FluentCart: - **Tick only the channels your portal can take.** Customers who pick a channel that is off for your portal cannot pay. - **Always test once with your live keys.** Test mode uses the plugin's own keys, so it does not prove your keys are right. --- # Connect Easy Digital Downloads to Bayarcash > Install Bayarcash for Easy Digital Downloads, enter your keys and choose which Bayarcash payment methods your buyers see at checkout. > > Source: https://docs.bayarcash.com/easy-digital-downloads/ **Bayarcash for Easy Digital Downloads** adds Bayarcash to your EDD checkout. Your buyer picks a payment method, pays on the Bayarcash page and comes back to your purchase confirmation page. To see the plugin at work before you install it, try the [live demo](https://edd.bayarcash-demo.com/). ## What it supports You choose which methods your buyers see at checkout. The options in **Payment Methods** are: | Payment method | What your buyer pays with | |---|---| | **FPX Online Banking** | FPX online banking | | **FPX Line of Credit** | A credit card account through FPX | | **DuitNow Online Banking/Wallets** | DuitNow online banking or e-wallet | | **DuitNow QR** | Any DuitNow QR banking or e-wallet app | | **Credit Card** | Visa or Mastercard | | **Touch n Go** | Touch 'n Go eWallet | | **Boost Wallet** and **Boost PayFlex** | Boost e-wallet, or Boost's pay later | | **GrabPay** and **Grab PayLater** | GrabPay, or PayLater by Grab | | **ShopeePay** | ShopeePay | | **QRIS Online Banking** and **QRIS Wallet** | Indonesian online banking or e-wallets | | **NETS** | NETS (Singapore) | | **Alipay**, **WeChat Pay** and **PromptPay** | Alipay, WeChat Pay or PromptPay (Thailand) | Payments are one-off. A method only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - Easy Digital Downloads installed and active, with the currency set to Malaysian ringgit (MYR) and a success page set in the EDD page settings. ## Install the plugin The plugin is free on WordPress.org as [Bayarcash For Easy Digital Downloads](https://wordpress.org/plugins/bayarcash-for-easy-digital-downloads/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash for Easy Digital Downloads** and click **Install**. 3. Click **Activate**. ## Enter your keys The plugin names your keys a little differently from the merchant dashboard: **Token** is your Personal Access Token (PAT), and **Secret Key** is your API Secret Key. 1. Go to **Downloads** → **Settings** → **Payments** and open the **Bayarcash** section. 2. Paste your Personal Access Token into **Token**. The plugin checks it and shows "PAT Token is valid". You can also click **Verify Token**. 3. Paste your API Secret Key into **Secret Key**. 4. Choose your portal in **Portal Key**. The list fills in once the token is valid. 5. In **Payment Methods**, tick the methods your buyers can choose. 6. Save. ## Turn on the gateway The keys alone do not show Bayarcash at checkout. Turn it on in EDD too: 1. In **Downloads** → **Settings** → **Payments**, open EDD's list of payment gateways. 2. Tick **Bayarcash**. 3. Save. Buyers see it at checkout as **Pay with Bayarcash**, with a list of the methods you ticked. ## Test in sandbox The plugin follows EDD's test mode, and swaps in its own test keys: - **Test mode on:** payments go to the Bayarcash sandbox, using test keys built into the plugin. The keys you entered are not used. - **Test mode off:** payments go to Bayarcash using your own keys. Turn on EDD's test mode, buy a product and pay it on the sandbox page. When it works, turn test mode off and make one small real payment to check your own keys. ## How payment results reach your store You do not paste a callback URL into the merchant dashboard. After paying, your buyer returns to your EDD success page. The plugin then asks Bayarcash for the payment result every minute and updates the order, adding an order note each time the status changes. This check runs on WP-Cron, so your site must be public and WP-Cron must run. See [Callbacks and checksum](/callbacks-and-checksum/). ## Tips Two habits help with Easy Digital Downloads: - **Always test once with your live keys.** Test mode uses the plugin's own keys, so it does not prove your keys are right. - **Turn on Debug Mode while you set up.** It writes `[Bayarcash]` lines to the EDD logs, which show exactly why a payment failed. --- # Connect Gravity Forms to Bayarcash > Install Bayarcash for Gravity Forms, enter your keys and add a Bayarcash feed so your forms take FPX, DuitNow and other payments. > > Source: https://docs.bayarcash.com/gravity-forms/ **Bayarcash for Gravity Forms** adds Bayarcash to your Gravity Forms payment forms. Your customer fills in the form, picks a payment method, pays on the Bayarcash page and comes back to your form's confirmation. To see the plugin at work before you install it, try the [live demo](https://form.bayarcash-demo.com/gravityforms/). ## What it supports You choose which channels your customers see. The options in **Payment Channels** are: | Channel | What your customer pays with | |---|---| | FPX Online Banking | FPX online banking | | Credit/Debit Card | A credit card account through FPX | | DuitNow Online Banking | DuitNow Online Banking/Wallets | | DuitNow QR | Any DuitNow QR banking or e-wallet app | | ShopeePayLater | SPayLater by Shopee | | Boost PayFlex | Boost PayFlex | | Indonesia Online Banking | Indonesian online banking (QRIS) | | Indonesia E-Wallet | Indonesian e-wallets (QRIS) | | NETS Singapore | NETS (Singapore) | Payments are one-off and in MYR only. Subscriptions and Direct Debit are not supported. A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - Gravity Forms installed and active, with the currency set to Malaysian ringgit (MYR). ## Install the plugin The plugin is listed on WordPress.org as [Bayarcash for Gravity Forms](https://wordpress.org/plugins/bayarcash-for-gravity-forms/). To install it: 1. In WordPress, go to **Plugins** → **Add New**. 2. Search for **Bayarcash for Gravity Forms** and click **Install**. 3. Click **Activate**. > **Note** > This guide follows version 2 of the plugin. If your Bayarcash settings page has only **Personal Access Token (PAT)** and **Portal Key**, with no **API Secret Key** or **Payment Channels**, you have an older version. Ask Bayarcash support for the latest one. ## Enter your keys Keys on the global settings page are used by every form that does not set its own: 1. Go to **Forms** → **Settings** → **Bayarcash**. 2. Paste your token into **Personal Access Token (PAT)** and click **Verify Token**. It shows "Token verified successfully!" when the token works. 3. Click **View Portal** and pick your portal from **Available Portals**. The plugin fills in **Portal Key** for you. 4. Paste your key into **API Secret Key**. 5. In **Payment Channels**, clear the channels you do not want. All are ticked to start with. 6. Leave **Enable Sandbox Mode** cleared for real payments. 7. Save. ## Add Bayarcash to a form Each form that takes payments needs a Bayarcash feed. The form also needs a product or total field, and fields for the customer's name and email. 1. Open the form and go to **Settings** → **Bayarcash**, then add a new feed. 2. Give the feed a name. 3. In **Configuration Type**, choose **Global Configuration** to use the keys from the settings page. To use a different account or portal for this form only, choose **Form Configuration** and fill in the keys, channels and sandbox setting that appear. 4. Choose the transaction type and the payment amount. 5. Under **Client Information.**, map **Email** and **Full Name** to your form fields. **Phone Number** is optional. 6. Optional: map **Purhase Description** (spelt that way in the plugin) to a field whose text goes with the payment. 7. Optional: set a **Cancel URL**, the page your customer goes to if they cancel. Left blank, they go back to the form. 8. Save the feed. When the form loads, your customer sees **Select Payment Method** with the channels you ticked. You can send emails on the **Payment Completed** and **Payment Failed** notification events. ## Test in sandbox When **Enable Sandbox Mode** is ticked, payments go to the Bayarcash sandbox using test keys built into the plugin. The keys you entered are not used for the payment. 1. Tick **Enable Sandbox Mode** and save. 2. Submit your form and pay on the sandbox page. 3. When it works, clear **Enable Sandbox Mode**, save, and make one small real payment to check your own keys. A feed set to **Form Configuration** has its own **Enable Sandbox Mode** box. Check it too. ## How payment results reach your site You do not paste a callback URL into the merchant dashboard. The plugin sends its own address with each payment, on your site at `/?callback=bayarcash-for-gravity-forms`, and Bayarcash sends the result there. The plugin marks the entry paid, pending or failed, and adds a note to the entry. If entries stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall or security plugin blocks that address. See [Callbacks and checksum](/callbacks-and-checksum/). ## Tips Two habits help with Gravity Forms: - **Always test once with your live keys.** Sandbox mode uses the plugin's own keys, so it does not prove your keys are right. - **Use Form Configuration for separate campaigns.** A different portal per form keeps each campaign's payments apart in your Bayarcash reports. --- # Connect Paymattic to Bayarcash > Install Bayarcash for Paymattic, enter your keys and add Bayarcash payment methods to your Paymattic Pro forms. > > Source: https://docs.bayarcash.com/paymattic/ **Bayarcash for Paymattic** adds Bayarcash payment methods to your Paymattic Pro forms. Your customer fills in the form, pays on the Bayarcash page and comes back to your form's confirmation. To see the plugin at work before you install it, try the [live demo](https://form.bayarcash-demo.com/paymattic/). ## What it supports Each channel is a payment method you add to a form: | Payment method | What your customer pays with | |---|---| | FPX Online Banking | FPX online banking | | Credit Card | A credit card account through FPX | | DuitNow Online Banking | DuitNow Online Banking/Wallets | | DuitNow QR | Any DuitNow QR banking or e-wallet app | | SPayLater | SPayLater by Shopee | | Boost PayFlex | Boost PayFlex | | Indonesia Online Banking | Indonesian online banking (QRIS) | | Indonesia e-Wallet | Indonesian e-wallets (QRIS) | | NETS Singapore | NETS (Singapore) | Payments are one-off and in MYR only. Subscriptions and Direct Debit are not supported. A channel only works if it is also turned on for your Bayarcash portal. See [Payment channels](/payment-channels/). ## Before you start You need these before you set up the plugin: - An approved Bayarcash merchant account. - Your **Personal Access Token (PAT)**, **API Secret Key** and **Portal Key**. See [Find your API keys](/api-keys/). - Paymattic Pro installed and active, with the currency set to Malaysian ringgit (MYR). - The Bayarcash for Paymattic plugin zip file. It is not on WordPress.org: [download the zip file](https://bayarcash.com/wp-content/uploads/sites/2/2025/02/bayarcash-for-paymattic.zip) from Bayarcash. ## Install the plugin Upload the zip file to WordPress: 1. In WordPress, go to **Plugins** → **Add New** → **Upload Plugin**. 2. Choose the zip file and click **Install Now**. 3. Click **Activate Plugin**. ## Enter your keys Enter your keys once for all your forms: 1. Go to **Paymattic** → **Bayarcash Settings**. The **Global Configuration** tab opens. 2. Leave **Enable Sandbox Mode** off for real payments. 3. Paste your token into **Personal Access Token** and click **Verify Token**. It shows "Token verified successfully" when the token works. 4. Paste your portal key into **Portal Key**. 5. Paste your key into **API Secret Key**. 6. Optional: under **Miscellaneous**, change **Payment Title**. It is **Bayarcash** by default. 7. Save your settings. ## Add Bayarcash to a form Once your keys are saved, add the payment methods to each form: 1. Open the form in Paymattic. 2. Add a name field and an email field if the form does not have them. Bayarcash needs both. 3. Add the Bayarcash payment method elements you want, for example **FPX Online Banking** and **DuitNow QR**. Each can be added once per form. 4. Optional: change each method's **Payment Option Label**. It is "Pay with" and the method name by default. 5. Save the form. ## Use different keys on one form A form can use its own Bayarcash account or portal instead of the global one: 1. In **Paymattic** → **Bayarcash Settings**, open **Form Configuration** and pick the form. 2. Turn on **Customization**. 3. Enter the **Personal Access Token**, **Portal Key** and **API Secret Key** for this form. 4. Save your settings. ## Add a processing fee The **Bayarcash Gateway Fee** tab lets you add a fee to the amount your customer pays. You can set it for **FPX Online Banking**, **Credit Card**, **DuitNow Online Banking** and **DuitNow QR**, as a flat amount, a percentage or both, with a description your customer sees. Other channels use the **DuitNow QR** fee. ## Test in sandbox Test on the Bayarcash sandbox before you take real payments: 1. Get a token, secret key and portal key from the [sandbox merchant dashboard](https://console.bayarcash-sandbox.com). Live keys do not work in the sandbox. 2. Turn on **Enable Sandbox Mode**. The page shows "Sandbox mode is enabled. Make sure to use sandbox credentials for testing." 3. Enter the sandbox keys, verify the token and save. 4. Submit a test payment on your form. 5. When it works, turn off **Enable Sandbox Mode**, enter your live keys and save again. A form with **Customization** on has its own **Enable Sandbox Mode** switch. Check it too. ## How payment results reach your site You do not paste a callback URL into the merchant dashboard. The plugin sends its own addresses with each payment: Bayarcash reports the result to your site at `/index.php?wpf_payment_api_notify=1`, and your customer returns to your form's confirmation page. The plugin marks the payment paid or failed. A payment that is still pending stays pending. Always confirm a payment in the merchant dashboard before you deliver anything of high value. See [Transactions](/transactions/). If payments stay pending after a successful payment, make sure your site is public, uses HTTPS, and that no firewall or security plugin blocks that address. ## Tips Two habits help with Paymattic: - **Use Backup and Restore before big changes.** The **Backup and Restore** tab exports your Bayarcash settings so you can put them back later. - **Use a separate portal for each form that needs its own report.** A per-form portal keeps those payments apart in your Bayarcash reports. --- # Send MyInvois e-invoices from WooCommerce > Use the e-Invoice for MyInvois LHDN plugin so customers can request an e-invoice for paid Bayarcash orders in your WooCommerce shop. > > Source: https://docs.bayarcash.com/myinvois-e-invoice/ The e-Invoice for MyInvois LHDN plugin lets your WooCommerce customers request an official e-invoice for an order they paid through Bayarcash. It sends the e-invoice to LHDN MyInvois through Submit eInvoice. Use it if your business must issue e-invoices. ## Before you start You need the following: - A WooCommerce shop that already takes payments with the [Bayarcash WooCommerce plugin](/woocommerce/). The e-invoice plugin only works with Bayarcash payment methods. - A Submit eInvoice account. Its **API Secret Key** is different from your Bayarcash keys. You do not need a Bayarcash token or portal key for this plugin. - Your company details, including your Tax Identification Number (TIN) and MSIC code. ## Install the plugin The plugin is on WordPress.org as e-invoice-for-myinvois-lhdn. To install it: 1. In WordPress, go to **Plugins** and search for "e-Invoice for MyInvois LHDN", or upload the plugin zip. 2. Click **Activate**. 3. Make sure WooCommerce and the Bayarcash WooCommerce plugin are also active. ## Connect and set up your company The setup is one page. Work down it from the top. 1. Go to **MyInvois** → **Settings**. 2. Under **API Configuration**, paste your key into **API Secret Key**. Use **Go to Profile** if you need to find it in your Submit eInvoice profile. 3. Click **Save API Key**, then **Test Connection**. A green **Ready for E-Invoice Submission** box means the connection works. 4. Fill in **Company Information**: company name, email, mobile number, identification scheme and number, **TIN**, **MSIC Code**, **Business Activity Description** and **Default Product Classification Code**. **SST Registration Number** and **Tourism Tax Registration Number** are only for businesses that have them. 5. Fill in **Company Address**. 6. Click **Save Settings**. If a required field is empty, the page shows **Missing Required Information** and lists what is missing. > **Tip** > Beside **TIN**, the search button finds your TIN from your identification details. Fill in the API Secret Key and identification fields first. ## Set product classification codes Each product needs a classification code for MyInvois. To set it: 1. Open a product in WooCommerce and go to its **E-Invoice** section. 2. Leave **Use Global Classification Code** on to use your default code, or turn it off and choose a **MyTax Classification Code** for this product. ## How your customer requests an e-invoice After a paid order, the customer's order details page shows **E-Invoice Available** with a **Request E-Invoice** button. They fill in their buyer details and identification, then submit. You can follow each one under **MyInvois** → **Invoices**, or in the **E-Invoice Details** box on the order, where **Check Status** refreshes the result. ## Tips - **Tell customers about the 90-hour limit.** MyTax rules give them 90 hours from the order date to request an e-invoice. - **Turn on Enable Logging only while fixing a problem.** It records API requests, which helps support find the cause. --- # Accept Bayarcash payments in WHMCS > Install the Bayarcash gateway module in WHMCS, add your keys, set up the cron job and optionally add gateway fees to invoices. > > Source: https://docs.bayarcash.com/whmcs/ The Bayarcash module for WHMCS lets your clients pay invoices through Bayarcash. It takes MYR invoices only. This guide covers the gateway, the cron job and the optional fees add-on. ## Before you start You need the following: - An approved Bayarcash merchant account with the payment channels you want switched on. - Your **Personal Access Token (PAT)**, **Portal Key** and **API Secret Key**. See [API keys](/api-keys/) and [Portals](/portals/). - Admin access to WHMCS and to the server files or cron settings. ## Install the module Download the module from the [WHMCS Marketplace](https://marketplace.whmcs.com/product/7531-bayarcash). Then: 1. Unzip the file. Check that it has a **modules** folder with **addons** and **gateways** inside. 2. Upload the **modules** folder to your WHMCS installation folder, so the files merge with the existing ones. 3. In the WHMCS admin area, go to **System Settings** → **Payment Gateways**. 4. Open the **All Payment Gateways** tab, find **Bayarcash** and activate it. ## Add your keys and choose channels On the Bayarcash settings, fill in these fields: | Field | What to enter | |---|---| | **Personal Access Token (PAT)** | Your Bayarcash token. | | **Portal Key** | The portal that should receive the payments. | | **API Secret Key** | Your secret key. Keep it private. | | **Sandbox Mode** | Turn on only for testing, with sandbox keys. | | **Payment Information** | Text shown on the invoice page. | | **Successful Payment** and **Unsuccessful Payment** | The page the client lands on after paying or failing: **Specific Invoice**, **List Invoice** or **Client Area**. | | **Payment Channels** | The channel numbers to offer, separated by commas. | Click **Save Changes** when done. The channel numbers are: | Number | Channel | |---|---| | 1 | FPX Online Banking | | 4 | FPX Line of Credit (Credit Card Account) | | 5 | DuitNow Online Banking/Wallets | | 6 | DuitNow QR | | 7 | SPayLater | | 8 | Boost PayFlex | | 9 | QRIS Indonesia Online Banking | | 10 | QRIS Indonesia eWallet | | 11 | NETS Singapore | Your Bayarcash account must have a channel enabled before clients can use it. See [Payment channels](/payment-channels/). ## Set up the cron job Bayarcash needs a cron job that checks pending payments every minute. Ask your host to add this, replacing whmcsdomain with your WHMCS domain: ``` * * * * * wget -q -O /dev/null 'https://whmcsdomain/modules/gateways/bayarcash/bayarcash_cron.php?job=requery' ``` ## Add gateway fees to invoices (optional) Use the **Bayarcash Gateway Fees** add-on if you want to pass the payment fee to your client. It adds a fee line to the invoice for the channel the client picks. To set it up: 1. Go to **System Settings** → **Addon Modules**. 2. Find **Bayarcash Gateway Fees** and click **Activate**, then **Configure**. 3. Under **Access Control**, tick **Full Administrator** and save. 4. Open **Addons** → **Bayarcash Gateway Fees**. 5. For each channel, set **Flat Price (RM)** and **Percentage Fee (%)**, then click **Save All Settings**. Check the amounts against your own Bayarcash agreement before you save, because the add-on starts with sample values. ## Tips - **Test with Sandbox Mode first.** Use sandbox keys, pay one test invoice, then switch to live keys and turn it off. - **Keep the cron job running.** If it stops, clients may pay but their invoices stay unpaid until you check. --- # Accept Bayarcash payments in HostBill > Install the Bayarcash payment module in HostBill and add your portal key, token and API secret key. > > Source: https://docs.bayarcash.com/hostbill/ The Bayarcash module for HostBill lets your clients pay invoices through Bayarcash. It accepts MYR only. ## Before you start You need the following: - An approved Bayarcash merchant account. - The Bayarcash module files for HostBill, from Bayarcash. - Your **Portal Key**, **Personal Access Token** and **API Secret Key**. See [API keys](/api-keys/) and [Portals](/portals/). - Access to your HostBill server files, with Composer available on the server. ## Install the module Your developer or host usually does this part. The steps are: 1. Copy the module folder into your HostBill installation, under the **includes/modules/Payment** folder. 2. In the module folder, run `composer install` to add the libraries it needs. 3. In the HostBill admin area, activate **Bayarcash** among the payment modules. ## Add your keys Open the Bayarcash module settings and fill in these fields: | Field | What to enter | |---|---| | **Portal Key** | The portal that should receive the payments. | | **Token** | Your Personal Access Token. | | **API Secret Key** | Your secret key. Keep it private. | | **Use sandbox** | Tick only when testing with sandbox keys. | Save the settings. On the payment page, your client chooses **FPX**, **FPX Line of Credit** or **DuitNow DOBW**. ## Tips - **Test in sandbox first.** Pay one test invoice with sandbox keys, then untick **Use sandbox** and switch to live keys. - **Check the module in your own HostBill version.** Bayarcash lists no minimum HostBill version, so test a payment before you go live. --- # Accept Bayarcash payments in OpenCart > Install the Bayarcash module in OpenCart 3 or 4, add your keys, choose payment channels and test before going live. > > Source: https://docs.bayarcash.com/opencart/ The Bayarcash module lets your OpenCart shop take payments through Bayarcash. It comes as one zip file for OpenCart 3 and another for OpenCart 4. Use the one that matches your store. To see the module at work before you install it, try the [live demo](https://opencart.bayarcash-demo.com/). ## Before you start You need the following: - An approved Bayarcash merchant account with your payment channels enabled. - Your **Personal Access Token**, **API Secret** and **Portal Key**. See [API keys](/api-keys/) and [Portals](/portals/). - Malaysian Ringgit (MYR) set up as a currency in your store. ## Install the module Download the module zip file from the [Bayarcash plugin page](https://plugin.bayarcash.com/). Then: 1. In the OpenCart admin, go to **Extensions** → **Installer** and upload the zip. 2. Go to **Extensions** → **Extensions** and choose the **Payments** type. 3. Find **Bayarcash** in the list. Click **Install**, then **Edit**. ## Add your keys The settings open on the **API details** tab. To fill it in: 1. Keep or change **Payment Name**. This is the name customers see at checkout. 2. Paste your **Personal Access Token**, **API Secret** and **Portal Key**. 3. Leave **Sandbox Mode** off for real payments. Turn it on only with sandbox keys. 4. Save. OpenCart checks your token when you save. ## Choose channels and turn it on Next, open the **General** tab: 1. Under **Payment Channels**, select the channels to offer. Hold Ctrl or Cmd to pick several. 2. Set **Status** to on. 3. Save. Customers then see each channel at checkout, named after your **Payment Name**, for example "Bayarcash - Credit Card". ## Other settings These tabs are optional: | Tab | What it does | |---|---| | **Order status** | Sets the status for **Canceled Order Status**, **Failed Order Status** and **Paid Order Status**. | | **Customize checkout** | **Instruction** shows your own text before the customer pays. | | **Troubleshoot** | **Debug logging** writes details to the OpenCart error log. | ## Tips - **Test before you go live.** Turn on **Sandbox Mode** with sandbox keys, place one order, then turn it off and use your live keys. - **Check Sandbox Mode first if live payments fail.** It must be off for real payments. --- # Accept Bayarcash payments in PrestaShop > Install the Bayarcash module in PrestaShop and enter your keys so your shop can take payments through Bayarcash. > > Source: https://docs.bayarcash.com/prestashop/ The Bayarcash module lets your PrestaShop store take payments through Bayarcash. Use this guide to install it and enter your keys. To see the module at work before you install it, try the [live demo](https://prestashop.bayarcash-demo.com/). ## Before you start You need the following: - An approved Bayarcash merchant account with your payment channels enabled. - Your **Personal Access Token (PAT)** and **API Secret Key**. See [API keys](/api-keys/). - Admin access to your PrestaShop store, with the shop currency set to Malaysian Ringgit (MYR). ## Install the module Download the [module zip file](https://bayarcash.com/wp-content/uploads/sites/2/2024/11/bayarcash.zip) from Bayarcash. Then: 1. In the PrestaShop admin, go to **Modules** → **Module Manager**. 2. Click **Upload a Module** and choose the zip file. 3. When it is installed, click **Configure**. ## Add your keys The Bayarcash configuration panel holds all the payment settings. To finish setup: 1. Enter your **Personal Access Token (PAT)** and **API Secret Key**. 2. Click **Verify Token** to confirm the keys are correct. 3. Turn off **Test Mode** before you accept real payments. 4. Save. ## Tips - **Test first.** Turn on **Test Mode** to try an order, then turn it off and use your live keys. - **Check transactions in Bayarcash.** Your payments and reports are in your merchant dashboard. See [Transactions](/transactions/). --- # Accept Bayarcash payments in EasyStore > Add Bayarcash as a payment method in your EasyStore admin using the details from your Bayarcash Team profile. > > Source: https://docs.bayarcash.com/easystore/ You can add Bayarcash as a payment method in your EasyStore shop, so customers can pay with the Bayarcash channels you have enabled. To see Bayarcash at the checkout of an EasyStore shop, try the [demo store](https://bayarcash-2.easy.co/). ## Before you start You need the following: - An approved Bayarcash merchant account with your payment channels enabled. - A bcl.my account. It is free for Bayarcash merchants. - Access to your EasyStore payment settings, with the store currency set to Malaysian Ringgit (MYR). ## Add Bayarcash to EasyStore Start in your EasyStore admin. To add the payment method: 1. Go to **Settings** → **Payments**. 2. Choose **Add payment method** and search for **Bayarcash**. You can also use the [Bayarcash link in EasyStore](https://admin.easystore.co/settings/gateway/bayarcash). ## Copy your details from bcl.my EasyStore asks for two values from your Team profile. To find them: 1. Log in to your bcl.my account. 2. Go to **Team** → **Team Profile**. 3. Copy your **Team ID** and your **Bayarcash API secret key**. 4. Paste them into the Bayarcash settings in EasyStore. Check the settings, save, then place a test order at your EasyStore checkout to confirm payment works. > **Caution** > Keep your secret key private. Never share it in a message or a screenshot. ## Tips - **Offer several channels.** You can switch on more than one Bayarcash channel, and customers choose at checkout. - **Find payments in Bayarcash.** Transactions and reports are in your merchant dashboard. See [Transactions](/transactions/). --- # Connect HighLevel to Bayarcash > Install the Bayarcash app from the HighLevel Marketplace, paste your keys and take MYR payments in your funnels, invoices, forms and store. > > Source: https://docs.bayarcash.com/highlevel/ The Bayarcash app for HighLevel adds Bayarcash as a payment provider in your HighLevel account. Your customers pay in MYR. They can use FPX, DuitNow, buy now pay later, credit cards, Line of Credit, e-wallets and Cross-Border QR. The app works with your order forms, funnels, invoices, payment links and online store. ## How your customer pays 1. Your customer clicks **Pay** at checkout. 2. A new tab opens with the secure Bayarcash checkout. Your customer pays there with a channel that is enabled on your Bayarcash account. 3. When the bank approves the payment, HighLevel marks the order as paid automatically. ## Before you start You need these before you set up the app: - An approved Bayarcash merchant account. To get one, see [Sign up for Bayarcash](/sign-up/). - Your **Personal Access Token (PAT)** and **API Secret Key**. See [Find your API keys](/api-keys/). - A HighLevel account where you can install apps. ## Install the app [Install the Bayarcash app from the HighLevel Marketplace](https://marketplace.gohighlevel.com/integration/6abb57bff9fc8bc28d7b0e9e). The app is free. After the installation, test mode works immediately on the Bayarcash sandbox. You do not need sandbox keys to try a payment. ## Add your keys 1. Open the app's **Configuration** tab. 2. Paste your **Personal Access Token (PAT)** and **API Secret Key**. Your portal loads automatically. 3. Save to go live. Use the keys from your live merchant dashboard. If the app does not accept the keys, make sure that you copied all of each key. See [Find your API keys](/api-keys/). ## Choose test or live payments On each payment link, invoice or form, choose **Test** or **Live** under **Payment Mode**. - **Test** uses the Bayarcash sandbox. No real money moves. - **Live** takes real payments into your Bayarcash account. Make a test payment before you share a live link with customers. ## Good to know - **One-time payments in MYR.** Each payment must be from RM 1.00 to RM 30,000.00. - **Refunds.** Refund your customers from your own bank account. - **Subscriptions.** Bayarcash will add recurring payments to the app later. - **Customers without an email** can still pay when you set a fallback email. - **Payments appear in Transactions** on your Bayarcash merchant dashboard. See [Transactions](/transactions/). - **A channel works only if it is enabled on your account.** See [Payment channels](/payment-channels/). --- # Use Bayarcash in Make > Add the Bayarcash app to your Make organization with its invitation link, connect your account and use Bayarcash in your scenarios. > > Source: https://docs.bayarcash.com/make/ [Make](https://www.make.com) (formerly Integromat) connects apps in visual workflows called scenarios. The Bayarcash app for Make lets a scenario work with your Bayarcash account without code. ## Before you start You need these before you add the app: - A Make account. The app installs in one of your Make organizations. - An approved Bayarcash merchant account, or a sandbox account for tests. - Your Bayarcash keys from the merchant dashboard. See [Find your API keys](/api-keys/). ## Add the Bayarcash app to Make Bayarcash shares its Make app with an invitation link, not through the public Make app list. To add it: 1. Sign in to Make. 2. Open the [Bayarcash invitation link](https://www.make.com/en/hq/app-invitation/2b07ed861f787c1e498d49d681944314). 3. Choose the organization where you build your scenarios. 4. Install the app. The app is then available in that organization only. For another organization, open the link again. ## Connect your Bayarcash account Make asks for a connection the first time you use a Bayarcash module. To make the connection: 1. In a scenario, add a module and search for **Bayarcash**. 2. Choose the module that you need. 3. Create a new connection and enter the Bayarcash keys that it asks for. 4. Save the connection. Use sandbox keys while you test. Change to live keys only when a test payment works from start to end. ## Receive payment results in Make Bayarcash sends the result of each payment to the callback URL of that payment. To act on the result in Make: 1. Start a second scenario with the **Webhooks** app of Make, and copy its address. 2. When you create the payment, put that address in the callback URL field, if the module has one. 3. Verify the `checksum` with your API Secret Key before you trust the data. See [Verify callbacks and checksums](/callbacks-and-checksum/). ## Tips - **Keep the order number unique for each payment.** It links each callback to the row that started the scenario. - **Use one connection for each environment.** Give each connection a clear name, so a test never uses live keys. --- # Use Bayarcash in Boost.Space > Add the Bayarcash app to Boost.Space Integrator with its invitation link, connect your account and use Bayarcash in your scenarios. > > Source: https://docs.bayarcash.com/boost-space/ [Boost.Space](https://boost.space) is a platform for data and automation. Its Integrator builds visual workflows called scenarios. The Bayarcash app for Boost.Space Integrator lets a scenario work with your Bayarcash account without code. ## Before you start You need these before you add the app: - A Boost.Space account with access to Integrator. - An approved Bayarcash merchant account, or a sandbox account for tests. - Your Bayarcash keys from the merchant dashboard. See [Find your API keys](/api-keys/). ## Add the Bayarcash app Bayarcash shares its Boost.Space app with an invitation link. To add it: 1. Sign in to Boost.Space. 2. Open the [Bayarcash invitation link](https://integrator.boost.space/app/invite/adcf82114e0d7042cbe2471d4f200cc8). 3. Install the app. ## Connect your Bayarcash account Integrator asks for a connection the first time you use a Bayarcash module. To make the connection: 1. In a scenario, add a module and search for **Bayarcash**. 2. Choose the module that you need. 3. Create a new connection and enter the Bayarcash keys that it asks for. 4. Save the connection. Use sandbox keys while you test. Change to live keys only when a test payment works from start to end. ## Receive payment results Bayarcash sends the result of each payment to the callback URL of that payment. To act on the result in Boost.Space: 1. Start a second scenario with a webhook trigger, and copy its address. 2. When you create the payment, put that address in the callback URL field, if the module has one. 3. Verify the `checksum` with your API Secret Key before you trust the data. See [Verify callbacks and checksums](/callbacks-and-checksum/). ## Tips - **Keep the order number unique for each payment.** It links each callback to the record that started the scenario. - **Use one connection for each environment.** Give each connection a clear name, so a test never uses live keys. --- # Bayarcash API documentation and sandbox > Start with Bayarcash API v3: the sandbox and production base URLs, how to sign each request with your Personal Access Token, and what API errors mean. > > Source: https://docs.bayarcash.com/developers/ The Bayarcash API lets your own website or app create payments, check transactions and manage Direct Debit mandates. Use **API v3** for everything new. The full reference is at [api-reference.bayarcash.com](https://api-reference.bayarcash.com). ## Which API version to use Bayarcash has two API versions: | Version | Status | When to use it | |---|---|---| | v3 | Current | Every new integration. New features (DuitNow QR on your own page, idempotency, payer identity verification, transaction search) are v3 only. | | v2 | Deprecated | Only if you already run on it. It gets no new features. Plan a move to v3. | ## Sandbox and production Build and test in the sandbox first. No real money moves there. The two environments are separate: each has its own merchant dashboard, its own account and its own keys. | Environment | API base URL | Merchant dashboard | |---|---|---| | Sandbox | `https://api.console.bayarcash-sandbox.com/v3` | [console.bayarcash-sandbox.com](https://console.bayarcash-sandbox.com) | | Production | `https://api.console.bayar.cash/v3` | [console.bayar.cash](https://console.bayar.cash) | When you go live, change the base URL and swap in your production keys. Keys from one environment never work in the other. To test in the sandbox: 1. Sign in to the [sandbox merchant dashboard](https://console.bayarcash-sandbox.com) and copy its Personal Access Token, Portal Key and API Secret Key. See [Find your API keys](/api-keys/). 2. Send your requests to the sandbox base URL. In an SDK, call the sandbox option, for example `useSandbox()` (see [Choose a Bayarcash SDK](/sdks/)). In a plugin, tick its sandbox setting, for example **Sandbox Mode** in [WooCommerce](/woocommerce/#test-in-sandbox). 3. Create a payment and pay it. No real money moves. 4. When it works, change to the production base URL and your production keys. For a quick test, use the shared sandbox account. Its login page shows it: - **Email:** `sandbox@bayarcash.com` - **Password:** `sandbox@bayarcash.com` Other developers use the same account, and Bayarcash resets all its data every day at 12:00 midnight. For your own sandbox account, choose **Register** on the [sandbox login page](https://console.bayarcash-sandbox.com/login). ## What you need Every v3 integration uses these from your merchant dashboard: | Item | What it does | |---|---| | Personal Access Token (PAT) | Proves who you are on every API request. | | Portal key | Says which of your portals receives the payment. | | API Secret Key | Signs requests and verifies callbacks with a checksum. Never sent on its own. | Keep the token and the secret key on your server only. Never put them in a mobile app, browser JavaScript or a public repository. ## Authenticate every request Send your Personal Access Token as a bearer token in the `Authorization` header of every request: ```http Authorization: Bearer Accept: application/json ``` For example, to check that your token works, list your portals in the sandbox: ```bash curl https://api.console.bayarcash-sandbox.com/v3/portals \ -H "Authorization: Bearer $BAYARCASH_PAT" \ -H "Accept: application/json" ``` ## How a payment works A typical payment through the API goes like this: 1. Your server creates a **payment intent** with the portal key, order number, amount, payer name and email, and your `callback_url` and `return_url`. 2. Bayarcash answers with a `url`. Redirect your customer there to pay. 3. When the payment reaches a final state, Bayarcash sends a **callback** to your `callback_url`, server to server. Verify its checksum and update the order. 4. Bayarcash sends the customer back to your `return_url` to show them the result. The callback is the one to trust. See [Verify callbacks and checksums](/callbacks-and-checksum/). ## API errors The API answers with an HTTP status code. These are the codes in the [API reference](https://api-reference.bayarcash.com): | Code | What it means | What to do | |---|---|---| | 403 | The request is not allowed for this item, for example a payment intent that is already paid or a channel that cannot do this action | Check the status of the item first. Read the `message` in the response | | 404 | The item was not found | Check the ID, and check that you use the same environment (sandbox or production) as the item | | 409 | A request with the same `Idempotency-Key` is still in progress | Wait, then send the request again | | 422 | A field is not valid, the item is in the wrong state, or the same `Idempotency-Key` was used with different fields | Read the `errors` in the response and correct the request | | 429 | Too many requests | Wait for the time in the `Retry-After` header, then send again | | 500 | Bayarcash could not process the request ("Error processing request.") | See below | If you get **HTTP 500**: 1. Do not create the payment again straight away. First check if the first request made a payment intent or a transaction. 2. If the first request had an `Idempotency-Key`, send it again with the same key. Bayarcash then does not create a second payment. 3. If the error continues, contact Bayarcash. Give the endpoint, the time of the request and the response body. Never send your Personal Access Token or API Secret Key. ## Tips - **Use an SDK if there is one for your language.** It handles the base URL, the bearer token, checksums and callback verification for you. See [Choose a Bayarcash SDK](/sdks/). - **Send an `Idempotency-Key` header when you create a payment intent.** If a request times out, you can send it again with the same key without creating a second payment. Keys expire after 24 hours. - **Store each transaction ID and check it before you act on a callback.** Callbacks can arrive more than once, and this stops you fulfilling the same order twice. --- # Choose a Bayarcash SDK > Official Bayarcash libraries for PHP, Node.js, Python, Go, .NET, Dart, Ruby and Rust, plus Laravel and Django packages, with install commands. > > Source: https://docs.bayarcash.com/sdks/ Bayarcash publishes official SDKs for eight languages and packages for Laravel and Django. Each one handles the base URL, your Personal Access Token, request checksums and callback verification, so you write less code. All of them are open source at [github.com/bayarcash](https://github.com/bayarcash). ## Language SDKs Install the SDK for your language with its package manager: | Language | Package | Install | Needs | Source | |---|---|---|---|---| | PHP | `bayarcash/php-sdk` | `composer require bayarcash/php-sdk` | PHP 7.4 or newer | [php-sdk](https://github.com/bayarcash/php-sdk) | | Node.js and TypeScript | `bayarcash` | `npm install bayarcash` | Node.js 18 or newer | [node-sdk](https://github.com/bayarcash/node-sdk) | | Python | `bayarcash` | `pip install bayarcash` | Python 3.8 or newer | [python-sdk](https://github.com/bayarcash/python-sdk) | | Go | `github.com/bayarcash/go-sdk` | `go get github.com/bayarcash/go-sdk` | Go 1.21 or newer | [go-sdk](https://github.com/bayarcash/go-sdk) | | C# and .NET | `Bayarcash` | `dotnet add package Bayarcash` | .NET Standard 2.0 or newer | [dotnet-sdk](https://github.com/bayarcash/dotnet-sdk) | | Dart and Flutter | `bayarcash` | `dart pub add bayarcash` | Dart 2.17 or newer | [dart-sdk](https://github.com/bayarcash/dart-sdk) | | Ruby | `bayarcash` | `gem install bayarcash` | Ruby 2.7 or newer | [ruby-sdk](https://github.com/bayarcash/ruby-sdk) | | Rust | `bayarcash` | `cargo add bayarcash` | Rust 1.75 or newer | [rust-sdk](https://github.com/bayarcash/rust-sdk) | Minimum versions are as at the time of writing. Each repository's README has the current requirements, a full guide and examples. ## Framework packages If your app runs on Laravel or Django, use the framework package instead of the plain SDK. It adds configuration, ready-made callback and return routes that verify the checksum for you, optional database records and scheduled reconciliation. | Framework | Package | Install | Needs | Source | |---|---|---|---|---| | Laravel | `bayarcash/laravel` | `composer require bayarcash/laravel` | PHP 8.1 or newer, Laravel 10 to 12 | [laravel](https://github.com/bayarcash/laravel) | | Django | `django-bayarcash` | `pip install django-bayarcash` | Python 3.8 or newer, Django 3.2 to 5 | [django](https://github.com/bayarcash/django) | Both packages always use API v3. ## Switch the SDK to API v3 The language SDKs support API v2 and v3, and start on **v2**. API v2 is deprecated, so switch to v3 as soon as you create the client. Some methods, such as searching transactions, only work on v3. | SDK | Switch to v3 | Use the sandbox | |---|---|---| | PHP | `$bayarcash->setApiVersion('v3')` | `$bayarcash->useSandbox()` | | Node.js | `bayarcash.setApiVersion('v3')` | `bayarcash.useSandbox()` | | Python | `bayarcash.set_api_version("v3")` | `bayarcash.use_sandbox()` | | Go | `bayarcash.WithAPIVersion("v3")` option | `bayarcash.WithSandbox(true)` option | | .NET | `bayarcash.SetApiVersion("v3")` | `bayarcash.UseSandbox()` | | Dart | `bayarcash.setApiVersion('v3')` | `bayarcash.useSandbox()` | | Ruby | `bayarcash.set_api_version("v3")` | `bayarcash.use_sandbox` | | Rust | `.set_api_version(ApiVersion::V3)` | `.use_sandbox()` | Remove the sandbox call in production. For a full walkthrough in PHP, see [Accept payments with the PHP SDK](/php-sdk/). ## No-code option To use Bayarcash in automated workflows without writing code, see [Use Bayarcash in n8n](/n8n/). ## Tips - **Keep your token and secret key in environment variables.** Every SDK README uses placeholders such as `YOUR_API_TOKEN`; never commit real keys to your repository. - **Pin the SDK version in your project.** Your package manager's lock file stops an update from changing behaviour between deploys. Read the SDK's changelog before you upgrade. --- # Accept payments with the PHP SDK > Install the Bayarcash PHP SDK, create a payment on API v3, verify the callback and look up transactions from your own PHP site. > > Source: https://docs.bayarcash.com/php-sdk/ The Bayarcash PHP SDK lets your PHP site create payments, verify callbacks and look up transactions without writing the HTTP calls yourself. This guide uses API v3, the current version. The SDK's [README on GitHub](https://github.com/bayarcash/php-sdk) has every method. On Laravel, use the [Laravel package](https://github.com/bayarcash/laravel) instead: it wraps this SDK and adds routes and configuration. See [Choose a Bayarcash SDK](/sdks/). ## Before you start You need: - PHP 7.4 or newer with the `json` extension, and Composer. - Your Personal Access Token (PAT), API Secret Key and a portal key from the merchant dashboard. Use sandbox keys while you build. ## Install the SDK Run this in your project folder: ```bash composer require bayarcash/php-sdk ``` The package used to be called `webimpian/bayarcash-php-sdk`. Old installations still work, but use `bayarcash/php-sdk` for anything new. ## Create the client Create one client with your token, then switch it to API v3. The SDK starts on v2, which is deprecated. ```php use Bayarcash\Bayarcash; $bayarcash = new Bayarcash(getenv('BAYARCASH_PAT')); $bayarcash->setApiVersion('v3'); $bayarcash->useSandbox(); // remove this line in production $apiSecretKey = getenv('BAYARCASH_API_SECRET_KEY'); ``` Call `setApiVersion()` and `useSandbox()` before you make any request. ## Take a payment To take a payment, build the request, sign it, and send your customer to the payment page: 1. Build the request with your portal key, order details and URLs. 2. Add a checksum signed with your API Secret Key. 3. Create the payment intent and redirect the customer to its `url`. ```php $data = [ 'portal_key' => 'your_portal_key', 'payment_channel' => Bayarcash::FPX, 'order_number' => 'INV-1001', 'amount' => '10.00', 'payer_name' => 'Ahmad bin Abdullah', 'payer_email' => 'ahmad@example.com', 'payer_telephone_number' => '0123456789', 'return_url' => 'https://your-site.com/payment/return', 'callback_url' => 'https://your-site.com/payment/callback', ]; $data['checksum'] = $bayarcash->createPaymentIntentChecksumValue($apiSecretKey, $data); $paymentIntent = $bayarcash->createPaymentIntent($data); header('Location: ' . $paymentIntent->url); exit; ``` The main request fields are: | Field | Required | Notes | |---|---|---| | `portal_key` | Yes | The portal that receives the payment. | | `order_number` | Yes | Your reference, up to 30 characters. | | `amount` | Yes | A string with up to 2 decimals, such as `'10.00'`. | | `payer_name`, `payer_email` | Yes | The customer's name and email. | | `payment_channel` | No | One `Bayarcash::*` constant or an array of them. Leave it out to let the customer choose. | | `payer_telephone_number` | No | Needed for e-wallet and DuitNow channels. | | `callback_url`, `return_url` | No | Where Bayarcash notifies your server, and where it sends the customer back. | The checksum is built from `payment_channel`, `order_number`, `amount`, `payer_name` and `payer_email`, so add it after those fields are final. To retry a timed-out request safely, pass a UUID as a second argument: `createPaymentIntent($data, $idempotencyKey)`. ## Verify the callback Bayarcash posts the result to your `callback_url` when the payment reaches a final state. Verify it before you update the order: ```php use Bayarcash\Fpx; $callbackData = $_POST; if (! $bayarcash->verifyTransactionCallbackData($callbackData, $apiSecretKey)) { http_response_code(403); exit; } if ((int) $callbackData['status'] === Fpx::STATUS_SUCCESS) { // Mark the order with $callbackData['order_number'] as paid. } http_response_code(200); ``` Use `verifyReturnUrlCallbackData()` on your `return_url` page. On v3 the customer comes back with the fields in the query string, so pass `$_GET`. Show the result to the customer, but update the order from the callback only. See [Verify callbacks and checksums](/callbacks-and-checksum/) for why. ## Look up payments and transactions These calls read what Bayarcash has recorded: ```php $intent = $bayarcash->getPaymentIntent('payment_intent_id'); $transaction = $bayarcash->getTransaction('transaction_id'); $byOrder = $bayarcash->getTransactionByOrderNumber('INV-1001'); $result = $bayarcash->getAllTransactions([ 'status' => '3', 'payment_channel' => Bayarcash::FPX, ]); // $result['data'] holds the transactions, $result['meta'] the pagination. ``` To cancel a payment intent the customer has not paid, call `$bayarcash->cancelPaymentIntent('payment_intent_id')`. ## Handle errors Failed calls throw exceptions from `Bayarcash\Exceptions`: | Exception | HTTP status | What to do | |---|---|---| | `ValidationException` | 422 | Fix the request. `$e->errors()` lists the fields. | | `FailedActionException` | 400 | Read `$e->getMessage()` for the reason. | | `NotFoundException` | 404 | Check the ID you asked for. | | `RateLimitExceededException` | 429 | Wait. `$e->rateLimitResetsAt` has the reset time. | ## Tips - **Test the whole flow in the sandbox first.** Create a payment, pay it, and check that your callback marks the order paid before you switch to production keys. - **Keep the token and API Secret Key out of your code.** Load them from environment variables or your framework's secret store, as in the examples above. - **Use the channel constants instead of numbers.** `Bayarcash::FPX` reads better than `1`, and the README lists every channel constant. --- # Callback URL and checksum: verify Bayarcash callbacks > Set your Bayarcash callback URL (webhook) and return URL. Sign each request and verify each callback with an HMAC-SHA256 checksum. > > Source: https://docs.bayarcash.com/callbacks-and-checksum/ When a payment finishes, Bayarcash tells your server with a **callback** and sends your customer back with a **return URL**. Every callback carries a `checksum`: check it with your API Secret Key before you trust the data. You can also add a checksum to your own requests so Bayarcash knows they were not changed. ## Callback URL and return URL You set both URLs on each payment intent (`callback_url` and `return_url`). They do different jobs: | | Callback URL | Return URL | |---|---|---| | Who calls it | Bayarcash's server, directly to yours | Your customer's browser, redirected by Bayarcash | | How it arrives | POST | GET with the fields in the query string (API v3) | | Can you trust it for the order status? | Yes, after checking the checksum | No: the customer can close the tab or change the URL | | Use it to | Mark the order paid or failed | Show the customer a result page | Update your orders from the callback only. If the return URL arrives first, show a "payment is being confirmed" message and wait for the callback, or look the transaction up with the API. ## Callbacks Bayarcash sends Each callback has a `record_type` field that tells you what it is: | Callback | When it is sent | |---|---| | Pre-transaction | Early in the payment, before the transaction record is final. | | Transaction | When a payment reaches a final state (successful, failed, cancelled and so on). | | Direct Debit authorization | When a customer completes or abandons e-mandate enrolment. | | Direct Debit bank approval | When the customer's bank approves or rejects a mandate. This can come days later. | | Direct Debit transaction | For each collection taken from an active mandate. | The `status` field in a transaction callback is a number: | Status | Meaning | |---|---| | 0 | New | | 1 | Pending | | 2 | Unsuccessful | | 3 | Successful | | 4 | Cancelled | | 5 | Abandoned | ## Answer every callback with HTTP 200 Your callback URL must answer **HTTP 200** once it has checked and saved the result. If it answers with any other status, or does not answer, Bayarcash sends the callback again. So your handler must be safe to run twice: check whether you have already processed that `transaction_id` before you fulfil the order. Callbacks are sent as a POST. The Bayarcash plugins and SDKs read them as form fields (`$_POST` in PHP). If your framework receives `application/json`, read the JSON body instead. ## How the checksum works The same rule signs requests and verifies callbacks. Only the list of fields changes from call to call. To build a checksum: 1. Take the fields that belong to that call (see the table below), with their values exactly as sent or received. Use an empty value for a field that is missing. 2. Sort the fields by field name, A to Z. 3. Join the values, in that order, with a `|` between each. 4. Compute an HMAC-SHA256 of that text, using your API Secret Key as the key. The result, as lowercase hex, is the checksum. For a callback, compare your result with the `checksum` field the callback carries. Use a constant-time comparison, such as `hash_equals()` in PHP or `hmac.compare_digest()` in Python. If they differ, reject the callback. A checksum on a request is optional but recommended. A checksum on a callback is always there: always verify it. ## Fields in each checksum Each call uses its own fields: | Call | Fields in the checksum | |---|---| | Create payment intent (request) | `payment_channel`, `order_number`, `amount`, `payer_name`, `payer_email` | | Direct Debit enrolment (request) | `order_number`, `amount`, `payer_name`, `payer_email`, `payer_telephone_number`, `payer_id_type`, `payer_id`, `application_reason`, `frequency_mode` | | Pre-transaction callback | `record_type`, `exchange_reference_number`, `order_number` | | Transaction callback | `record_type`, `transaction_id`, `exchange_reference_number`, `exchange_transaction_id`, `order_number`, `currency`, `amount`, `payer_name`, `payer_email`, `payer_bank_name`, `status`, `status_description`, `datetime` | | Return URL | `transaction_id`, `exchange_reference_number`, `exchange_transaction_id`, `order_number`, `currency`, `amount`, `payer_bank_name`, `status`, `status_description` | | Direct Debit bank approval callback | `record_type`, `approval_date`, `approval_status`, `mandate_id`, `mandate_reference_number`, `order_number`, `payer_bank_code_hashed`, `payer_bank_code`, `payer_bank_account_no`, `application_type` | | Direct Debit transaction callback | `record_type`, `batch_number`, `mandate_id`, `mandate_reference_number`, `transaction_id`, `datetime`, `reference_number`, `amount`, `status`, `status_description`, `cycle` | The table lists the fields; the sort in step 2 decides the order. If a payment intent has more than one `payment_channel`, join the channel numbers with commas (`1,5`) before you add it, as the PHP SDK does. For Direct Debit maintenance requests and authorization callbacks, use the verification methods in an [official SDK](/sdks/), which carry the exact field lists. ## Example: verify a transaction callback in PHP This checks a transaction callback without the SDK. With the [PHP SDK](/php-sdk/), `verifyTransactionCallbackData()` does the same in one line. ```php function bayarcash_checksum(array $data, array $fields, string $secretKey): string { $payload = []; foreach ($fields as $field) { $payload[$field] = $data[$field] ?? ''; } ksort($payload); return hash_hmac('sha256', implode('|', $payload), $secretKey); } $fields = [ 'record_type', 'transaction_id', 'exchange_reference_number', 'exchange_transaction_id', 'order_number', 'currency', 'amount', 'payer_name', 'payer_email', 'payer_bank_name', 'status', 'status_description', 'datetime', ]; $callback = $_POST; $expected = bayarcash_checksum($callback, $fields, getenv('BAYARCASH_API_SECRET_KEY')); if (! hash_equals($expected, (string) ($callback['checksum'] ?? ''))) { http_response_code(403); exit; } // Checksum is valid: save the result, then answer 200. http_response_code(200); ``` ## Example: sign a payment intent in Python The same rule in Python, for a payment intent request: ```python def bayarcash_checksum(values: dict, secret_key: str) -> str: joined = "|".join(str(values[k]) for k in sorted(values)) return hmac.new(secret_key.encode(), joined.encode(), hashlib.sha256).hexdigest() checksum = bayarcash_checksum({ "payment_channel": "1", "order_number": "INV-1001", "amount": "10.00", "payer_name": "Ahmad bin Abdullah", "payer_email": "ahmad@example.com", }, "YOUR_API_SECRET_KEY") ``` Send the result as `checksum` with the other fields. The full field reference is in the [API reference checksum guide](https://api-reference.bayarcash.com/#tag/checksum). ## Tips - **Use HTTPS for your callback and return URLs.** The callback carries payment details, and HTTPS keeps them private in transit. - **Keep the API Secret Key on your server only.** Anyone with it can forge a callback that passes the checksum check. - **Use your framework package if you have one.** The Laravel and Django packages add a callback route that checks the checksum and rejects a bad one with HTTP 403. --- # Use Bayarcash in n8n > Install the Bayarcash community node in n8n, connect it with your Personal Access Token, and create payments or read transactions in a workflow. > > Source: https://docs.bayarcash.com/n8n/ The Bayarcash node for [n8n](https://n8n.io) lets a workflow create payment intents, check them, and read your portals and transactions without code. It is a community node, published on npm as `n8n-nodes-bayarcash`, and uses Bayarcash API v3. ## Install the node Community nodes can be installed on self-hosted n8n. To install it: 1. In n8n, open **Settings** → **Community Nodes**. 2. Install the npm package [`n8n-nodes-bayarcash`](https://www.npmjs.com/package/n8n-nodes-bayarcash). 3. Search for **Bayarcash** when you add a node to a workflow. The n8n guide to [installing community nodes](https://docs.n8n.io/integrations/community-nodes/installation/) has the full steps and other ways to install. ## Connect your Bayarcash account The node signs in with a credential called **Bayarcash API**. To create it: 1. Add a **Bayarcash** node, and under the credential choose to create a new one. 2. Fill in the fields: | Field | What to enter | |---|---| | **Personal Access Token (PAT)** | Your Personal Access Token from the merchant dashboard. | | **Environment** | **Sandbox - api.console.bayarcash-sandbox.com/v3** while you test, or **Production - api.console.bayar.cash/v3** for real payments. It is set to **Production** until you change it. | 3. Save. n8n tests the credential by listing your portals. Use a sandbox token with **Sandbox** and a production token with **Production**. They do not work across environments. ## What the node can do Choose a **Resource**, then an **Operation**: | Resource | Operation | What it does | |---|---|---| | Payment Intent | **Create** | Creates a payment and returns the `url` to send your customer to. | | Payment Intent | **Get Status** | Gets a payment intent by its **Payment Intent ID**. | | Payment Intent | **Delete** | Cancels a payment intent by its **Payment Intent ID**. | | Portal | **List All Portals** | Lists your portals. | | Portal | **Get Portal Channels** | Gets one portal, with its payment channels, by **Portal ID**. | | Transaction | **Get Transaction by ID** | Gets one transaction by its **Transaction ID**. | | Transaction | **List Transactions** | Lists transactions. Add **Filters** for **Order Number**, **Status**, **Payment Channel**, **Exchange Reference Number** or **Payer Email**. | ## Create a payment intent To create a payment from a workflow: 1. Add a **Bayarcash** node and choose **Payment Intent** → **Create**. 2. Choose the portal in **Portal Name or ID**. The list comes from your account. 3. Fill in **Order Number**, **Amount**, **Payer Name** and **Payer Email**. These are required. 4. Optionally choose one or more **Payment Channel** values. Leave it empty to let the customer choose on the Bayarcash page. 5. Optionally fill in **Payer Telephone Number**, **Callback URL** and **Return URL**. 6. Run the node. Send the `url` from its output to your customer, for example by email or WhatsApp. ## Receive the result in n8n The Bayarcash node does not start workflows by itself. To act when a payment finishes: 1. Start a second workflow with n8n's **Webhook** node, set to receive a POST. 2. Put that webhook's URL in **Callback URL** when you create the payment intent. 3. In the callback workflow, verify the `checksum` with your API Secret Key before you trust the data. See [Verify callbacks and checksums](/callbacks-and-checksum/). 4. Use **Get Transaction by ID** with the callback's `transaction_id` to read the full, current record. Make the webhook answer with HTTP 200, or Bayarcash sends the callback again. ## Tips - **Build the workflow on the sandbox first.** Switch the credential's **Environment** to **Production**, with a production token, only once a test payment runs end to end. - **Keep the order number unique for each payment.** It is how you match a callback or transaction back to the row, deal or invoice that started the workflow. --- # Use BCL in n8n > Install the BCL community node in n8n, connect it with a BCL API token, and create payment links or manage forms and coupons in a workflow. > > Source: https://docs.bayarcash.com/n8n-bcl/ The BCL node for [n8n](https://n8n.io) lets a workflow create BCL payment links and find transactions. It can also change your BCL forms and coupons, without code. It is a community node, published on npm as [`n8n-nodes-bcl`](https://www.npmjs.com/package/n8n-nodes-bcl). BCL takes its payments through Bayarcash. See [What is Bayarcash](/what-is-bayarcash/). To call Bayarcash API v3 directly from n8n, use the [Bayarcash node](/n8n/) instead. ## Install the node You can install community nodes on self-hosted n8n. To install it: 1. In n8n, open **Settings** → **Community Nodes**. 2. Install the npm package `n8n-nodes-bcl`. 3. Search for **BCL** when you add a node to a workflow. The [n8n guide to community nodes](https://docs.n8n.io/integrations/community-nodes/installation/) has the full steps and other ways to install. ## Connect your BCL account The node signs in with a credential called **BCL API**. To create it: 1. In BCL, create an API token. Tick **API Read**, and also **API Write** to create payment links or change forms and coupons. See [Create an API token](https://docs.bcl.my/api-tokens/). 2. In n8n, add a **BCL** node and create a new credential. 3. Paste the token into **API Token**. 4. Save. n8n tests the credential with BCL. The node always works with your live BCL account. It has no sandbox setting. ## What the node can do Choose a **Resource**, then an **Operation**: | Resource | Operation | What it does | |---|---|---| | Payment Link | **Create** | Creates a payment link. | | Payment Link | **Get Transaction** | Gets a transaction by its **Order Number**. | | Form | **List**, **Get** | Lists your forms, or gets one by **Form ID**. | | Form | **Duplicate** | Copies a form with a new title and slug. | | Form | **Update Title**, **Update Slug**, **Update Content**, **Update Status**, **Update Homepage Display** | Changes one part of a form. | | Form | **Update Stock** | Sets the stock quantity of form items. | | Form | **Update Redirect URLs** | Sets the **Success URL** and **Failed URL**. | | Form | **Update Webhook Settings** | Turns the form webhook on or off, and sets its URL and events. | | Form | **Update Affiliate Settings**, **Update Facebook Pixel**, **Update TikTok Pixel** | Changes the affiliate and tracking settings of a form. | | Coupon | **List**, **Get** | Lists your coupons, or gets one by **Coupon ID**. | | Coupon | **Update**, **Update Status** | Changes a coupon, or turns it on or off. | ## Create a payment link To create a payment link from a workflow: 1. Add a **BCL** node and choose **Payment Link** → **Create**. 2. Fill in **Amount** (in MYR), **Payer Name**, **Payer Email**, **Payer Telephone Number** and **Portal Key**. These are required. **Portal Key** is your Bayarcash portal key. See [Find your API keys](/api-keys/). 3. Optionally, open **Additional Fields** and add these: | Field | What it does | |---|---| | **Order Number** | Your own reference for the payment. BCL makes one if you leave it empty. | | **Payment Channel** | **FPX Online Banking**, **FPX Line of Credit**, **DuitNow Online Banking**, **DuitNow QR**, **SPaylater**, **Boost PayFlex**, **QRIS OB**, **QRIS Wallet** or **NETS**. | | **Let User Choose Payment** | Lets your customer choose the payment method on the payment page. | | **Remarks** | A note for the order. | 4. Run the node. Send the payment link from its output to your customer, for example by email or WhatsApp. ## Receive payments in n8n To act when a customer pays on a BCL form, let BCL call an n8n webhook: 1. Start a second workflow with the n8n **Webhook** node, and copy its URL. 2. In the BCL node, choose **Form** → **Update Webhook Settings** and enter the **Form ID**. 3. Turn on **Enabled**, paste the URL into **Webhook URL**, and choose the **Events**: **Form Submit**, **Payment Success** or **Direct Debit**. You can also set the form webhook in BCL itself. See [Payment form webhook payload](https://docs.bcl.my/webhook-payment-form/) in the BCL help centre. It also lists the fields that BCL sends. ## Tips - **Give each payment link your own order number.** Then **Get Transaction** can find the payment again. - **Use a separate token for n8n.** If you delete that token later, only n8n stops. Your other apps keep their own tokens. --- # Use Bayarcash with Claude and other AI assistants (MCP) > Install the Bayarcash MCP server so Claude, Cursor and other AI assistants can create payments and read your transactions. > > Source: https://docs.bayarcash.com/bayarcash-mcp/ The Bayarcash MCP server lets an AI assistant work with your Bayarcash account. MCP (Model Context Protocol) is the standard that Claude, Cursor and other AI apps use to connect to other systems. You ask in plain words, for example "Create a payment for RM 100", and the assistant calls Bayarcash API v3 for you. The server is open source: [webimpianteam/bayarcash-mcp-server](https://github.com/webimpianteam/bayarcash-mcp-server) on GitHub. It is also listed on [Smithery](https://smithery.ai/server/@webimpianteam/bayarcash-mcp-server). It runs on your own computer. ## What it can do The server gives the assistant these tools: | Tool | What it does | |---|---| | `create_payment_intent` | Creates a payment and returns its payment intent ID and payment link. | | `get_payment_intent` | Gets the status of a payment by its payment intent ID. | | `get_transaction` | Gets one transaction by its transaction ID. | | `get_transaction_by_order` | Gets one transaction by its order number. | | `list_transactions` | Lists transactions. Filters: status, payment channel, payer email, order number and reference number. | | `get_portals` | Lists your portals. | | `get_payment_channels` | Lists payment channels. | | `get_fpx_banks` | Lists the FPX banks. | To create a payment, the assistant needs an order number, amount, payer email, payer name, description and portal key. If you do not give them, it asks you, and it can show your portals so you can choose one. ## Before you start You need these before you install the server: - Node.js on your computer, to run the server. - An AI app that supports MCP, for example Claude Desktop, Claude Code or Cursor. - Your Personal Access Token (PAT) and API Secret Key. See [Find your API keys](/api-keys/). ## Install the server The server runs from a copy of its GitHub repository. To install it: 1. Clone the repository: `git clone https://github.com/webimpianteam/bayarcash-mcp-server.git` 2. In the new `bayarcash-mcp-server` folder, run `npm install`. 3. Run `npm run build`. This makes the file `build/index.js`. 4. Note the full path to `build/index.js`. Your AI app needs it. ## Connect your AI app The server reads its settings from these environment variables: | Variable | What to enter | |---|---| | `BAYARCASH_API_TOKEN` | Your Personal Access Token (PAT). Required. | | `BAYARCASH_API_SECRET_KEY` | Your API Secret Key. Required. | | `BAYARCASH_SANDBOX` | `true` for the sandbox, `false` for production. It is `true` until you change it. | For Claude Desktop, add the server to `claude_desktop_config.json`. Use the full path from step 4, and put in your own keys: ```json { "mcpServers": { "bayarcash": { "command": "node", "args": ["/full/path/to/bayarcash-mcp-server/build/index.js"], "env": { "BAYARCASH_API_TOKEN": "your_token", "BAYARCASH_API_SECRET_KEY": "your_secret", "BAYARCASH_SANDBOX": "true" } } } } ``` Then restart Claude Desktop. Other AI apps take the same command, path and variables in their MCP settings. For Claude Code, run `claude mcp add bayarcash -e BAYARCASH_API_TOKEN=your_token -e BAYARCASH_API_SECRET_KEY=your_secret -e BAYARCASH_SANDBOX=true -- node /full/path/to/bayarcash-mcp-server/build/index.js`. ## Tips - **Start on the sandbox.** The server uses the sandbox until you set `BAYARCASH_SANDBOX` to `false`. Change to production, with live keys, only when a test payment works. - **Read each payment before the assistant creates it.** Check the amount, the payer and the portal. A payment link goes to a real customer. - **Keep your keys out of shared files.** The settings file holds your token and secret key. Do not commit it to Git, and do not share it in a chat or a screenshot. --- # Check your webhook log > The Webhook Logs page shows each callback that Bayarcash sent to your website, and whether it was a success or a failure. > > Source: https://docs.bayarcash.com/webhook-log/ When a payment changes, Bayarcash sends a callback (a webhook) to your website. The **Webhook Logs** page shows each callback and its result. Use it when your shop does not update an order after a payment. ## Open the webhook log To see the callbacks: 1. Sign in to the [merchant dashboard](/sign-in/). 2. In the top menu, choose **Tools**. 3. Choose **Webhook Log**. The **Webhook Logs** page opens. 4. To find one callback, choose **Advance Filter**. The table below gives each filter. | Filter | Use it to | |---|---| | **Created Date Range** | Show the callbacks of a period | | **Status** | Show only **Success** or only **Failed** callbacks | | **Loggable Type** | Show one type of callback, for example **Transaction** | | **Reference Number** | Find the callback for one payment | *(Screenshot: The Webhook Logs page with Advance Filter open and highlighted)* The list shows the **Created** time, the **Status**, the **Loggable Type** and the **Reference Number** of each callback. ## If a callback failed A **Failed** callback means that your website did not accept it. Check that your callback URL is correct and that your website is online. Then check the checksum. See [Callbacks and checksum](/callbacks-and-checksum/). You can also check the payment itself in [Transactions](/transactions/).