Connect Your PhonePe EDC Machine to Your Billing System
With SwilERP’s PhonePe EDC integration, your billing and payment process becomes connected. When you select the Card/EDC option while saving a bill, the bill amount is automatically sent to the EDC machine. Once the customer completes the payment, SwilERP instantly updates the payment status on the screen and saves the bill.
Step 1: Log in to Swil Admin
Start by logging into your Swil Admin panel. From here, you’ll be able to add and configure your PhonePe EDC machine as a device for billing.
- Go to admin.swilerp.com.
- After logging in, you’ll see the Swil Admin dashboard. Click on the Integration menu to proceed.
Reference image:
Swil Admin Dashboard- Here, you need to click on the "Connect PhonePe" button to add your device.
Reference image:
Integration Menu- You'll see the list of all connected devices here; you can also edit them.
- To add a new device, click on the "+Add device" button.
Reference image:
Add Device Screen- The device type will be selected automatically (by default).
- Select Branch from the drop-down list.
- Following details will be provided by the third party (PhonePe team); please fill them in:
- Merchant ID
- Terminal ID
- Provider ID
- Merchant Display Name
- Store ID
- Store Name
- Click on the "Add" button.
Note: You can choose only one branch for each EDC machine.
Reference image:
Add Device
Step 2: Create Card Type in SwilERP
Open SwilERP and create a new Card type. This will allow you to link PhonePe EDC payments with your billing process.
- Go to Masters> Other> Credit Card Type.
- Here you have to create 2 types of cards:
- PhonePe QR
- PhonePe Card
- The process for creating card types is the same; here’s a guide on how to create a QR code card type.
- Click on the "New" button.
- Enter "Credit Card Type" in the column.
- Select "Accounts" from the drop-down list.
- Enter "Parameter" as "PY - QR" for QR and "PY - Card" for card.
- Save the window.
Note: Similarly, create a card type for the PhonePe Card
Reference image:
Credit Card Type
Step 3: Create a Sales Bill
Go to the billing section and create a new Sales Bill. Add the items as usual and proceed to the payment stage.
- After adding products and amount in the bill, click on the Save button.
- When you click the save button, a new screen for Payment Details will appear.
- Click on the "Card/UPI" option.
- Select the "Card Type" that you created earlier.
Reference image:
Card Selection- If you have multiple EDC devices connected to SwilERP, a device selection screen will appear after choosing the Card type.
- Select the correct device to continue with the payment.
Reference image:
Device Selection- After selection, save the payment details window.
- Now, the payment screen will redirect to your connected EDC machine.
- Before making the payment, following screen will appear in your SwilERP.
Reference image:
Payment Status Window- You can check the Payment Status by clicking on the button.
- Once the payment is completed, the system will display a notification saying, "Payment completed successfully."
Reference image:
Notification window