News:

Support the VirtueMart project and become a member

Main Menu

Realex Payments for Elavon

Started by Yellow Cherry, April 18, 2019, 18:35:02 PM

Previous topic - Next topic

Yellow Cherry

Hello,
We are currently trying to configure Realex Payments with Elavon Payment Gateway - Elavon have confirmed that the configuration we have created is correct but the cart hangs after you confirm order on a "Please Wait" when debug is switched on you also get the notice: Notice: Undefined property: VirtueMartViewCart::$html in orderdone.php but as it is just a notice I don't believe this is causing the problem?
There are no Javascript errors appearing in the console
We have tried to disable the elements that Elavon said to test and still no success.
Our test website is http://britishcurlingsupplies-co-uk.stackstaging.com/ and is http not https could this be the problem?
Greatly appreciate any suggestions as to how to figure out what is wrong, or to fix the error
Many Thanks
Internet Marketing // Website Development

kishoreonwork

Hello ,

I tried to make a test order and it struck there.
The reason is - there is no <form> element  on the page with id - vmPaymentForm

if you see your source , below js code is submitting the form

<script id="vm.paymentFormAutoSubmit-js" type="text/javascript">//<![CDATA[
jQuery(document).ready(function($){
    jQuery("body").addClass("vmLoading");
  var msg="Please wait while redirecting";
    jQuery("body").append("<div class=\"vmLoadingDiv\"><div class=\"vmLoadingDivMsg\">"+msg+"</div></div>");
    jQuery("#vmPaymentForm").submit();
}) //]]>



But as i can see there is no form to submit on the order done page so the loading spinner is doing  its job. So there is a problem in plugin or template.

Why not test it with default joomla theme ?

Thanks
Kishore
I am available for paid joomla and virtuemart consulting.
http://www.kishoreweblabs.com/
skype kishore2607

Yellow Cherry

Hello, I tested with a default theme and reinstalled Virtuemart - it did say the VMPayment Realex HPP and API and VMUser Realex HPP and API fields had been updated but this has made no difference to the problem, would it work if I manually added a form with the correct ID to the order page if I could get the correct fields?
Internet Marketing // Website Development

kishoreonwork

The problem is the payment plugin is not returning any data.
Yes it will definitely work as long as it has form with the id vmPaymentForm.
Create a form with required id and pass it to payment processor.

Also you must enable debug mode from backend  to see what is going on the payment plugin

I am available for paid joomla and virtuemart consulting.
http://www.kishoreweblabs.com/
skype kishore2607

Yellow Cherry

Is anyone familiar with this error?

Payment at British Curling Supplies is returning an error:

505
You cannot use this service from there https://britishcurlingsupplies.co.uk/plugins/vmpayment/realex_hpp_api/jump.php Please contact the merchant.


the plugin is the realex_hpp_api
Internet Marketing // Website Development