virtuemart Paypal (new API) problems

慕祯
2023-12-01
I have experienced the same problem, but in IE only... if I run the same product through the checkout process in Google Chrome, Safari, and Firefox with only PayPal (new API) it works fine and goes to the paypal payment page, but... if I run it through IE8, it will give me the error.  Paypal Express checkout works in all instances. I have tested on Google Chrome, Safari, and Firefox in OSX and they all work fine - IE8 gives the error, Google Chrome and IE9 did work in Windows 7.

I have tried with only PayPal (new API) and with other payment methods such as cash on delivery using ps_payment

Everybody try to do this:

Open the file get_payment_method_paypal_ex.tpl.php in [JOOMLA_HOME]/components/com_virtuemart\themes\default\templates\checkout

Look for this code:

<input type="hidden" id="paypalExpress_ecm" name="payment_method_ppex" value="" />

and change for this

<input type="hidden" id="paypalExpress_ecm" name="payment_method_ppex" value="2" />

The problem in IE8 is that JavaScript Engine doesn't execute the code that puts the value 2 in input id paypalExpress_ecm.

Virtue Mart needs that value to bypass the traditional credit card type and number validation


ref:http://forum.virtuemart.net/index.php?topic=81620.0

 类似资料:

相关阅读

相关文章

相关问答