MIGSVPC Payment Error

  • Posts: 4
  • Thank you received: 0
11 years 6 months ago #69263

Hi,

I have enabled MIGSVPC Payment plugin for Country Zone: India. But when someone proceed to payment with MIGSVPC and enter card details and click on next then it showing following error :

migsvpc Error Code :

I5433-10091803: Invalid Permission : moto
Payment Server System Error

Will you please explain that error. and help me to fix it.

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #69286

Hi,

This problem come from your plugin configuration, I think that you have a wrong access key or merchant ID.
Here is the documentation of MIGS:
www.classictravel.lk/admin/uploads/subsc...20Manual%202%203.pdf

Hope this will help you.

The following user(s) said Thank You: Mohamed Thelji, govind@trinth.com

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0
11 years 6 months ago #69315

Thanks, Xavier I am going through the manual i hope it will help me to fix the issue.

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0
11 years 6 months ago #69625

:(

Hi Xavier,

In configuration vpc_AccessCode and vpc_Merchant ID are correct but still getting same error. I have used those vpc_Merchant ID and vpc_AccessCode in another application and it is working fine but in that apllication values are being posted at URL : migs.mastercard.com.au/vpcpay and in hikkashop MIG Payment Plugin POST URL is migs.mastercard.com.au/vpcdps .

The Merchant ID provided by Payment Provider have not May Omit Hash privilege. So, I am generating hash digest according to manual and posting it with other values. Still getting same error.

Is there anyway to POST only amount in another page (e.g $url/$mypage).

Please help i need to complete it as soon as possible. Only after completing this i can go live.

Please Log in or Create an account to join the conversation.

  • Posts: 81597
  • Thank you received: 13081
  • MODERATOR
11 years 6 months ago #69746

Hi,

That explains why it doesn't work.

The vpcpay URL is for the "Server Hosted" method of MIGS VPC
The vpcdps URL is for the "Merchant Hosted" method of MIGS VPC

The HikaShop MIGS VPC plugin only supports the "Merchant Hosted" method. So I guess that the credentials MIGS provided to you only allow you to use the Server Hosted method and not the one which is supported by HikaShop. Thus it doesn't work.

I would recommend you to contact MIGS VPC to see if the can enable the Merchant hosted method for your account.

The following user(s) said Thank You: govind@trinth.com

Please Log in or Create an account to join the conversation.

  • Posts: 4
  • Thank you received: 0
11 years 6 months ago #72078

Hi Nicolas !

After communication with MIGS Vendor, I come to know that they are operating 'MIGS 2.5 Party' Payment Solution in India. So they denied to enable the Merchant hosted method for my account. Now I have no other option.
I am forced to find a solution using URL : migs.mastercard.com.au/vpcpay which one is 'Server Hosted' method.

I got some integration code from MIGS vendor written in PHP. I can go through the code that is working. But i have no idea how to implement that code in Joomla. If it is possible then please guide me. I can develop a new plugin for MIGS 2.5 Party.

In the code provided by vendor there are two file vpc_php_authenticate_and_pay_merchanthost_do.php and vpc_php_authenticate_and_pay_merchanthost_dr.php . Here I am attaching those files if possible please guide me and tell me few steps to prepare plugin.

File Attachment:

File Name: vpc_php_au...t_do.txt
File Size:17 KB


File Attachment:

File Name: vpc_php_au...t_dr.txt
File Size:23 KB

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 13201
  • Thank you received: 2322
11 years 6 months ago #72225

Hi,

To create a new plugin, you can find some documentation here:
www.hikashop.com/en/support/documentatio...r-documentation.html

When you create a plugin for HikaShop, you have to extends your plugin from JPlugin.
In the plugin create the functions with the name of the triggers.
Here you can see an example using two triggers: onBeforeOrderCreate and onAfterOrderCreate.

class plgHikasshopName extends JPlugin {
function plgHikasshopName(&$subject, $config){
parent::__construct($subject, $config);
}
//Call a trigger, in this example: onBeforeOrderCreate
function onBeforeOrderCreate(&$order,&$send_email){
//Actions to do when my trigger is called
}
//Another trigger
function onAfterOrderCreate(&$order){
//Actions to do when my trigger is called
}
}

You can too see how the other plugins works.

The following user(s) said Thank You: govind@trinth.com

Please Log in or Create an account to join the conversation.

Time to create page: 0.102 seconds
Powered by Kunena Forum