Support

MIGS

Posted: April 3, 2018 at 4:31 pm


bluelink

April 3, 2018 at 4:31 pm

Hello: is MIGS gateway work in middle east? and we are located in Jordan but I changed currency in settings from JOD to USD but I’m still getting warning that the currency USD isn’t supported by MIGS


Tony

  • Support Staff

April 4, 2018 at 6:41 am

Hi there,

We’ve recently made some changes to the Migs payment method to allow it to support more currencies (the current version supports AUD) however those changes are currently under review before they will be tested and released if no issues are found.

I can send you a copy of the development copy if you would like to test the new changes?

Also, do you have a MIGS account that supports multiple currencies or just a single currency?


bluelink

April 4, 2018 at 7:02 am

Hi, yes please send me a copy for it, our MIGs account support USD and JOD


Tony

  • Support Staff

April 4, 2018 at 10:43 am

Hi there,

I’ve emailed a copy of the latest MIGS payment method to the email linked you your account.


bluelink

April 7, 2018 at 4:29 pm

Thanks Tony,
I have uploaded the plugin but I’m still getting the below error:
“This payment method does not support the currency set on your site (USD). Please activate a different payment method or change your site’s country and associated currency.”


Tony

  • Support Staff

April 10, 2018 at 2:25 pm

I did some checking into this and here are the currencies currently supported by that payment method:

'AUD',
'AED',
'BDT',
'BND',
'EGP',
'HKD',
'IDR',
'INR',
'JOD',
'KWD',
'LBP',
'LKR',
'MUR',
'MVR',
'MYR',
'NZD',
'OMR',
'PHP',
'QAR',
'SAR',
'SGD',
'TTD',
'VND'

USD is not currently listed but JOD is, can you use that currency?

It’s also possible to add USD to the list of supported currencies in the payment method, I can provide details on how to do that, however, we don’t currently have an account that accepts USD so you would need to confirm that works as expected for you.


bluelink

April 11, 2018 at 2:52 am

Hello Tony, we are located in Jordan but since we are inbound tourism agency our prices are in USD, our account with MIGs is in USD so please send me how to add USD to it and we will do the test and let you know


Tony

  • Support Staff

April 11, 2018 at 2:59 am

You’ll need to edit a file within the plugin.

\eea-migs-payment-method\payment_methods\MIGS_Onsite\EEG_MIGS_Onsite.gateway.php

From line 32 you’ll find the above list, add 'USD', to that list:

'AUD',
'AED',
'BDT',
'BND',
'EGP',
'HKD',
'IDR',
'INR',
'JOD',
'KWD',
'LBP',
'LKR',
'MUR',
'MVR',
'MYR',
'NZD',
'OMR',
'PHP',
'QAR',
'SAR',
'SGD',
'TTD',
'USD',
'VND'

(It doesn’t matter where just be aware of the additional comma used if it’s not the last element in the list)


bluelink

April 11, 2018 at 3:47 am

Thanks Tony, I have added USD to above file but I got the below error when I tried to test the payment method
“An error has occurred:
Transaction not processed – system error”


Tony

  • Support Staff

April 11, 2018 at 3:55 am

Transaction not processed – system error.

Is a ‘catch all’ error from MIGS themselves that can be caused by multiple issues, it generally means there is an issue with your account or the ID/Access code you are using is incorrect.

If you test a payment using JOD do you get the same error?


bluelink

April 11, 2018 at 4:15 am

no I got same error with JOD!
is your payment gateway use sha256 ?


Tony

  • Support Staff

April 11, 2018 at 4:41 am

Looking through the code I can’t see any encryption calls, so what would we be using sha256 for?


bluelink

April 11, 2018 at 4:56 am

Hi Tony,
our MIGs account is already configured with out website but not with EE, we were using it for manual payment, in current manual payment that we are using and working fine we have the following settings (which was sent from MIGs):

Merchant ID : ####
Secure hash : #####
Secure Mode : sha256
Payment Url : https://migs.mastercard.com.au/vpcpay
Access code :#####
Version : 1.0
Command : pay
Location : en


Tony

  • Support Staff

April 12, 2018 at 7:40 am

https://migs.mastercard.com.au/vpcpay is for Server-Hosted payments (as in you are directed to MIGS to make the payment, then back to your site).

The EE MIGS payment method uses the Merchant-Hosted Payment integration and does not use sha256.

I’d recommend contacting MIGS and have them confirm your account has Merchant-Hosted payments enabled, the above error is usually an issue with the account.

The support post ‘MIGS’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso