rpainter
09-12-2007, 10:00 PM
I made this BB Code for my site, because several people sell stuff on the site, and I wanted to make it easy for my users to get paid.
This will add a Buy Now button to the post.
Go to Add Custom BB Codes-->Add New BB Code
Details:
Title: PayPal Buy Now Button
Tag: paypal
Replacement: <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business={option}&item_name=SCBBQTalk%2ecom%20Buy%20Now&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&amount={param}&no_shipping=1&no_note=1¤cy_code=USD&lc=US&bn=PP%2dBuyNowBF&charset=UTF%2d8"><img src="https://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif"></a>
Make sure you change the code in RED to whatever you want the Item Name to be (%20 is a space, %2e is a . (dot)).
Example: 5.00
Description: Adds a PayPal Button to posts
Use {option}: Yes
Button Image: If you want to put a button on the Editor Toolbar, you can use this button image I created. Just upload to your server, and put the path to the image in the box.
69765
The syntax for this Code is as follows:Cost
This will add a Buy Now button to the post.
Go to Add Custom BB Codes-->Add New BB Code
Details:
Title: PayPal Buy Now Button
Tag: paypal
Replacement: <a target="_blank" href="https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business={option}&item_name=SCBBQTalk%2ecom%20Buy%20Now&buyer_credit_promo_code=&buyer_credit_product_category=&buyer_credit_shipping_method=&buyer_credit_user_address_change=&amount={param}&no_shipping=1&no_note=1¤cy_code=USD&lc=US&bn=PP%2dBuyNowBF&charset=UTF%2d8"><img src="https://www.paypal.com/en_US/i/btn/btn_buynow_SM.gif"></a>
Make sure you change the code in RED to whatever you want the Item Name to be (%20 is a space, %2e is a . (dot)).
Example: 5.00
Description: Adds a PayPal Button to posts
Use {option}: Yes
Button Image: If you want to put a button on the Editor Toolbar, you can use this button image I created. Just upload to your server, and put the path to the image in the box.
69765
The syntax for this Code is as follows:Cost