http://www.icyphoenix.com/viewtopic.php?f=35&t=2190
-----------------------------------
ubhi
Sat 02 Jun, 2007 16:06

Paypal
-----------------------------------
payapl icon is not working. Please tell me how to active it. :|


-----------------------------------
jz
Sun 03 Jun, 2007 01:41

Re: Paypal
-----------------------------------
Activate the block from CMS, and edit the lang_main_settings.php file


-----------------------------------
Gianni PB
Tue 26 Jun, 2007 17:58

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>
';


-----------------------------------
Zuker
Tue 26 Jun, 2007 18:15

Re: Paypal
-----------------------------------
You must have a paypal account so they will give u the "encrypted value"


-----------------------------------
Gianni PB
Tue 26 Jun, 2007 18:48

Re: Paypal
-----------------------------------
thanks! :)


-----------------------------------
Methusala
Mon 03 Sep, 2007 21:49

Re: Paypal
-----------------------------------
[quote user="jz" post="15892"]Activate the block from CMS, and edit the lang_main_settings.php file[/quote]

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?


-----------------------------------
Mighty Gorgon
Sun 09 Sep, 2007 02:12

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.


-----------------------------------
Methusala
Sun 09 Sep, 2007 19:52

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.


-----------------------------------
dxlwebs
Mon 10 Sep, 2007 22:27

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


-----------------------------------
Mighty Gorgon
Mon 17 Sep, 2007 01:23

Re: Paypal
-----------------------------------
[quote user="jz" post="15892"]Activate the block from CMS, and edit the lang_main_settings.php file[/quote]
[quote user="Gianni PB" post="16872"]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>
';[/quote]

Plus last post from [b]dxlwebs[/b]...


