Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Using PhonePe payment device payment can be made in two ways - using the card and using the QR code

For the configuration of the app-config file, Users of PhonePe would need the attribute values from PhonePe end:

Info

Important - Note that for the generic Ginesys configuration the 3rd and 4th steps need the following details -

Assembly name: GINESYSPhonepe
Class name: Phonepe
Method name: PhonepeAcceptPayment

 

Sample content of the app.config file for PhonePe device

{
"SecurityParams":
{
"MerchantId": "merchant id",
"StoreId": "store id",
"TerminalId": "terminal id",
"SaltKey": "salt key value",
"SaltIndex": "salt index value",
"XProviderId": "X provider id",
"PaymentProcess": 0 or 1 or 2
},
"APIParams":
{
"DynamicQRCodeGenerationURL":"https://mercury-t2.phonepe.com/v3/qr/init",
"DynamicQRCodeCheckPaymentStatusURL":"https://mercury-t2.phonepe.com/v3/transaction",
"ClickAndCollectPaymentRequestURL":"https://mercury-t2.phonepe.com/v3/charge"
}
}

Note that the Base URLs have to be allowed by the firewall (if there is any) and confirmed by PhonePe.

The attribute values specified above are sample only.

Click to download this app.config file:

View file
namephonepe-app.config

Attribute Description:

ATTRIBUTES

DESCRIPTIONS

MerchantID

To be provided by PhonePe

StoreId

Name of the store and to be provided by the enterprise

TerminalId

SaltKey

To be provided by PhonePe

SaltIndex

XProviderId

To be provided by PhonePe

PaymentProcess

  • Click and Collect (PaymentProcess=0)

  • QR code scanning from the cashier's screen (PaymentProcess=1)

  • QR code scanning from the device screen (PaymentProcess=2)

DynamicQRCodeGenerationURL

The URL value of this attribute would be provided and confirmed by PhonePe.

PhonePe will generate the QR code dynamically when this URL will get called.

DynamicQRCodeCheckPaymentStatusURL

The URL value of this attribute would be provided and confirmed by PhonePe.

PhonePe will check the payment status dynamically when this URL will get called.

ClickAndCollectPaymentRequestURL

The URL value of this attribute would be provided and confirmed by PhonePe.

PhonePe will send the notification dynamically to the PhonePe payment app when this URL will get called.