Forums / Addon Payment Modules / eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Started by maclean_cherry on 18 Nov 2012, 11:49 PM · Views: 39,580

Results 21 to 40 of 42
26 Apr 2016, 2:52 PM
#21
ivopivo avatar

ivopivo

New Zenner

Join Date:
Apr 2016
Posts:
18
Plugin Contributions:
0

eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

I've tried both eWay shared and redirect but It seems that 80% of orders although processed successfully don't redirect to the checkout confirmation page and the order isn't logged in Zen Cart.

Has anyone experienced something similar and what was the cause?

26 Apr 2016, 9:45 PM
#22
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

ivopivo:

I've tried both eWay shared and redirect but It seems that 80% of orders although processed successfully don't redirect to the checkout confirmation page and the order isn't logged in Zen Cart.

Has anyone experienced something similar and what was the cause?
I've had the same thing happen a few times. It was usually when the customer had entered the CR number wrong a couple of times. Don't know a fix though sorry.

26 Apr 2016, 10:25 PM
#23
ivopivo avatar

ivopivo

New Zenner

Join Date:
Apr 2016
Posts:
18
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

I've had the same thing happen a few times. It was usually when the customer had entered the CR number wrong a couple of times. Don't know a fix though sorry.

Yeah I noticed that too. If you leave spaces in the numbers, it won't give an error, just redirect to the main page. Seems like a very "raw" module. Would have thought eWay would have made more of an effort. Guessing they don't have many Zen Cart users.

26 Apr 2016, 10:41 PM
#24
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

ivopivo:

Seems like a very "raw" module. Would have thought eWay would have made more of an effort. Guessing they don't have many Zen Cart users.
I've had people put in two payments for one order a few times too. It happens when they hit the button twice. Module needs a wait wheel so that people know to wait!

26 Apr 2016, 11:37 PM
#25
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

ivopivo:

I've tried both eWay shared and redirect but It seems that 80% of orders although processed successfully don't redirect to the checkout confirmation page and the order isn't logged in Zen Cart.

Has anyone experienced something similar and what was the cause?

Have used eWay now for some months, never had this happening.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

26 Apr 2016, 11:46 PM
#26
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

Have used eWay now for some months, never had this happening.
It doesn't happen very often. I've been using it for just over 2 years and it has maybe happened 3 times. Only customers that repeatedly put in the wrong number or number format. I think Zencart only gives you so many tries and maybe Eway gives you more??

26 Apr 2016, 11:57 PM
#27
ivopivo avatar

ivopivo

New Zenner

Join Date:
Apr 2016
Posts:
18
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

Have used eWay now for some months, never had this happening.

Shared or transparent redirect?

26 Apr 2016, 11:59 PM
#28
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

I've had people put in two payments for one order a few times too. It happens when they hit the button twice. Module needs a wait wheel so that people know to wait!

Happened to me once (customer hit the button twice) and implemented this (wait wheel or similar) in a 1.5.4 store.

Found an animated "We are processing your payment.... Please Wait" image in a Google image search (use whatever suits you but observe the Copyright notice). Named that image processing_animation.gif and placed it into the /images folder for use with any template.

Then open includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php - scroll to the bottom of the file and find

<?php 
  echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); 
 
  if (is_array($payment_modules->modules)) { 
    echo $payment_modules->process_button(); 
  } 
?> 
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> 
</form> 
<div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div>

change to

<?php 
  echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); 
 
  if (is_array($payment_modules->modules)) { 
    echo $payment_modules->process_button();   
  }     
?> 
<div class="centeredContent"><img id="actionImg" src = "images/processing_animation.gif" class="hiddenField" /></div> 
<div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?><br /><?php echo '<b>Press ONLY ONCE ....</b>';?></div> 
</form> 
<div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div>

That image also shows up for other payment modules (eg PayPal ... slow response etc) - never had this issue ever since.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Apr 2016, 12:04 AM
#29
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

ivopivo:

Shared or transparent redirect?

redirect

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Apr 2016, 12:15 AM
#30
ivopivo avatar

ivopivo

New Zenner

Join Date:
Apr 2016
Posts:
18
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

redirect

Ironically, the change you posted above has it working now (at least in sandbox mode) :shocking:

27 Apr 2016, 12:34 AM
#31
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

That image also shows up for other payment modules (eg PayPal ... slow response etc) - never had this issue ever since.

Thank you! I'll do that as soon as I find a nice image.

27 Apr 2016, 1:18 AM
#32
robbie269 avatar

robbie269

Zen Follower

Join Date:
Feb 2010
Location:
New South Wales, Australia
Posts:
228
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

<div class="centeredContent"><img id="actionImg" src = "images/processing_animation.gif" class="hiddenField" />

Does the image only show if there is a delay? Can't see it when I do a test order.

27 Apr 2016, 1:48 AM
#33
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

robbie269:

Does the image only show if there is a delay? Can't see it when I do a test order.

Yes, it only shows if there is a delay. Can't do a test using Direct Bank Deposit or similar. Best to do a test with PayPal as you can still cancel when you get to PP.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

28 Apr 2016, 1:37 AM
#34
ivopivo avatar

ivopivo

New Zenner

