Paypal


Subject: Paypal
payapl icon is not working. Please tell me how to active it. :|

Profile PM  
Subject: Re: Paypal
Activate the block from CMS, and edit the lang_main_settings.php file

Subject: Re: Paypal
how can i edit lang_main_settings?


$lang['PayPal'] = '
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="images/paypal.gif" border="0" name="submit" alt="' . $lang['Support_Us'] . '">
<input type="hidden" name="encrypted" value="">
</form>
';

Subject: Re: Paypal
You must have a paypal account so they will give u the "encrypted value"

Subject: Re: Paypal
thanks! :)

Subject: Re: Paypal
jz wrote: [View Post]
Activate the block from CMS, and edit the lang_main_settings.php file


I am looking to add Paypal to my forum which is new and the latest version of Icy Phoenix.

I have been into CMS and I cannot find any reference to a Paypal block so can someone give the "complete" instrucdtions on adding it please?

Profile PM  
Subject: Re: Paypal
Try to look again... you should have a block called PayPal.

In any case you may use an HTML block and paste in the code for PayPal.

Subject: Re: Paypal
My original post is correct.

There is absolutely no reference to Paypal in the blocks so I need detailed instructions on how to add it thank you.

Profile PM  
Subject: Re: Paypal
ok so the way i done it was restart with the original code in the language_main_settings.php go onto paypal and get yourself a basic account click on merchant after account is activated and go down the page on the right there is donation buttons click that and add in what you need to add and then copy the code over!

put the code in notepad and open up the php file in another notepad (please note that in the paypal creating donation button area i did not use the encryption because that caused alot of probs)

Here is how i done it
this here is the code i was given by paypal
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="******">
<input type="hidden" name="item_name" value="test">
<input type="hidden" name="item_number" value="test">
<input type="hidden" name="buyer_credit_promo_code" value="">
<input type="hidden" name="buyer_credit_product_category" value="">
<input type="hidden" name="buyer_credit_shipping_method" value="">
<input type="hidden" name="buyer_credit_user_address_change" value="">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="FI">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="image" src="https://www.paypal.com/en_US/i/btn/x-click-but21.gif" border="0" name="submit" alt="Make payments with PayPal - it's fast, free and secure!">
<img alt="" border="0" src="https://www.paypal.com/en_US/i/scr/pixel.gif" width="1" height="1">
</form>

Now i left most of it how it is but kept most of the code from the language page check out below all i did was replace 2-3 areas and added in 3-4 other snaps from the code provided by paypal!


$lang['Support_Us'] = 'Support Us';
$lang['PayPal'] = '<img src="images/paypal.gif" alt="' . $lang['Support_Us'] . '" title="' . $lang['Support_Us'] . '" />';
$lang['PayPal'] = '


<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_xclick">
<input type="hidden" name="business" value="************">
<input type="hidden" name="item_name" value="LifesForum">
<input type="image" src="images/paypal.gif" border="0" name="submit" alt="' . $lang['Support_Us'] . '">
<input type="hidden" name="buyer_credit_promo_code" value="">
<input type="hidden" name="buyer_credit_product_category" value="">
<input type="hidden" name="buyer_credit_shipping_method" value="">
<input type="hidden" name="buyer_credit_user_address_change" value="">
<input type="hidden" name="no_shipping" value="0">
<input type="hidden" name="no_note" value="1">
<input type="hidden" name="currency_code" value="EUR">
<input type="hidden" name="tax" value="0">
<input type="hidden" name="lc" value="FI">
<input type="hidden" name="bn" value="PP-DonationsBF">
<input type="hidden" name="encrypted" value="">
</form>
';

if you follow that it should work for you this is not that hard you just have to look closely and think hard and if it doesnt work then just try again! oh and again :D

Subject: Re: Paypal
jz wrote: [View Post]
Activate the block from CMS, and edit the lang_main_settings.php file

Gianni PB wrote: [View Post]
how can i edit lang_main_settings?


$lang['PayPal'] = '
<form action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_s-xclick">
<input type="image" src="images/paypal.gif" border="0" name="submit" alt="' . $lang['Support_Us'] . '">
<input type="hidden" name="encrypted" value="">
</form>
';


Plus last post from dxlwebs...


Page 1 of 1


  
You cannot post new topics
You cannot reply to topics
You cannot edit your posts
You cannot delete your posts
You cannot vote in polls
You cannot attach files
You can download files
You cannot post calendar events

   

This is a "Lo-Fi" version of our main content. To view the full version with more information, formatting and images, please click here.

Powered by Icy Phoenix based on phpBB
Generation Time: 0.5243s (PHP: 13% SQL: 87%)
SQL queries: 29 - Debug Off - GZIP Enabled