Your clients can pay invoices and store orders with JazzCash (JazzCash mobile account, card or voucher), on JazzCash's secure payment page. Clients can also pay from a public invoice link, without signing in.
Requirements
- RISE 4.2 or newer, with the cron job running.
- A JazzCash merchant account with Page Redirection (hosted checkout) enabled. For tests, a JazzCash sandbox account.
- JazzCash takes PKR only, Rs 1.00 or more per payment. Amounts with paisa (ex 1,250.50) are charged exactly.
Get your credentials
Test (sandbox) credentials
- Open the JazzCash sandbox portal and click Sign up. Confirm your email and sign in.
- Open Integration (Merchant integration) and choose Page Redirection / Hosted Checkout as the integration type.
- The page shows your sandbox Merchant ID, Password and Integrity Salt. Copy them as they are (no spaces).
- If the portal asks for a return URL, enter your RISE site address. RISE sends the exact return address with each payment.
- The test mobile wallet and test cards are listed in the sandbox portal and in the sandbox documentation.
Live credentials
- Apply for a JazzCash online payment (merchant) account at jazzcash.com.pk or through your JazzCash / Mobilink Bank business contact. You need your CNIC, business documents (NTN, registration) and a bank account.
- Ask for Page Redirection (hosted checkout) to be enabled. JazzCash may ask you to show your sandbox integration before it goes live.
- After approval, JazzCash sends the live Merchant ID, Password and Integrity Salt, or shows them in the live merchant portal.
Setup
- Install and activate the plugin in Settings > Plugins.
- Go to Settings > Payment methods and edit JazzCash.
- Enter the Merchant ID, Password and Integrity Salt (see Get your credentials).
- Turn on Testing environment to take test payments with your sandbox details. Turn it off for real payments with your live details.
- Turn on Available on Invoice and save.
There is nothing to set for notifications. A payment is recorded when the client comes back from JazzCash. Voucher payments paid later at a shop, and payments where the client didn't come back, are recorded by the cron job. A payment page stays open for 3 days.
Testing
Turn on Testing environment and enter your sandbox Merchant ID, Password and Integrity Salt. Open a PKR invoice as a client in a private browser window, click the JazzCash button and pay with the test mobile account or card shown in your JazzCash sandbox portal. Back in RISE, the payment shows in the invoice's Payments. When you are ready, turn off Testing environment and enter your live details.