VirtueMart Forum

VirtueMart 2 + 3 + 4 => General Questions => Topic started by: kimtyrer on November 22, 2018, 03:33:43 AM

Title: vm errorPHPSHOP PAYMENT ERROR
Post by: kimtyrer on November 22, 2018, 03:33:43 AM
hiya
I have been trying to solve this for sometime now
I am a novice
joomla 3 vm 3
eway payment gateway
one page checkout
www.galafreywines.com.au

each time I try to add vmpayment eway to my one page checkout I can not get it to work and comes up with vm errorPHPSHOP PAYMENT ERROR no error
the vm cart is not connecting or talking to eway so they can not help me
anyone have some suggestions
attached screen shots fyi
cheers
kim
Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: GJC Web Design on November 22, 2018, 09:10:31 AM

Quoteeach time I try to add vmpayment eway to my one page checkout I can not get it to work

what does this mean?

Have you tried with the standard check out ?

turn off that onestepcheckout plugin and try
Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: kimtyrer on November 22, 2018, 09:50:27 AM
hiya

it means the vm payment eway in payment gateway doesnt work
it throws out that code

i dont believe its the one page checkout ( as it wasn't working before I had it) and i dont want to get rid of it as I prefer an easy one page checkout

what does the eroor code mean? surely that can point me in the right direction?

Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: GJC Web Design on November 22, 2018, 12:16:56 PM
well .. if you wont try a simple test for your own benefit what can we do?....

that garbled error string you give is meaningless to me

there are no such strings in VM

PHPSHOP is what VM was called 100 years ago...
Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: kimtyrer on November 23, 2018, 02:49:04 AM
ok- fair enough- novice here so bit nervous about changing stuff
but try without one page checkout and prostar template and same issue?

Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: kimtyrer on November 23, 2018, 02:53:02 AM
i can get the other eway payments to work- iframe, transparent direct etc and paypal- just not the vmpayment eway selection which works off eway customer ID but eway assure me it should work. usually they would get a report if a payment doesn't work but eway dont even get that. hence Vm not connected or talking to eway? and no real reason why other than than code? is there anyway to check?
Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: Jörgen on November 23, 2018, 07:11:09 AM
Has it ever worked ?
What changed ?
Jörgen  @ Kreativ Fotografi
Title: Re: vm errorPHPSHOP PAYMENT ERROR
Post by: GJC Web Design on November 23, 2018, 10:25:29 AM
have never used the plugin but looking at the code on a confirmed order it calls

Quote$apiEndpoint = self::getApiEndpoint($method);
      $client = \Eway\Rapid::createClient($method->APIKey, $method->APIPassword, $apiEndpoint);
      $response = $client->createTransaction(\Eway\Rapid\Enum\ApiMethod::TRANSPARENT_REDIRECT, $transaction);

      if (!($response instanceof \Eway\Rapid\Model\Response\AbstractResponse)) {
         self::redirectToCart();
      }

      if ($response->getErrors()) {
         foreach ($response->getErrors() as $error) {
            self::ewayError($method, \Eway\Rapid::getMessage($error));
         }
         self::redirectToCart();
         return;
      }

does this mean it only ever calls the  TRANSPARENT_REDIRECT method?

You need to start digging in there and echo out of log the $response & $transaction to see what is happening...

I haven't got any clients that use Eway which may mean its usage is fairly rare  .. so maybe a core bug that has never been seen..?