Join Date:
Apr 2016
Posts:
18
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Is there anyway to pass onto the eway invoice text the attributes/sizing of the product rather than just the product name?

15 May 2016, 12:51 PM
#35
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

Yes, it only shows if there is a delay. Can't do a test using Direct Bank Deposit or similar. Best to do a test with PayPal as you can still cancel when you get to PP.

If it still does not work for you then open

includes/modules/pages/checkout_confirmation/jscript_main.php

and find

function submitonce() 
{

Change that function to read

function submitonce() 
{ 
  var button = document.getElementById("btn_submit"); 
  var img = document.getElementById("actionImg"); 
  button.style.cursor="wait"; 
  button.disabled = true; 
  button.className = 'hiddenField'; 
  img.className = ''; 
  setTimeout('button_timeout()', 5000); 
  return false; 
} 

Hope this helps

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

15 May 2016, 12:54 PM
#36
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

ivopivo:

Is there anyway to pass onto the eway invoice text the attributes/sizing of the product rather than just the product name?

The eWay developers should have the right answer for you - I have not played with this....

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

30 Jun 2016, 10:44 AM
#37
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

frank18:

Happened to me once (customer hit the button twice) and implemented this (wait wheel or similar) in a 1.5.4 store.

Found an animated "We are processing your payment.... Please Wait" image in a Google image search (use whatever suits you but observe the Copyright notice). Named that image processing_animation.gif and placed it into the /images folder for use with any template.

Then open includes/templates/YOUR_TEMPLATE/templates/tpl_checkout_confirmation_default.php - scroll to the bottom of the file and find

<?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"'); if (is_array($payment_modules->modules)) { echo $payment_modules->process_button(); } ?> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> ``` > > change to > > ```php <?php echo zen_draw_form('checkout_confirmation', $form_action_url, 'post', 'id="checkout_confirmation" onsubmit="submitonce();"');

if (is_array($payment_modules->modules)) {
echo $payment_modules->process_button();
}
?>

<div class="centeredContent"><img id="actionImg" src = "images/processing_animation.gif" class="hiddenField" /></div> <div class="buttonRow forward"><?php echo zen_image_submit(BUTTON_IMAGE_CONFIRM_ORDER, BUTTON_CONFIRM_ORDER_ALT, 'name="btn_submit" id="btn_submit"') ;?><br /><?php echo '<b>Press ONLY ONCE ....</b>';?></div> </form> <div class="buttonRow back"><?php echo TITLE_CONTINUE_CHECKOUT_PROCEDURE . '<br />' . TEXT_CONTINUE_CHECKOUT_PROCEDURE; ?></div> ``` > > That image also shows up for other payment modules (eg PayPal ... slow response etc) - never had this issue ever since.

If the image does not show when the order confirmation button is clicked the open the file

includes/modules/pages/checkout_confirmation/jscript_main.php

and find

function submitonce()

Change the entire function to read

function submitonce() 
{ 
  var button = document.getElementById("btn_submit"); 
  var img = document.getElementById("actionImg"); 
  button.style.cursor="wait"; 
  button.disabled = true; 
  button.className = 'hiddenField'; 
  img.className = ''; 
  setTimeout('button_timeout()', 5000); 
  return false; 
}

You can change the timeout value to anything lesser or more.

Hope this helps.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

27 Aug 2017, 9:33 AM
#38
etrader avatar

etrader

New Zenner

Join Date:
Dec 2005
Posts:
62
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

I am getting the following error message on the checkout confirmation page:

CreateAccessCode SOAP Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.ewaypayments.com/soap.asmx' : failed to load external entity "https://api.ewaypayments.com/soap.asmx"

I have tried changing the request method to rest in the config.ini file but I still receive the error.

Has anyone got this working with zen cart 1.5.5e?

27 Aug 2017, 8:47 PM
#39
frank18 avatar

frank18

Deceased

Join Date:
Nov 2007
Location:
Sunny Coast, Australia
Posts:
3,427
Plugin Contributions:
2

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

etrader:

I am getting the following error message on the checkout confirmation page:

CreateAccessCode SOAP Error: SOAP-ERROR: Parsing WSDL: Couldn't load from 'https://api.ewaypayments.com/soap.asmx' : failed to load external entity "https://api.ewaypayments.com/soap.asmx"

I have tried changing the request method to rest in the config.ini file but I still receive the error.

Has anyone got this working with zen cart 1.5.5e?

Works fine here (1.5.5e). Suggest you get in touch with eWay tech dept.

NOTE: We are sorry that Frank is no longer with us.
We are grateful for all his contributions to the Zen Cart community.

10 Jul 2020, 1:43 AM
#40
wsla avatar

wsla

New Zenner

Join Date:
Jul 2020
Location:
Melbourne
Posts:
1
Plugin Contributions:
0

Re: eWAY Payment Gateway - Rapid 3.0 API [Support Thread]

Hi Guys,
I have signed upto Eway as the gateway for card payments. They sent me a mail where i was able to generate the API codes and password. Also, in a separate mail i got a plugin. What do i do now? How do i insert the plugin? I am not a IT pro. Do i copy and paste this in a page or what is the process. Please guide me. Thanks in advance.