MCP Integration

(Optional)

Follow below integration steps if integrating Multi-Currency Payments(MCP) -

Demo of MCP Flow

Pre-requisites

Kindly connect with your Key Account Manager at PayU to get below credentials -

  1. Merchant Access Key

  2. Merchant Secret Key

Pass Merchant Access Key

Pass Merchant Access Key in Additional Params in Payment Params as mentioned here.

Set these Additional params in Payment Params mentioned here.

Generate Hash For MCP

For MCP payments, SDK require Lookup API Hash which is a Dynamic Hash. SDK will call generateHash() method as explained here

Lookup API Hash is calculated with HmacSHA1 signature. It requires a Merchant Secret key in calculating the hash. Below example code demonstrate the calculation of Lookup API Hash-

Last updated

Was this helpful?