Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

Cannot switch between two created shipping methods

 
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions
 
Thread Tools
  #1  
Old 05-16-2017, 09:28 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Thumbs up Cannot switch between two created shipping methods

I am using x-payment 3.02, x-cart 4.77, light-responsive skin and x-cart's one-page checkout. I am using iframe for x-payments, so that the credit card is entered on the checkout page.

I have created two custom (added) shipping methods: Free Ground Shipping ($0.00) and Pick up ($0.00). (see attached)

When a user attempts to switch between the two shipping methods we created, x-payments hangs when trying to load the iframe. The solution is to refresh the page, and then the credit card iframe appears. (see attached)

This problem does not occur if we choose a payment method that does not invoke x-payments (eg. phone ordering), which makes me believe that the issue is with x-payments.

The problem also does not seem to occur if switching between a predefined shipping method (eg. UPS overnight) and a custom method. It seems to be confined to switching between two custom methods.

I cannot find any errors in the log files.

I hope you can help resolve the problem.

Thank you!
Attached Images
File Type: jpg Capture.JPG (21.2 KB, 8 views)
File Type: jpg Capture1.JPG (22.9 KB, 2 views)
__________________
X-Cart version 4.7.12
Reply With Quote
  #2  
Old 05-17-2017, 04:58 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Cannot switch between two created shipping methods

Checking this in our default copies of software. Stay tuned.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #3  
Old 05-17-2017, 06:12 AM
  ambal's Avatar 
ambal ambal is offline
 

X-Cart team
  
Join Date: Sep 2002
Posts: 4,119
 

Default Re: Cannot switch between two created shipping methods

Confirmed. Going to review it in the next development sprint or in one after the next one.
__________________
Sincerely yours,
Alex Mulin
VP of Business Development for X-Cart
X-Payments product manager
Reply With Quote
  #4  
Old 05-17-2017, 08:40 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default Re: Cannot switch between two created shipping methods

Thank you for getting back so quickly; we appreciate it. This is a pretty important issue for us, so if you have a patch available before the next version is released, we'd sincerely appreciate it.
__________________
X-Cart version 4.7.12
Reply With Quote
  #5  
Old 05-17-2017, 11:40 PM
 
joss joss is offline
 

X-Cart team
  
Join Date: Feb 2009
Posts: 60
 

Default Re: Cannot switch between two created shipping methods

Here is a quick fix for this issue:

HTML Code:
--- a/skin/common_files/modules/One_Page_Checkout/ajax.checkout.js +++ b/skin/common_files/modules/One_Page_Checkout/ajax.checkout.js @@ -441,7 +441,7 @@ ajax.widgets.checkout.obj.prototype.selectShipping = function(elm) { action: 'update' }, success: function(a, b, c, d) { - return s.callback(true, a, b, c, d) && (s.isXPCPayment(paymentid) ? true : s.enableCheckout()); + return s.callback(true, a, b, c, d) && s.enableCheckout(); }, error: function(a, b, c, d) { return s.callback(false, a, b, c, d) && s.enableCheckout();
__________________
joss@x-cart.com
Reply With Quote

The following 2 users thank joss for this useful post:
ambal (05-18-2017), joestern (05-18-2017)
  #6  
Old 05-18-2017, 07:31 AM
 
joestern joestern is offline
 

Senior Member
  
Join Date: Apr 2004
Posts: 185
 

Default Re: Cannot switch between two created shipping methods

It worked; thank you!
__________________
X-Cart version 4.7.12
Reply With Quote
Reply
   X-Cart forums > X-Payments > X-Payments issues & questions


Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 05:13 AM.

   

 
X-Cart forums © 2001-2020