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

Custom PayPal Payment Page Styles & X-Cart

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions
 
Thread Tools Search this Thread
  #1  
Old 07-09-2012, 01:44 PM
 
exitfairway exitfairway is offline
 

Member
  
Join Date: Feb 2011
Posts: 16
 

Smile Custom PayPal Payment Page Styles & X-Cart

You can create a custom PayPal payment page style. For more information check here:

https://www.paypal.com/hk/cgi-bin/webscr?cmd=p/mer/cowp_summary-outside

If you have more than one shop, you might want X-Cart to use a specific style other than the default one. Simply add the following line to /payment/ps_paypal.php for PayPal, and /payment/ps_paypal_pro_us.php for PayPal Pro Express Checkout

Code:
++$fields["page_style"] = "PAYPAL STYLE NAME"; func_create_payment_form("https://$pp_host/cgi-bin/webscr", $fields, 'PayPal');

Tested working for v4.4 and v4.5
__________________
X-Cart Gold Plus 4.6
http://polkaduck.com
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions



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 10:32 AM.

   

 
X-Cart forums © 2001-2020