# PeGePay Ambank Duitnow

# PeGePay Setup Guide

## Login

1. Open URL PeGePay: [https://pegepay.com/](https://pegepay.com/) Click **LOGIN** Button[![login.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/b2bh7IIWl0S22KOc-login.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/b2bh7IIWl0S22KOc-login.png)
2. Enter email address and click **CONTINUE** button [![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/YdBlmDMqUDWoTFAO-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/YdBlmDMqUDWoTFAO-image.png)
3. Enter password and click **CONTINUE** button [![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/76zH124CA7yf15Gj-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/76zH124CA7yf15Gj-image.png)
4. Enter verification code and click **ADD DEVICE** button, if verification code expired, click **RESEND CODE** button ## [![WhatsApp Image 2025-02-19 at 11.06.25.jpeg](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/VgA1oXz3qypSITHv-whatsapp-image-2025-02-19-at-11-06-25.jpeg)](https://docs.antlysis.com/uploads/images/gallery/2025-02/VgA1oXz3qypSITHv-whatsapp-image-2025-02-19-at-11-06-25.jpeg)
    
    ## New Account Setup
5. If it is a new account, have to set callback URL. From sidebar, click **General Settings**, click **Payment Settings**, enter callback URL and click **SAVE** button.  
    Callback URL: <div><div>**https://payment-engine.antlysis.com/api/payment/duitnow/success**</div></div>  
    ## [![callback url.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/JuaxUII9IyMlGavb-callback-url.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/JuaxUII9IyMlGavb-callback-url.png)
    
    
    ## Generate QR Code
    
    ### Dynamic QR Code
    
    <span style="color: rgb(224, 62, 45);">NOTE: if already setup dynamic QR code, when click **REGENERATE KEY**, all the old key will be expired and need to update to the latest key</span>
6. From Sidebar, click **General Settings**, click **Payment Settings**, under **No PeGeFlash Display/Interactive Online/WhatsApp QR**, click **ADD DEVICE** button, then copy the Onboarding Key and paste into Laundro Portal [![dynamic.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/8hIKYifMUYEyC9JC-dynamic.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/8hIKYifMUYEyC9JC-dynamic.png)
7. In Laundro Portal, go to Settings Page, under Payment Gateway Config, select **Add DuitNow Config**[![laundro.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/FrlzYHG7EcBl66be-laundro.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/FrlzYHG7EcBl66be-laundro.png)
8. Input Label, firstname and paste the Onboarding Key from PeGePay into Duitnow Onboarding Key input, then click **Submit** button. The Firstname have to same with the store\_label in static Duitnow callback URL. If you want to use back the old Duitnow Refresh Token, you can just copy and paste in Duitnow Refresh Token input.   
    [![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-12/scaled-1680-/VjhLFtrNNtXVFOhg-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-12/VjhLFtrNNtXVFOhg-image.png)
    
    [![Untitled.png](https://docs.antlysis.com/uploads/images/gallery/2025-12/scaled-1680-/WdCJENXElEHkSRsH-untitled.png)](https://docs.antlysis.com/uploads/images/gallery/2025-12/WdCJENXElEHkSRsH-untitled.png)
9. To enable DuitNow in machine payment page in loyalty, in outlet settings page, under **Duitnow Config**, select the config and save [![laundro duitnow.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/Hjv0S3O1Yl7lghF9-laundro-duitnow.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/Hjv0S3O1Yl7lghF9-laundro-duitnow.png)
10. To enable Duitnow for eToken reload in loyalty, click **Token Config** button [![laundro token config.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/MtPQA5OToAACx1Wa-laundro-token-config.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/MtPQA5OToAACx1Wa-laundro-token-config.png)
11. Payment Gateway select Duitnow, and select the duitnow Config, then **Submit** button [![token duitnow.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/P52TdSkF5bX9qOAw-token-duitnow.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/P52TdSkF5bX9qOAw-token-duitnow.png)
    
    ### Static QR Code
12. You can get the static QR code from https://pegepay.com/iframe.php?merchant\_id=&lt;merchantID&gt;, replace &lt;merchantID&gt; with PeGePay merchant ID [![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/r2qotBX9i8t67opx-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/r2qotBX9i8t67opx-image.png)
13. To get the PeGePay Merchant ID, you can get from **Payment Settings** Page, for example, M100000245 is the merchant ID and you can open the url: https://pegepay.com/iframe.php?merchant\_id=M100000245 [![merchant ID.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/QjgwWO7BvJZAVfRs-merchant-id.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/QjgwWO7BvJZAVfRs-merchant-id.png)
14. From **Payment Settings** page, under **Static QR Buddy**, Click **ADD DEVICE** button   
    [![add static.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/XJeAAjlK5R3N3kHa-add-static.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/XJeAAjlK5R3N3kHa-add-static.png)
15. Enter the description and click **GENERATE KEY** button \* The new connector ID will be empty Onboarding key and key validity, if already have onboarding key and key validity that is old connector ID[![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/t6xU1B7tPyxwpMZz-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/t6xU1B7tPyxwpMZz-image.png)
16. Copy the Onboarding Key, the key expired time is showing on Key validity [![generated key.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/nlbnjieAe7twNHgn-generated-key.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/nlbnjieAe7twNHgn-generated-key.png)
17. Paste the Onboarding Key to static QR code page and click **Continue** button [![enter onboarding key.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/cXElWA1yGDzbe32k-enter-onboarding-key.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/cXElWA1yGDzbe32k-enter-onboarding-key.png)
18. The Static QR Code is showing, you can screenshot the QR code with the company name [![qr page.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/dlZ6IcDBnPXHdqc0-qr-page.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/dlZ6IcDBnPXHdqc0-qr-page.png)
19. When the static QR code is showing, it will show CONNECTED, copy the first 6 character of Connector ID and paste into Laundro Portal, no need to copy the last three character (QRD), QRD is stand for QR Display [![connected.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/UWDyraKNeQt5Otd1-connected.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/UWDyraKNeQt5Otd1-connected.png)
20. In Laundro Portal, in machine settings page, paste the Connector ID into the input and click save [![laundro connector id.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/7Gx5sHkHronfzwZy-laundro-connector-id.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/7Gx5sHkHronfzwZy-laundro-connector-id.png)
21. To generate the second machine static QR code, you can click the icon at the bottom of the page [![logout.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/G0B2y8ENptMrnlyr-logout.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/G0B2y8ENptMrnlyr-logout.png)
22. Click the Change Log-In button to logout [![change login.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/wLVpc75hzBErmpxd-change-login.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/wLVpc75hzBErmpxd-change-login.png)
23. Click CONFIRM button to confirm logout [![confirm logout.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/2kvq1z3u1ArYF7iW-confirm-logout.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/2kvq1z3u1ArYF7iW-confirm-logout.png)
24. You can repeat the step to generate the static QR code for all the machine

## Transaction Checking

### Static QR Transaction

To check the static QR code transaction status, from sidebar, click **Transaction Log**, click **Static QR Buddy Transactions**

[![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/if5jqQ2yZnoJXr0l-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/if5jqQ2yZnoJXr0l-image.png)

### Dynamic QR Transaction

To check the dynamic QR code transaction, from sidebar, click **API Log**, you can click the icon to check for each transaction

[![dynamic trans.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/rZnpmvhw1I33dRzS-dynamic-trans.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/rZnpmvhw1I33dRzS-dynamic-trans.png)

There will be 3 status

**UNPROCESSED**: the QR code is generated but the user didn't make the payment

<span style="color: rgb(241, 196, 15);">**SUCCESSFUL**</span> (yellow): payment the successful

**<span style="color: rgb(224, 62, 45);">SUCCESSFUL</span>** (red): payment duplicated, the user using the same QR code to pay 2 times

[![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-02/scaled-1680-/DIImpi7ppzwS2Xeo-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-02/DIImpi7ppzwS2Xeo-image.png)

If the Pay Mode is FR and the Amount is negative, this transaction is refunded

[![image.png](https://docs.antlysis.com/uploads/images/gallery/2025-03/scaled-1680-/MQya4aeRzC2VPSRq-image.png)](https://docs.antlysis.com/uploads/images/gallery/2025-03/MQya4aeRzC2VPSRq-image.png)