Close

Problem: Intermittent JavaScript error preventing page from loading on the One Page Checkout .

JayC
7 years ago
#12742 Quote
Avatar
  • 14
Steps to Recreate: Reload https://www.infectioncontrolproducts.com/order/checkout multiple times until error occurs

Details: I have determined that the error is caused during call to the api 'GetPaymentMethods?countryid='. When the page fails to load, it is supplying 'undefined' to the 'countryid' parameter. I have also determined this happens when the call to 'GetPaymentMethods' is called BEFORE 'GetCustomerAddresses?addressesFor=Billing'. Every time it works, GetPaymentMethods is called afterwards.
hristian.dimov
7 years ago
#12751 Quote
Avatar
  • Moderator
  • 386
JayC wrote:
Steps to Recreate: Reload https://www.infectioncontrolproducts.com/order/checkout multiple times until error occurs

Details: I have determined that the error is caused during call to the api 'GetPaymentMethods?countryid='. When the page fails to load, it is supplying 'undefined' to the 'countryid' parameter. I have also determined this happens when the call to 'GetPaymentMethods' is called BEFORE 'GetCustomerAddresses?addressesFor=Billing'. Every time it works, GetPaymentMethods is called afterwards.


Hi,

What third-party Payment Method plugins do you have? Recently, there was a problem with Nop-Payments plugins to work along with OnePageCheckout but it was fixed 2 weeks ago.
Regards,
Hristian Dimov
Nop-Templates.com