ionos

Monday, March 31, 2014

MIGS Gateway integration


  • Integration is very simple.
  • Need two accounts on for test and other for Production/live.
  • we need Migs Merchant ID ,Migs AccessCode, and Migs Signature for implementing the payment gateway in our website
After submiting the Buy button we need to validate the details provided by the user after the validation insert those details to DB and in the server side we need to generate the url that we need to post the details
/*"vpc_AccessCode" the accesscode given by Migs
"vpc_Amount" Amount that is multiplied by 100
"vpc_Command" ='pay',default pay
"vpc_Locale" = 'en' // language
"vpc_MerchTxnRef" orderId // Should be Unique for each payment
"vpc_Merchant" // your merchant ID
"vpc_OrderInfo" // Description/details of Product
"vpc_ReturnURL" // SuccessUrl
"vpc_Version" = '1'
&vpc_SecureHash = // create MD5 of all the values that are passed */

form action="http://abcd.com/migs159-2/" method="post">
input type="hidden" maxlength="250" name="virtualPaymentClientURL" size="65" value="https://migs.mastercard.com.au/vpcpay"
input type="hidden" maxlength="8" name="vpc_Version" size="20" value="1"
input id="vpc_Command" type="hidden" name="vpc_Command" value="pay"
input type="hidden" maxlength="16" name="vpc_Merchant" size="20" value="TESTGTB815073A36"
input type="hidden" maxlength="8" name="vpc_AccessCode" size="20" value="72DC6O95"
input id="vpc_MerchTxnRef" type="hidden" name="vpc_MerchTxnRef" value="test1234/1"
input id="vpc_OrderInfo" type="hidden" name="vpc_OrderInfo" value="trst"
input id="vpc_Amount" type="hidden" name="vpc_Amount" value=""
input id="vpc_Currency" type="hidden" name="vpc_Currency" value="USD"
input type="hidden" maxlength="250" name="vpc_ReturnURL" size="65" value="https://abcd.com"
input id="btnPay" type="submit" name="btnPay" value="Register with GTPay" style="background:#999" /
/form

Featured Post

Payza integration

Payza's Advanced Button in HTML Using simple HTML, you can integrate easily with Payza.Generate buttons and manage payment details f...

Most Popular