JazzCash, Easypaisa & Raast · Easypaisa

Easypaisa payments on invoices

With Easypaisa switched on, the Pay now button on a Daftiq invoice sends the customer to Easypaisa's hosted Easypay checkout, where they pay the balance from their Easypaisa account into your own store. Daftiq never trusts the browser: it asks Easypaisa directly whether the order is paid and for how much, then records a customer payment against the invoice.

Last updated:

JazzCash, Easypaisa & Raast · Module page: JazzCash, Easypaisa & Raast

Where to set it up
Settings → JazzCash, Easypaisa & Raast
What you need
Easypay Store ID, hash key, API username and password, account number
Confirmation
Daftiq asks Easypaisa for the status, server to server
In your books
Customer payment against the invoice: bank up, receivable down
Currency
Pakistani rupees only

How do customers pay a Daftiq invoice with Easypaisa?

Easypaisa is one of the most used mobile wallets in Pakistan, so letting customers pay from it removes the trip to the bank or the wait for a cheque. In Daftiq the customer opens the invoice link you sent by email or WhatsApp, or opens the invoice in the client portal, and clicks Pay now. If more than one method is set up, they choose Easypaisa.

Daftiq hands them to Easypaisa's Easypay checkout with the invoice balance already filled in. The customer confirms the payment from their Easypaisa account, and Easypaisa sends them back to a payment result page in Daftiq. The money goes into your Easypay store; Daftiq only starts the checkout and records the result.

How do I connect my Easypaisa (Easypay) store?

  1. Open an Easypay merchant store with Easypaisa. Its merchant portal shows your Store ID, hash key and API user.
  2. In Daftiq, open Settings and go to the JazzCash, Easypaisa & Raast section.
  3. Switch Easypaisa on and choose the Mode: Sandbox for testing with the test credentials, Live for real money.
  4. Enter the Store ID, Hash key, API username, API password and your Easypaisa merchant Account number, which is used for the status check. Save.
  5. Make sure the company currency is PKR and Accounting has an active bank account to receive the money.

The hash key and API password are stored encrypted, and a secret left masked when you save again keeps its stored value.

How does Daftiq confirm an Easypaisa payment?

  • The status Easypaisa shows in the customer's browser is never trusted on its own. Daftiq asks Easypaisa's transaction inquiry service, with your API username and password, whether the order is paid.
  • Only an order Easypaisa reports as paid, for the amount of the checkout, is recorded. A different amount is not booked.
  • The amount is sent to Easypaisa rounded to one decimal place, and Daftiq treats that rounded amount as payment in full.
  • One checkout per invoice is open at a time, for up to a day, so the same invoice cannot be paid twice from two links.
  • If the invoice was paid another way while the checkout was open, the Easypaisa money is held for review for you to refund or apply, not booked against a paid invoice.

What is posted to the books after an Easypaisa payment?

StepResult in Daftiq
Easypaisa reports the order paid A customer payment is created against the invoice and cleared
Journal Debit your bank account for online payments, credit accounts receivable
Invoice Balance reduced; status paid or part-paid
Customer reports Customer balance, detail and aging update at once

The payment goes to your company's first active bank account in Accounting. A separate bank account for your Easypaisa store balance makes it easier to match Easypaisa settlements later.

What comes before and after an Easypaisa payment?

Before: a posted sales invoice with a balance, sent to the customer by email or WhatsApp. Invoices made by recurring invoices are sent the same way, so a monthly fee can be paid from Easypaisa every month.

After: the receipt is listed in customer payments. When Easypaisa settles the money to your bank, import the statement and match it in bank reconciliation. You can offer JazzCash and a Raast QR code on the same invoice so each customer pays the way they like.

Does it work for online store orders?

Yes. Orders in the Online Store that the customer chooses to pay online get the same Pay now link, and the order is confirmed when the payment arrives. All payment features of this module are on the JazzCash, Easypaisa & Raast hub.

Frequently asked questions

What do I need from Easypaisa to start?

An Easypay merchant store. From its portal you need the Store ID, hash key, API username and password, and the merchant account number. Enter them in Settings → JazzCash, Easypaisa & Raast.

Is the payment booked if the customer closes the browser?

Daftiq checks with Easypaisa when the customer comes back to the payment result page, and books the payment once Easypaisa confirms it. If money reached your Easypay store but no payment shows in Daftiq, check the order in the Easypay portal and record it yourself in Customer payments.

Why is the amount rounded?

The Easypay checkout receives the amount with one decimal place. Daftiq sends the invoice balance in that format and accepts the same rounded amount as payment in full.

Can I use Easypaisa if my company currency is dollars?

No. Easypaisa, JazzCash and Raast are offered only when the company currency is PKR.

Can I test before going live?

Yes. Set the Mode to Sandbox with Easypaisa's test credentials, pay a test invoice, then switch to Live.

In this group: JazzCash, Easypaisa & Raast

Related guides

Let customers pay from Easypaisa

Add the JazzCash, Easypaisa & Raast module, connect your Easypay store in Sandbox, and send invoices with a Pay now button. See plans.

Create a free account · Book a demo · Pricing