FAQ Q226: How do I setup my MasterCard MiGS account to accept payments for the reservations?

For general information about accepting payments in Planyo see Q121: I'd like to accept credit card payments for the reservations.

First of all, to accept payments through your MasterCard MiGS account, you need to select MasterCard MiGS in the Payment processing site option on the site settings page.

In order to submit the payment form, MasterCard MiGS requires that the data is authenticated with your account's secure hash secret code and merchant access code and merchant ID. The first two values, especially the secure hash secret code, should not be shared with anyone, including planyo.

Since we DO NOT want to ask you for your secure hash secret code, the payment request form needs to be authenticated by a special PHP proxy script that you place on your web server. You can download the script here.

Once you download and unpack the file, edit it with a text editor (e.g. Notepad), set the $SECURE_SECRET, $MERCHANT_ACCESS_CODE and $MERCHANT_ID variables (at the beginning of the script) with the data provided by your bank and upload the script to your web server.

Next, go back to the site settings page at Planyo and in the field below the Payment processing site option type the URL pointing to the uploaded script (located on your server).

Now that you have the MiGS payments set up, when your clients get to the end of the reservation process, they will see the pay now button. Clicking the button sends all necessary reservation and payment data to the PHP proxy script on your server. The script adds the required authentication fields and automatically sends it on to the MasterCard MiGS gateway. Once the client makes the payment, Planyo gets notified about it and automatically updates the status of the reservation.

Back to Frequently Asked Questions