View Single Post
  #4  
Old 11-20-2014, 09:08 PM
  random's Avatar 
random random is offline
Advanced Staff Users
 

X-Cart team
  
Join Date: Dec 2008
Posts: 79
 

Default Re: X-Payments Form not showing during checkout

Quote:
Originally Posted by cflsystems
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

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
Reply With Quote