| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
X-Payments Form not showing during checkout | |||
|
|
Thread Tools |
#1
|
|||||||
|
|||||||
X-Payments Form not showing during checkout
Hi, we upgraded our store to the latest version of x-cart 4.6.5 currently it was under development and we subscribe to x-payments to accept credit cards on our site.
The problem we encounter is during checkout the credit card form from x-payments doesn't show up. It was just loading (please wait), we have to refresh the page before the form to show up. Our development site is under sub-directory of our live site. http://www.stanley-home-products.com/shp/ What seems to be the problem here? I am suspecting SSL issues since certificate is not present at the subdirectory where our dev store is located.
__________________
christian |
|||||||
#2
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Quote:
This is seems to be a known issue related to a PayPal payment methods only. Please apply the attached patch file to fix this issue. It doesn't look like an SSL issue (because you see a form after page reload). But if X-Payments iframe is not loaded at all it can be caused by invalid certificate. To avoid this just open the X-Payments admin in the same browser first and approve/ignore all precautions about certificate. After that iframe should work correctly. Of course this is only related to a development copy.
__________________
Sincerely yours, Vladimir Petrov Senior X-Payments Developer |
|||||||||
|
#3
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Vladimir this patch, and the original which I believe is part of some XP patch, have bug. Just the other day I had to fix one cart because of this patch - the func_paypal_adjust_payment_data function is undefined in this case
x_load('paypal'); needs to be added before that line
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#4
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Quote:
The function "func_ajax_block_opc_payment()" we modify in this patch was added in X-Cart 4.6.0 and "x_load('paypal');" is already present here. Earlier versions don't need this patch, so you may have been refering to some another issue. Generally, yes, if any custom code uses that function they should do "x_load('paypal');" prior calling it.
__________________
Sincerely yours, Vladimir Petrov Senior X-Payments Developer |
|||||||||
#5
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Ok then this is again discrepancy between upgrades and actual stock cart code. XC 4.4.5
/modules/One_Page_Checkout/checkout.php the code in the store file PHP Code:
the code in the latest stock 4.4.5 installation PHP Code:
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#6
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
You can see the missing x_load('paypal');
I am not sure how this had happen or the upgrade path for the store. It is just missing from there. It is possible of course to be an upgrade mistake and not the files...
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
#7
|
|||||||
|
|||||||
Re: X-Payments Form not showing during checkout
Quote:
We are using 4.6.5 version if that patch is present in 4.6.0 why is that bug appear on our site? The patch solve the problem. Thanks!
__________________
christian |
|||||||
#8
|
|||||||
|
|||||||
Re: X-Payments Form not showing during checkout
Don't know if this helps, but I believe the patch Random offered here is fairly new because it is the same patch they gave me to fix the issue reported in a bug tracker (https://bt.x-cart.com/view.php?id=44112) ticket I created on November 18th.
Very glad to have this issue fixed. We have been trying to use the iFrame with X-Cart OPC many times over the years through many versions of X-Cart and always had to revert to using the separate page. Now it seems to be working. Note: We use PayPal Pro. Did not know it was special, but the patch does seem to deal specifically with PayPal Pro. Very pleased to finally be able to use the iFrame.
__________________
Brian X-Cart 4.7.3 |
|||||||
|
#9
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Brian, yes the issue was PayPal-specific and the patch addressed it.
__________________
Sincerely yours, Alex Mulin VP of Business Development for X-Cart X-Payments product manager Last edited by ambal : 11-23-2014 at 10:11 PM. |
|||||||||
|
#10
|
|||||||||
|
|||||||||
Re: X-Payments Form not showing during checkout
Quote:
I've only mentioned that the patch fixes a function, that was added in 4.6.0. So, that function (including the mentioned bug) still exists in 4.6.5 and will work properly out-of-the-box only in the next X-Cart releases.
__________________
Sincerely yours, Vladimir Petrov Senior X-Payments Developer |
|||||||||
|
|||
X-Cart forums © 2001-2020
|