20 Oct 2017 
Support Center » Knowledgebase » Avactis 1.9.1 build 8365 and later » PayPal's Custom Payment Pages
 PayPal's Custom Payment Pages
Solution If you use the PayPal Website Payments Standard  payment method and you want to tailor PayPal's payment pages to the style of your website, add your styles in your PayPal account.

Read the instruction on how to do it here:

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


After you create your own styles in PayPal, you need to make some changes in Avactis:

1. Copy the "payment_module_paypal_cc_api.php" file located in the "avactis-system/modules/payment_module_paypal_cc" with the "payment_module_paypal_cc_api.bak.php" name in the same folder.  It is necessary to restore the file in case if something goes wrong.

2. Open the "payment_module_paypal_cc_api.php" file and find the following part of code:

,"notify_url"    => $self_link ."&status=notify"
,"cancel_return" => $self_link ."&status=cancel"
)



add this line:

,"page_style" => "page_style_name"

after this one:

,"cancel_return" => $self_link ."&status=cancel"


where replace "page_style_name" with the custom payment page style name from your account profile.

For more help, contact Avactis support team.


Article Details
Article ID: 23
Created On: 27 Dec 2010 10:50 PM

 Login [Lost Password] 
Email:
Password:
Remember Me:
 
 Search
 Article Options
 Help Desk Menu

Help Desk Software By Kayako eSupport v3.11.01