Enhanced Paypal Shortcodes

===========================

Update August 7th, 2011

Today we released Version 0.5a of Enhanced Paypal Shortcodes.  This version has a lot more paypal options enabled and adds support for Add To Cart Buttons.  The plugin now has it’s own page, and I’ll be turning comments off on this page.  Please visiting this page for more information on Enhanced Paypal Shortcodes, including our FAQ.

===========================

As a developer and support person, I am often called upon to help clients installed Paypal buttons on their wordpress website.

Unfortunately, this generally entails editing the page or post in HTML and pasting the paypal form code in.  Once this is done, I have noticed that editing the content around the pasted paypal button can delete parts of the form code and cause all sorts of issues.

Couple this with software products like iDevAffiliate and JROX Jam that don’t work with saved (or hosted) paypal buttons – using paypal buttons on WordPress becomes more problematic.

After searching for a solution that would allow me to easily add Buy Now and Subscription buttons, I found Paypal Shortcodes by Paolo Tresso (aka Pixline). This was an excellent plugin but only allowed for Add To Cart and View Cart functions – not really what I was looking for.  It was however, sufficient to inspire me to create a plugin that did what I wanted.

Introducing: Enhanced Paypal Shortcodes

Features:

  • Use shortcodes to insert Buy Now and Subscribe Paypal buttons to your wordpress page or post.
  • Ability to add most optional Paypal settings (see details below)
  • Formatting of button
  • The plugin currently supports Paypal saved (or hosted) buttons

Current Version:

Download Ver 0.4 (right click and choose Save As)

Previous Versions:

Download Ver 0.1 (right click and choose Save As)

Download Ver 0.2 (right click and choose Save As)

Download Ver 0.3 (right click and choose Save As)

Installation Instructions

Download zip file to your computer

Login to wp-admin and navigate to Tools -> Plugins -> Add New

Click on the Upload link

Click on the Browse button and navigate to the folder where you downloaded the plugin to

Select the file and click open, then click Install Now

Click on Activate Now and your plugin is installed.

Parameters for Shortcode for all Paypal buttons

Using Enhanced Paypal Shortcodes

To use the Enhanced Paypal Shortcodes, simply place the shortcode where you want your paypal button to appear and enter the parameters you need.

Sample Usage:

Buy Now Button:
[   paypal type="paynow" amount="12.99" email="payments@arvoreentreasures.com" itemno="12345657" name="Description" noshipping="1" nonote="0" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px"  text-align="center" margin-left="10px"  ]

*note: remove the spaces from between the [ ]

This gives this button:

Subscribe Button with 2 trial periods and recurring Monthly payments.

[    paypal type="subscribe" email="payments@arvoreentreasures.com" itemno="12345657" name="Description" no_shipping="1" nonote="1" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" a1="1" p1="7" t1="D" a2="3" p2="1" t2="M" a3="47" p3="1" t3="M" rm="2" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px"  text-align="center" margin-left="10px"    ]

*note: remove the spaces from between the [ ]

This gives this button:

Paypal Hosted Buttons

[ paypal type="hosted" buttonid="1234456" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" ]

*note: remove the spaces from between the [ ]

Options and Settings

type = paynow or subscribe

email = the email address of the paypal account

itemno = A unique identifier for your product / service

name = Description of product / service

noshipping = Prompt for Shipping address
0 is prompt, but don’t require
1 is don’t prompt
2 is prompt and require the shipping address
defaults to 0

nonote = Prompt payers to include a note (Paynow buttons only)
0 is show the note box and prompt the user
1 is hide the note box and do not prompt the user
defaults to 0

currencycode = The currency for the transaction
Australian Dollar AUD
Canadian Dollar CAD
Czech Koruna CZK
Danish Krone DKK
Euro EUR
Hong Kong Dollar HKD
Hungarian Forint HUF
Israeli New Sheqel ILS
Japanese Yen JPY
Mexican Peso MXN
Norwegian Krone NOK
New Zealand Dollar NZD
Polish Zloty PLN
Pound Sterling GBP
Singapore Dollar SGD
Swedish Krona SEK
Swiss Franc CHF
U.S. Dollar USD
Default is USD

imageurl = The location of the image for the button. Use full web address for the image – e.g http://domainname.com/mybuynowbutton.jpg.
Default is https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif

imagewidth = The width of the image, if you need to resize it

rm = The return method. This will only work if returnurl is also set. This variable is often required by membership type software
0 – all shopping cart transactions use the GET method
1 – the payer’s browser is redirected to the return URL by the GET method, and no transaction variables are sent
2 – the payer’s browser is redirected to the return URL by the POST method, and all transaction variables are also posted
The default is 0.

notifyurl = The URL to send payment advice too. Often required for IPN or other notifications
If this parameter is not used, no notifyurl value is added to the button

returnurl = The URL to which the payer’s browser is redirected after completing the payment; for example, a URL on your site that displays a “Thank you for your payment” page.
Default – The browser is redirected to a PayPal web page.

scriptcode = the link to any script code that you may need to include.  e.g For Jrox JAM, some script code is added to the paypal buttons. Usage /foldername/scriptcode.php
If this parameter is not used, no notifyurl value is added to the button

Paynow Button only parameters
amount = the amount to charge (for Paynow buttons only)

Subscribe Button only parameters

Trial Period 1:
a1 = The value to charge for the first trial period
p1 = The duration of the first trial.
t1 = The units of duration.
D for Days, allowable entries for p1: 1 to 90
W for Weeks, allowable entries for p1: 1 to 52
M for Months, allowable entries for p1: 1 to 24
Y for Years, allowable entries for p1: 1 to 5

Trial Period 2:
a2 = The value to charge for the second trial period
p2 = The duration of the second trial.
t2 = The units of duration.
D for Days, allowable entries for p2: 1 to 90
W for Weeks, allowable entries for p2: 1 to 52
M for Months, allowable entries for p2: 1 to 24
Y for Years, allowable entries for p2: 1 to 5

The full subscription Payment:
a3 = The value to charge
p3 = The duration between charging
t3 = The units of duration.
D for Days, allowable entries for p3: 1 to 90
W for Weeks, allowable entries for p3: 1 to 52
M for Months, allowable entries for p3: 1 to 24
Y for Years, allowable entries for p3: 1 to 5

src = Recurring payments. Subscription payments recur unless subscribers cancel their subscriptions before the end of the current billing cycle or you limit the number of times that payments recur with the value that you specify for srt.

Allowable values:
0 – subscription payments do not recur
1 – subscription payments recur
The default is 0.

sra = Reattempt on failure. If a recurring payment fails, PayPal attempts to collect the payment two more times before canceling the subscription.
Allowable values:
0 – do not reattempt failed recurring payments
1 – reattempt failed recurring payments before canceling
The default is 0

Formatting

The plugin will wrap the paypal button in a <div> tag.  The formatting options available are:

width = the width of the div.  This should be at least the width of the image.
Default – 100%

text-align = the alignment of the image / text within the div
Allowable values:
left – text is left justified
right – text is right justified
center – text is centered
No default, taken from page format

float = position of the div on the page
left – the div ‘floats’ on the left
right – the div ‘floats’ on the right
Default – if this value is missing, the div is centered on the page

margin-left = the amount of space between the div and the text to the left of the div (particularly good to use when using float=right)
Default – if this value is missing, the page format is used

margin-right = the amount of space between the div and the text to the right of the div
(particularly good to use when using float=left)
Default – if this value is missing, the page format is used

margin-top = the amount of space to the line above the div
Default = 10px;

margin-bottom = the amount of space to the line below the div
Default = 10px;

Hosted Buttons Only

buttonid = the id of the button created in your paypal account

FAQ

I want to use a currency other than USD, but when I set the currency code in the shortcode it stays at USD or some other currency.

Please be certain you are using the parameter:  currencycode=” ” in the shortcode.  Earlier versions of this plugin (prior to 0.4) used the parameter currency_code.  Please update your shortcode accordingly.

What currency code should I use?

currencycode = The currency for the transaction
Australian Dollar AUD
Canadian Dollar CAD
Czech Koruna CZK
Danish Krone DKK
Euro EUR
Hong Kong Dollar HKD
Hungarian Forint HUF
Israeli New Sheqel ILS
Japanese Yen JPY
Mexican Peso MXN
Norwegian Krone NOK
New Zealand Dollar NZD
Polish Zloty PLN
Pound Sterling GBP
Singapore Dollar SGD
Swedish Krona SEK
Swiss Franc CHF
U.S. Dollar USD
Default is USD

How do I request a new feature?

You can request a new feature to this plugin by adding a comment to this post.  We won’t guarantee that all requests can be addressed, but we will add requests to the wishlist for the next version of the plugin.

  • http://www.productlaunchconsultancy.com David Walsh – Product Launch C

    WOW, this is phenomenal… I could have used this sooooo many times. I’m definitely using this on PayPal sites.

    Thanks again Charly, great work.

    David

    .-= David Walsh – Product Launch Consultant´s last blog ..Product Launch System =-.

  • http://www.productlaunchconsultancy.com David Walsh – Product Launch Consultant

    WOW, this is phenomenal… I could have used this sooooo many times. I’m definitely using this on PayPal sites.

    Thanks again Charly, great work.

    David

    .-= David Walsh – Product Launch Consultant´s last blog ..Product Launch System =-.

  • http://askcharlyleetham.com Charly Leetham

    Thanks David,
    I was inspired after helping a number of clients out with paypal buttons – I knew there had to be a better way.

    I have ideas for the next release too (you never really finish tweaking things do you?).

    If anyone has anything they would like to see in this plugin let me know.

    Cheers,
    Charly.

  • http://askcharlyleetham.com Charly Leetham

    Thanks David,
    I was inspired after helping a number of clients out with paypal buttons – I knew there had to be a better way.

    I have ideas for the next release too (you never really finish tweaking things do you?).

    If anyone has anything they would like to see in this plugin let me know.

    Cheers,
    Charly.

  • Paul Castle

    Hi Charley. Thank you for this very useful plug in. Just one question: where do I set the formatting attributes?

    Many thanks… Paul

  • Paul Castle

    Hi Charley. Thank you for this very useful plug in. Just one question: where do I set the formatting attributes?

    Many thanks… Paul

  • http://askcharlyleetham.com Charly Leetham

    Hi Paul,

    Thank you! I’m very proud of effort! The formatting attributes are added inside the short code brackets.

    I’ve just updated the plug-in so that it will also support paypal hosted (or saved) buttons. I recommend you grab Version 0.2, instead of 0.1, because I’ve fixed up some of the formatting as well.

    This example shows the usage of the shortcode for a hosted button, with formatting. This formatting will use your own custom image hosted on your site, that is 200px wide, center the button in the line and leave 20px space above and 10px space below:

    [ paypal type="hosted" buttonid="1234456" imageurl="http://yourdomainname.com/images/buynow.jpg" imagewidth="200px" divwidth="200px" margintop="20px" marginbottom="10px" ]

    Remember to remove the spaces before and after the [ ]

    Here are the formatting variables:

    The plugin will wrap the paypal button in a tag. The formatting options available are:

    divwidth = the width of the div. This should be at least the width of the image.
    Default – 100%

    text-align = the alignment of the image / text within the div
    Allowable values:
    left – text is left justified
    right – text is right justified
    center – text is centered
    If left out, the format is taken from the page format

    float = position of the div on the page
    left – the div ‘floats’ on the left
    right – the div ‘floats’ on the right
    Default – if this value is missing, the div is centered on the page

    margin-left = the amount of space between the div and the text to the left of the div (particularly good to use when using float=right)
    Default – if this value is missing, the page format is used

    margin-right = the amount of space between the div and the text to the right of the div
    (particularly good to use when using float=left)
    Default – if this value is missing, the page format is used

    margin-top = the amount of space to the line above the div
    Default = 10px;

    margin-bottom = the amount of space to the line below the div
    Default = 10px;

    Love to know how you go using it.

    Charly.

  • http://askcharlyleetham.com Charly Leetham

    Hi Paul,

    Thank you! I’m very proud of effort! The formatting attributes are added inside the short code brackets.

    I’ve just updated the plug-in so that it will also support paypal hosted (or saved) buttons. I recommend you grab Version 0.2, instead of 0.1, because I’ve fixed up some of the formatting as well.

    This example shows the usage of the shortcode for a hosted button, with formatting. This formatting will use your own custom image hosted on your site, that is 200px wide, center the button in the line and leave 20px space above and 10px space below:

    [ paypal type="hosted" buttonid="1234456" imageurl="http://yourdomainname.com/images/buynow.jpg" imagewidth="200px" divwidth="200px" margintop="20px" marginbottom="10px" ]

    Remember to remove the spaces before and after the [ ]

    Here are the formatting variables:

    The plugin will wrap the paypal button in a tag. The formatting options available are:

    divwidth = the width of the div. This should be at least the width of the image.
    Default – 100%

    text-align = the alignment of the image / text within the div
    Allowable values:
    left – text is left justified
    right – text is right justified
    center – text is centered
    If left out, the format is taken from the page format

    float = position of the div on the page
    left – the div ‘floats’ on the left
    right – the div ‘floats’ on the right
    Default – if this value is missing, the div is centered on the page

    margin-left = the amount of space between the div and the text to the left of the div (particularly good to use when using float=right)
    Default – if this value is missing, the page format is used

    margin-right = the amount of space between the div and the text to the right of the div
    (particularly good to use when using float=left)
    Default – if this value is missing, the page format is used

    margin-top = the amount of space to the line above the div
    Default = 10px;

    margin-bottom = the amount of space to the line below the div
    Default = 10px;

    Love to know how you go using it.

    Charly.

  • http://www.bestwpplugins.net/wordpress-plugins-for-paypal-integration.html 5 Free WordPress Plugins for Paypal Integration | Best WordPress Plugins

    [...] Enhanced Paypal Shortcodes The original Paypal Shortcodes plugin is great, but a little too basic. This is a really great way to place your own wares into individual blog posts in a quick, organized way. You can add “Buy It Now” or subscription buttons to any post or page. The short codes are really straightforward and easy to understand, and again, this is totally free. [...]

  • http://www.curetinnitus.org Dainis W. Michel

    What a friendly chat we had yesterday…and rrrG…I hope I don’t break anything by trying to get this to work in WP 2.7.1 … we talked about my need to upgrade … kinda not looking forward to it because I have so much working that well, works, and I’ve modified my theme and paid for CSS cross-browser compatibility modifications and etc. etc.

    I’ll be in touch soon!

    Best,
    Dainis

  • http://www.curetinnitus.org Dainis W. Michel

    What a friendly chat we had yesterday…and rrrG…I hope I don’t break anything by trying to get this to work in WP 2.7.1 … we talked about my need to upgrade … kinda not looking forward to it because I have so much working that well, works, and I’ve modified my theme and paid for CSS cross-browser compatibility modifications and etc. etc.

    I’ll be in touch soon!

    Best,
    Dainis

  • http://www.businesscapturemastery.com Steve Price

    Hi Charly,

    I use Thesis 1.6 with WordPress and wishlist-member.

    This plugin is exactly what I’ve been looking for. I have a draft page being set up to take membership subscriptions via paypal and have a hosted button. When I place the code into a page it becomes very large and pixelated. Hence looking for something better. Yours I think does the job admirably. I have a slight problem which is that the hosted button code also includes a side box containing the button id etc which is hidden on the published page. Unfortunately your code doesn’t hide it. Any help would be greatly appreciated. Both sets of code are as follows:

    [paypal type="hosted" buttonid="8VM5V3CV9G3DA" imageurl="https://www.paypal.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" imagewidth="350px" divwidth="350px" margintop="10px" marginbottom="20px"]

    The page isn’t published on the navbar yet but is available here: http://www.businesscapturemastery.com/charter-membership-subscription-page which I guess I’ll need to change once I can get my payment page corrected…

  • http://www.businesscapturemastery.com Steve Price

    Hi Charly,

    I use Thesis 1.6 with WordPress and wishlist-member.

    This plugin is exactly what I’ve been looking for. I have a draft page being set up to take membership subscriptions via paypal and have a hosted button. When I place the code into a page it becomes very large and pixelated. Hence looking for something better. Yours I think does the job admirably. I have a slight problem which is that the hosted button code also includes a side box containing the button id etc which is hidden on the published page. Unfortunately your code doesn’t hide it. Any help would be greatly appreciated. Both sets of code are as follows:

    [paypal type="hosted" buttonid="8VM5V3CV9G3DA" imageurl="https://www.paypal.com/en_US/GB/i/btn/btn_subscribeCC_LG.gif" imagewidth="350px" divwidth="350px" margintop="10px" marginbottom="20px"]

    The page isn’t published on the navbar yet but is available here: http://www.businesscapturemastery.com/charter-membership-subscription-page which I guess I’ll need to change once I can get my payment page corrected…

  • http://www.businesscapturemastery.com Steve Price

    Sorry I messed up entering the paypal button code. Here it is:

    .-= Steve Price´s last blog ..Podcast Alley Hash =-.

  • http://www.businesscapturemastery.com Steve Price

    Sorry I messed up entering the paypal button code. Here it is:

    .-= Steve Price´s last blog ..Podcast Alley Hash =-.

  • http://www.businesscapturemastery.com Steve Price

    DOH! I’ve just realised your blog is stripping out the html. Please mail me and I will send it to you.

    Regards,

    Steve
    .-= Steve Price´s last blog ..Podcast Alley Hash =-.

  • http://www.businesscapturemastery.com Steve Price

    DOH! I’ve just realised your blog is stripping out the html. Please mail me and I will send it to you.

    Regards,

    Steve
    .-= Steve Price´s last blog ..Podcast Alley Hash =-.

  • http://www.businesscapturemastery.com Steve Price

    Hi Charly,

    Public thanks to you for helping me with my paypal button issue. Fantastic support.

    Regards,

    Steve
    .-= Steve Price´s last blog ..BCM#2 – 5 Steps to Sustainable Business Capture Growth =-.

  • http://www.businesscapturemastery.com Steve Price

    Hi Charly,

    Public thanks to you for helping me with my paypal button issue. Fantastic support.

    Regards,

    Steve
    .-= Steve Price´s last blog ..BCM#2 – 5 Steps to Sustainable Business Capture Growth =-.

  • Jbob

    Charly – like your plugin concept and contributions. Please contact so we can arrange to talk regarding your services: WP / Wishlist/ Affiliate/ PayPal Integration, etc.

  • Jbob

    Charly – like your plugin concept and contributions. Please contact so we can arrange to talk regarding your services: WP / Wishlist/ Affiliate/ PayPal Integration, etc.

  • http://www.myvintagedresser.co.uk Katie

    Perfect for my little shop, and easy to use, but I am having one problem, despite having changed the currency_code value to GBP, when I click through it still shows in USD on the Paypal checkout. Halp!

  • http://www.myvintagedresser.co.uk Katie

    Perfect for my little shop, and easy to use, but I am having one problem, despite having changed the currency_code value to GBP, when I click through it still shows in USD on the Paypal checkout. Halp!

  • http://jeremyyoung.ws Jeremy young

    Hi Charly, Plugin looks great.
    How would I set up an initial payment of $XXX.00 and then add the buyer to a subscription of $XX.00 each month?
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://jeremyyoung.ws Jeremy young

    Hi Charly, Plugin looks great.
    How would I set up an initial payment of $XXX.00 and then add the buyer to a subscription of $XX.00 each month?
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Katie

    Per our email conversation – glad I could be of assistance and it it working for you!.

    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Katie

    Per our email conversation – glad I could be of assistance and it it working for you!.

    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeremy,

    You would use subscription button and set a trial period for the initial payment.

    Full instructions are here:
    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    However, here is the start of the code I would use:

    [ paypal type="subscribe" email="payments@arvoreentreasures.com" itemno="12345657" name="Description" noshipping="1" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" a1="300" p1="1" t1="D" a3="47" p3="1" t3="M" src="1" sra="1" rm="2" notifyurl="http://notifyurl.com" notifyurl2="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="scriptcode" imagewidth="100px" ]

    The values of:
    a1=”300″ says invoice $300
    p1=”1″ and t1=”D” says for 1 day
    a3=”47″ says invoice $47
    p3=”1″ and t3=”M” says per month
    src=”1″ means the payment recurs
    sra=”1″ means to reattempt billing if it fails.

    So, essentially, you’re charging a $300 once off fee, and the next day charging $47 that will recur every month.

    Hope that helps.

    Charly
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeremy,

    You would use subscription button and set a trial period for the initial payment.

    Full instructions are here:
    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    However, here is the start of the code I would use:

    [ paypal type="subscribe" email="payments@arvoreentreasures.com" itemno="12345657" name="Description" noshipping="1" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" a1="300" p1="1" t1="D" a3="47" p3="1" t3="M" src="1" sra="1" rm="2" notifyurl="http://notifyurl.com" notifyurl2="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="scriptcode" imagewidth="100px" ]

    The values of:
    a1=”300″ says invoice $300
    p1=”1″ and t1=”D” says for 1 day
    a3=”47″ says invoice $47
    p3=”1″ and t3=”M” says per month
    src=”1″ means the payment recurs
    sra=”1″ means to reattempt billing if it fails.

    So, essentially, you’re charging a $300 once off fee, and the next day charging $47 that will recur every month.

    Hope that helps.

    Charly
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Glad to be of assistance Steve!
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Glad to be of assistance Steve!
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://jeremyyoung.ws Jeremy young

    Thanks heaps,
    What does the itemno=”12345657″ variable do?
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://jeremyyoung.ws Jeremy young

    Thanks heaps,
    What does the itemno=”12345657″ variable do?
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeremy,

    All the variables are described on the FAQ page for the plugin – it’s fairly configurable ….

    itemno is a variable that you assign that relates to your Product ID or SKU. It can be ommited if you don’t need it, but it does make the sale email from Paypal look more professional…

    Cheers,
    Charly.

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeremy,

    All the variables are described on the FAQ page for the plugin – it’s fairly configurable ….

    itemno is a variable that you assign that relates to your Product ID or SKU. It can be ommited if you don’t need it, but it does make the sale email from Paypal look more professional…

    Cheers,
    Charly.

  • http://jeremyyoung.ws Jeremy young

    Thanks Charly, appreciate your help.
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://jeremyyoung.ws Jeremy young

    Thanks Charly, appreciate your help.
    .-= Jeremy young´s last blog ..Changing The Postion Of Your Adsense Ads =-.

  • http://www.webackyou.com Andy Knott

    Hi Charly,

    Was this resolved? I’m having exactly the same problem. Could you let me know how to fix?

    Thanks.

  • http://www.webackyou.com Andy Knott

    Hi Charly,

    Was this resolved? I’m having exactly the same problem. Could you let me know how to fix?

    Thanks.

  • http://askcharlyleetham.com Charly Leetham

    Hi Andy,

    Sure was, the issue was a change between Version 0.1 and 0.3 of the plugin.

    The usage on this post was for 0.1 but I made changes in 0.3 which I updated on the FAQ page at the repository and not here (very bad of me!) I will be rectifyng that in the coming week.

    The format for the shortcode in Ver 0.1 was:
    [ paypal type="paynow" amount="12.99" email="uremail@urdomainname.com" item_no="test" name="a test for $12.99" no_shipping="2" no_note="0" currency_code="GBP" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px" text-align="center" margin-left="10px" ]

    You’ll see that many of the variables have the underscore character ( _ ) in them.

    In Version 0.3, I changed that to remove the underscores so the usage is now:

    [ paypal type="paynow" amount="12.99" email="uremail@urdomain.com" itemno="test" name="a test for $12.99" noshipping="2" nonote="0" currencycode="GBP"
    imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px" text-align="center" margin-left="10px" ]

    Full usage details can be found on the FAQ Page on the WordPress Repository:

    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    Cheers, Charly!
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com/ Charly Leetham

    Hi Andy,

    Sure was, the issue was a change between Version 0.1 and 0.3 of the plugin.

    The usage on this post was for 0.1 but I made changes in 0.3 which I updated on the FAQ page at the repository and not here (very bad of me!) I will be rectifyng that in the coming week.

    The format for the shortcode in Ver 0.1 was:
    [ paypal type="paynow" amount="12.99" email="uremail@urdomainname.com" item_no="test" name="a test for $12.99" no_shipping="2" no_note="0" currency_code="GBP" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px" text-align="center" margin-left="10px" ]

    You’ll see that many of the variables have the underscore character ( _ ) in them.

    In Version 0.3, I changed that to remove the underscores so the usage is now:

    [ paypal type="paynow" amount="12.99" email="uremail@urdomain.com" itemno="test" name="a test for $12.99" noshipping="2" nonote="0" currencycode="GBP"
    imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px" text-align="center" margin-left="10px" ]

    Full usage details can be found on the FAQ Page on the WordPress Repository:

    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    Cheers, Charly!
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://www.webackyou.com Andy Knott

    Great thanks… that worked. :)

  • http://www.webackyou.com Andy Knott

    Great thanks… that worked. :)

  • Steve Manning

    Hi Charly,

    This works very well, thanks! Is there a way to make the Paypal form ask for quantity with the paynow button?

    Steve

  • Steve Manning

    Hi Charly,

    This works very well, thanks! Is there a way to make the Paypal form ask for quantity with the paynow button?

    Steve

  • Stéphane

    Not working for me… :-(
    The Paypal page always return an error in the link used.
    Is there something special that i have to take care off in my Paypal account? I am trying to add a hosted button on a simple WP page…
    Even reduce to the minimum parameters, it is not working… Thanks for your help.

  • Stéphane

    Not working for me… :-(
    The Paypal page always return an error in the link used.
    Is there something special that i have to take care off in my Paypal account? I am trying to add a hosted button on a simple WP page…
    Even reduce to the minimum parameters, it is not working… Thanks for your help.

  • http://askcharlyleetham.com Charly Leetham

    Hi Stephane,
    Can you post your shortcode here or use our contact form to send me the details?

    If you put your shortcode here, please make sure you put spaces before the [ ] so it shows up.
    Thanks!
    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Stephane,
    Can you post your shortcode here or use our contact form to send me the details?

    If you put your shortcode here, please make sure you put spaces before the [ ] so it shows up.
    Thanks!
    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Seber,
    It doesn’t at the moment but I’ll add it to the features requests!
    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Seber,
    It doesn’t at the moment but I’ll add it to the features requests!
    Charly.
    .-= Charly Leetham´s last blog ..Entrepreneurs, OCD and Children =-.

  • Stéphane

    Hi Charly,

    In case you didn’t receive my email, here is the shortcode i tried :

    [ paypal type="hosted" buttonid="YQ2UA3QRHTQ66" imageurl="https://www.paypal.com/es_ES/ES/i/btn/btn_buynowCC_LG.gif" ]

    It bring the visitor to a Paypal error page saying something like : The link used to make entries in the PayPal system contains an amount of item with an incorrect format. (original text in spanish).

    If you have an idea what can cause that, your help would be greatly appreciate. Thanks.

  • Stéphane

    Hi Charly,

    In case you didn’t receive my email, here is the shortcode i tried :

    [ paypal type="hosted" buttonid="YQ2UA3QRHTQ66" imageurl="https://www.paypal.com/es_ES/ES/i/btn/btn_buynowCC_LG.gif" ]

    It bring the visitor to a Paypal error page saying something like : The link used to make entries in the PayPal system contains an amount of item with an incorrect format. (original text in spanish).

    If you have an idea what can cause that, your help would be greatly appreciate. Thanks.

  • Stéphane

    I found the problem… i was adding extra variables in the third panel, in the Paypal button editor. As soon as i remove those variables, everything works fine. I was using variables (shipping and shipping2) in order to set 2 shipping rates… now i have to find how to fix that…

  • Stéphane

    I found the problem… i was adding extra variables in the third panel, in the Paypal button editor. As soon as i remove those variables, everything works fine. I was using variables (shipping and shipping2) in order to set 2 shipping rates… now i have to find how to fix that…

  • http://charlesjenkins.com Reuben Lee

    Hello.

    Great add-in.

    Can you add the:
    name=”image_url” value=”httpS://secured.com/~f1015/s9412755.png”>

    This normally allows the ability to specify an external Logo on the Paypal Cart page from an external link.

    Used mostly if the Logo on a hosted SSL site to keep the warning from coming up, etc…

    Thx. : )

  • http://charlesjenkins.com Reuben Lee

    Hello.

    Great add-in.

    Can you add the:
    name=”image_url” value=”httpS://secured.com/~f1015/s9412755.png”>

    This normally allows the ability to specify an external Logo on the Paypal Cart page from an external link.

    Used mostly if the Logo on a hosted SSL site to keep the warning from coming up, etc…

    Thx. : )

  • http://charlesjenkins.com Reuben Lee

    …or, would be cool to be able to specify one of our Custom Payment Page to use as well.

    thx again. : )
    .-= Reuben Lee´s last blog ..Pastor Jenkins is Finishing the Dream =-.

  • http://charlesjenkins.com Reuben Lee

    …or, would be cool to be able to specify one of our Custom Payment Page to use as well.

    thx again. : )
    .-= Reuben Lee´s last blog ..Pastor Jenkins is Finishing the Dream =-.

  • http://www.building-up-muscles.com jim kelly

    Hi Charly,

    A little help please.

    As i receive a few comments ,my wish is to monetise the site,is your

    site what i am looking for.

    kindest regards

    jim
    .-= jim kelly´s last blog ..The Complete Guide “On How To Build Big Biceps” At Building Up Muscles =-.

  • http://www.building-up-muscles.com jim kelly

    Hi Charly,

    A little help please.

    As i receive a few comments ,my wish is to monetise the site,is your

    site what i am looking for.

    kindest regards

    jim
    .-= jim kelly´s last blog ..The Complete Guide “On How To Build Big Biceps” At Building Up Muscles =-.

  • http://www.4sharpscissors.com Roy Maul

    This plugin works great. I’ve been using it on WP 2.9.2 and am considering an upgrade to WP 3.0. Has anyone tested it on 3.0 yet?

    Thanks,
    Roy
    .-= Roy Maul´s last blog ..Hello World =-.

  • http://www.4sharpscissors.com Roy Maul

    This plugin works great. I’ve been using it on WP 2.9.2 and am considering an upgrade to WP 3.0. Has anyone tested it on 3.0 yet?

    Thanks,
    Roy
    .-= Roy Maul´s last blog ..Hello World =-.

  • http://askcharlyleetham.com Charly Leetham

    Hi Reuben,

    you can specify an image using the the imageurl=”http://yourimagerul.com” in the shortcode.

  • http://askcharlyleetham.com Charly Leetham

    Hi Reuben,

    you can specify an image using the the imageurl=”http://yourimagerul.com” in the shortcode.

  • http://askcharlyleetham.com Charly Leetham

    Hi Roy,
    Yes, I’ve tested this week on a WP 3.0 site and there are no problems….

    Please let me know if you have any issues.

    Charly.

  • http://askcharlyleetham.com Charly Leetham

    Hi Roy,
    Yes, I’ve tested this week on a WP 3.0 site and there are no problems….

    Please let me know if you have any issues.

    Charly.

  • Andrew

    Hi Charly,

    This works very well. Thanks for great plugin. Is there a way to combine the Pay Now form with donation option?

    Some members pay annual membership dues and also add small donation to support our non-profit organization.

    Andew

  • Andrew

    Hi Charly,

    This works very well. Thanks for great plugin. Is there a way to combine the Pay Now form with donation option?

    Some members pay annual membership dues and also add small donation to support our non-profit organization.

    Andew

  • Andrew

    By the way, it works well with WP 3.0

  • Andrew

    By the way, it works well with WP 3.0

  • http://www.4sharpscissors.com Roy Maul

    Hi Charley,

    Great plug in. How do I include a shipping charge in the Buy Now button? I see where to prompt for a shipping address but, since we’re selling a physical product, I also need to show an added charge for shipping and handling.

    Thank you,
    Roy

  • http://www.4sharpscissors.com Roy Maul

    Hi Charley,

    Great plug in. How do I include a shipping charge in the Buy Now button? I see where to prompt for a shipping address but, since we’re selling a physical product, I also need to show an added charge for shipping and handling.

    Thank you,
    Roy

  • http://www.4sharpscissors.com Roy Maul

    Hello,
    I added no_shipping=”2″, shippi ng=”15.95″ and undefined_quantity=”1″ to no avail. It is asking for the shipping address but the shipping amount and quantity are not showing up.

    I’ve pasted the code below:

    [paypal type="paynow" amount="97.00" email="xxxxxx@4sharpscissors.com" itemno="4SS-100" name="4SS-100 Scissors Sharpener" no_shipping="2" shipping="15.95" undefined_quantity="1" no-note="0" currency_code="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" returnurl="http://www.4sharpscissors.com" imagewidth="150px" textalign="center"]

  • http://www.4sharpscissors.com Roy Maul

    Hello,
    I added no_shipping=”2″, shippi ng=”15.95″ and undefined_quantity=”1″ to no avail. It is asking for the shipping address but the shipping amount and quantity are not showing up.

    I’ve pasted the code below:

    [paypal type="paynow" amount="97.00" email="xxxxxx@4sharpscissors.com" itemno="4SS-100" name="4SS-100 Scissors Sharpener" no_shipping="2" shipping="15.95" undefined_quantity="1" no-note="0" currency_code="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" returnurl="http://www.4sharpscissors.com" imagewidth="150px" textalign="center"]

  • http://askcharlyleetham.com Charly Leetham

    Hi Roy,

    no_shipping should be noshipping (remove the underscore character).

    Currently the plugin does not support shipping or undefined quantity parameters.

    I will be releasing a revision shortly and will add that support to the list.

    Charly.

  • http://askcharlyleetham.com Charly Leetham

    Hi Roy,

    no_shipping should be noshipping (remove the underscore character).

    Currently the plugin does not support shipping or undefined quantity parameters.

    I will be releasing a revision shortly and will add that support to the list.

    Charly.

  • http://www.4sharpscissors.com Roy Maul

    Sooo, what good is it to require a shipping address and have no way to indicate the cost of shipping? When do you think the revision that incorporates the ability to charge a shipping and handling fee — at least a fixed charge?

    By the way, page 4 of the PayPal Integration Center – Standard Variable Reference defines the no_shipping variable with the underscore character.

    I’ll try it without the underscore but a shipping address without an amount to charge is not of much use. I can live without the undefined quantity parameter, for the time being.

    Thanks,
    Roy

  • http://www.4sharpscissors.com Roy Maul

    Sooo, what good is it to require a shipping address and have no way to indicate the cost of shipping? When do you think the revision that incorporates the ability to charge a shipping and handling fee — at least a fixed charge?

    By the way, page 4 of the PayPal Integration Center – Standard Variable Reference defines the no_shipping variable with the underscore character.

    I’ll try it without the underscore but a shipping address without an amount to charge is not of much use. I can live without the undefined quantity parameter, for the time being.

    Thanks,
    Roy

  • http://askcharlyleetham.com Charly Leetham

    Roy,

    As this is a shortcode plugin, we don’t use the ‘Paypal’ defined parameters. The input parameters are translated in the code of plugin and the paypal payment button form is created accordingly.

    You need to refer to the FAQ page for the usage documentation on the plugin – it gives you all the supported parameters and their usage:
    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    The shipping uses the shipping settings in Paypal, not a per product shipping cost.

    No date for the updated version, I have a number of projects that I’m working on and this is just one of them.

  • http://askcharlyleetham.com Charly Leetham

    Roy,

    As this is a shortcode plugin, we don’t use the ‘Paypal’ defined parameters. The input parameters are translated in the code of plugin and the paypal payment button form is created accordingly.

    You need to refer to the FAQ page for the usage documentation on the plugin – it gives you all the supported parameters and their usage:
    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    The shipping uses the shipping settings in Paypal, not a per product shipping cost.

    No date for the updated version, I have a number of projects that I’m working on and this is just one of them.

  • http://www.4sharpscissors.com Roy Maul

    All right! I’m a happy camper again. :-) Thank you!

    I knew about the FAQs and had used them in initially setting up my page. When I started trying to get quantities and shipping charges into the equation, I began checking the PayPal documentation. I guess when you start mixing apples and oranges you get “orples”. :-) And, orples didn’t work. :-(

    Actually, I didn’t know about setting up the shipping charges in the PayPal profile. Gosh, 70 years young and still learning. Thank God!

    Thank you, Charley,
    Roy

    I apologize if I came across a little testy, frustration does that to me.

    Thanks again,

  • http://www.4sharpscissors.com Roy Maul

    All right! I’m a happy camper again. :-) Thank you!

    I knew about the FAQs and had used them in initially setting up my page. When I started trying to get quantities and shipping charges into the equation, I began checking the PayPal documentation. I guess when you start mixing apples and oranges you get “orples”. :-) And, orples didn’t work. :-(

    Actually, I didn’t know about setting up the shipping charges in the PayPal profile. Gosh, 70 years young and still learning. Thank God!

    Thank you, Charley,
    Roy

    I apologize if I came across a little testy, frustration does that to me.

    Thanks again,

  • http://askcharlyleetham.com Charly Leetham

    Hi Ray, no worries I get the frustration bit.

    This plugin was initially written to help clients get paypal buttons on their site for digitally deliverable products and it’s just evolved.

    Enjoy

  • http://askcharlyleetham.com Charly Leetham

    Hi Ray, no worries I get the frustration bit.

    This plugin was initially written to help clients get paypal buttons on their site for digitally deliverable products and it’s just evolved.

    Enjoy

  • http://yourinternetmarketingstore.com Len

    Hi,

    Love it! I need some custom features including quantity. I see it’s on your wish list. I’m wondering if I offer to pay you to push it out now if you’d be willing to do that?

    If you’re interested in being interested, please contact me at the email address I used for this post.

    Thanks,

    Len

  • http://yourinternetmarketingstore.com Len

    Hi,

    Love it! I need some custom features including quantity. I see it’s on your wish list. I’m wondering if I offer to pay you to push it out now if you’d be willing to do that?

    If you’re interested in being interested, please contact me at the email address I used for this post.

    Thanks,

    Len

  • http://www.clothunderground.com justbishop

    Hi :)

    I’m looking for a solution that would allow several people to sell things from the same WP install (so different PP addresses per post), and this plugin looks promising! In the interest of keeping things simple for my users, though, would it be possible to add a template tag that would display the PP button in a hardcoded area of the single.php template, using values of custom fields as the values for the tag (item price, PP address, etc.), so that all my users would need to do would be to create a post and fill in predefined custom fields to add their item to the “shop”?

  • http://www.clothunderground.com justbishop

    Hi :)

    I’m looking for a solution that would allow several people to sell things from the same WP install (so different PP addresses per post), and this plugin looks promising! In the interest of keeping things simple for my users, though, would it be possible to add a template tag that would display the PP button in a hardcoded area of the single.php template, using values of custom fields as the values for the tag (item price, PP address, etc.), so that all my users would need to do would be to create a post and fill in predefined custom fields to add their item to the “shop”?

  • http://www.clothunderground.com justbishop

    Wow, nevermind, that was a dumb question. I guess I could just use the HTML that you’d normally use for a Paypal button, lol!

  • http://www.clothunderground.com justbishop

    Wow, nevermind, that was a dumb question. I guess I could just use the HTML that you’d normally use for a Paypal button, lol!

  • Manny

    newbie here….what’s the code to make the paypal button go on the right of a line. Example:

    This line is for this much. (PAYPAL button here)

  • Manny

    newbie here….what’s the code to make the paypal button go on the right of a line. Example:

    This line is for this much. (PAYPAL button here)

  • http://www.phytoforce.ie Ray

    Hi Carly,

    i am having the same problem as Katie on may 3rd, i entered GBP but still showing in USD. your solution for Katie is not publically available. hope you can help.

    cheers

    Ray

  • http://www.phytoforce.ie Ray

    Hi Carly,

    i am having the same problem as Katie on may 3rd, i entered GBP but still showing in USD. your solution for Katie is not publically available. hope you can help.

    cheers

    Ray

  • http://www.phytoforce.ie Ray

    Hi Carly,
    just realised the post below resolved the issue.
    sorry for wasting your time.

    all the best

    Ray

  • http://www.phytoforce.ie Ray

    Hi Carly,
    just realised the post below resolved the issue.
    sorry for wasting your time.

    all the best

    Ray

  • http://barbaratate.com barbara tate

    I think I posted this in the wrong thread intially so here goes again, with many apologies:
    I am currently moving a website to WordPress for a ‘client’ and having terrible trouble with some hosted PayPal buttons – whatever I try I get some kind of form field/check box appearing next to the button. It is theme independent so I assume there is something simple I am missing – can anyone please tell me what it is while I still have hair? The table of _PayPal buttons is at the bottom of this impossibly long page here: http://213.229.86.150/~harmonic/?page_id=40
    I have used several different plugins (including this one) to embed the code, all to no avail
    Many thanks in advance
    Barbara

  • http://barbaratate.com barbara tate

    I think I posted this in the wrong thread intially so here goes again, with many apologies:
    I am currently moving a website to WordPress for a ‘client’ and having terrible trouble with some hosted PayPal buttons – whatever I try I get some kind of form field/check box appearing next to the button. It is theme independent so I assume there is something simple I am missing – can anyone please tell me what it is while I still have hair? The table of _PayPal buttons is at the bottom of this impossibly long page here: http://213.229.86.150/~harmonic/?page_id=40
    I have used several different plugins (including this one) to embed the code, all to no avail
    Many thanks in advance
    Barbara

  • http://www.howtomatter.com Jeb

    Hey Charly,
    Maybe this has been discussed above and I missed it. If so, my apologies. But, does this plugin allow you to use the precise code generated by paypal? The one that starts with <form action….? Or is this instead of that? I get the 'too big, pixelated' image when I just use that code alone, and I'm wondering if your plugin will remedy that. And if so, how, precisely, I implement it?

    Thanks a million…Jeb

  • http://www.howtomatter.com Jeb

    Hey Charly,
    Maybe this has been discussed above and I missed it. If so, my apologies. But, does this plugin allow you to use the precise code generated by paypal? The one that starts with <form action….? Or is this instead of that? I get the 'too big, pixelated' image when I just use that code alone, and I'm wondering if your plugin will remedy that. And if so, how, precisely, I implement it?

    Thanks a million…Jeb

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeb,
    This code takes the parameters you feed into the shortcode and recreates the paypal form code.

    I’m not sure what issue you’re seeing with the image being too big, but with the shortcode, if you use the imagewidth parameter, it will ensure that the image you are using on your page is constrained and shouldn’t pixelate it. All you need to work out is how wide that image should be…

    Charly

  • http://askcharlyleetham.com Charly Leetham

    Hi Jeb,
    This code takes the parameters you feed into the shortcode and recreates the paypal form code.

    I’m not sure what issue you’re seeing with the image being too big, but with the shortcode, if you use the imagewidth parameter, it will ensure that the image you are using on your page is constrained and shouldn’t pixelate it. All you need to work out is how wide that image should be…

    Charly

  • http://askcharlyleetham.com Charly Leetham

    Hey Barbara,

    The issue you are experiencing is not related to any plugins but the theme styling.

    From experience, I believe the issue that you are seeing is that the paypal code inserts a hidden image in the code:

    The style on your theme will be putting borders around the input fields, which is why you are seeing a little checkbox.

    You can remedy this by modifying, or adding the following style to your themes style sheet:

    input { border:0; }

    However, this will be global and remove the borders from any form on your site.

    The other way to do this is, is to put a div around your short code like this:

    [ paypal type="hosted" buttonid="1234456" imageurl="http://yourdomainname.com/images/buynow.jpg" imagewidth="200px" divwidth="200px" margintop="20px" marginbottom="10px" ]

    Note: the paypal code is a sample only!!!

    and add the following to your themes stylesheet:

    #paypalbutton input { border:0; }

    HTH

  • http://askcharlyleetham.com Charly Leetham

    Hey Barbara,

    The issue you are experiencing is not related to any plugins but the theme styling.

    From experience, I believe the issue that you are seeing is that the paypal code inserts a hidden image in the code:
    < input width="1" height="1" border="0" type="image" alt="" src="https://www.paypal.com/en_US/i/scr/pixel.gif" >

    The style on your theme will be putting borders around the input fields, which is why you are seeing a little checkbox.

    You can remedy this by modifying, or adding the following style to your themes style sheet:

    input { border:0; }

    However, this will be global and remove the borders from any form on your site.

    The other way to do this is, is to put a div around your short code like this:

    [ paypal type="hosted" buttonid="1234456" imageurl="http://yourdomainname.com/images/buynow.jpg" imagewidth="200px" divwidth="200px" margintop="20px" marginbottom="10px" ]

    Note: the paypal code is a sample only!!!

    and add the following to your themes stylesheet:

    #paypalbutton input { border:0; }

    HTH

  • CodeFan

    It would be great to enable subscription quantity

  • Marc

    Currency Code in the shortcode is wrong. In the plugin, it wants currencycode, not currency_code a la PayPal.

    Cheers!

  • http://www.sportpicks.ws/ Sport Picks

    thank you
    best to try this paypal plugin

  • Tislam

    is there any way to get the “name” value from title?like

    [paypal type="paynow" amount="12.99" email="xxx@gmail.com" item_no="123" name="" no_note="0" currency_code="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" width="400px" text-align="center" margin-left="10px"]

    I also tried to modify the plugin like this:
    $post_title = $_POST['post_title'];

    Can you shed some light in this matter?
    I am not a php coder btw.

  • Tislam

    Never Mind. Got it to work.
    added

  • Natti Martin

    Hi, I’m having a bit of trouble. For currency code I’ve type in the following:

    currency_code=”GBP”

    however I’m still being charged (as a test) in USD $.

    I tried this instead:

    currency_code=”Pound Sterling GBP”

    the problem still exists.

    I am an extreme novice so I apologise if this is stupidly simple but I’d really appreciate some help.

    Thank you so much.

    Nat

  • http://askcharlyleetham.com Charly Leetham

    Hi Natti,

    The correct way to do this is:
    currencycode=”GBP”

    The shortcode DOES not reflect the paypal settings – most of the underscores ( _ ) were removed from the parameters to avoid confusion.

    The full usage for this plugin can be found the FAQ page:
    http://wordpress.org/extend/plugins/enhanced-paypal-shortcodes/faq/

    Charly

  • http://www.mycom1977.com/2011/01/5-free-wordpress-plugins-paypal/ Tagged in best ecommerce wp plugins, best free wordpress contact plugin, best free wordpress online store plug ins, best free wordpress paypal, best free wordpress plugins, best free wordpress plugins 2010, best free wp plugins for 2010, best pay pal word

    [...] dashboard.This plugin is free, but as an added bonus, the plugin website is a wealth of information.Enhanced Paypal Shortcodes The original Paypal Shortcodes plugin is great, but a little too basic. This is a really great way [...]

  • Andy Leigh

    As mentioned by others the above sample code has some bugs. The code sample uses underscores like “currency_code” & “item_no”, but the plugin does not expect the underscores so where they are used the defaults will apply rather than the value that you supply (ie you would always get USD using “currency_code”).

    Just remove the underscores from the code when you use it (the correct terms are the ones in “Options & Settings” – these are what the code expects).

    Otherwise a great really useful plugin, thanks. Hopefully you can update the sample code at some point to remove the underscores.

  • Coyote

    I’m looking for a paypal plugin that will allow me to let the user specify the amount they wish to pay for an item. Will this plugin allow me to do that, or do I have to specify the amount in the code?

  • http://twitter.com/Dave_Bancroft Dave Bancroft

    this is great but changing the currency code from USD to GBP does not work — so the transaction appears as $100 instead of £100 — got a fix?

  • Leadfoot

    Hi,

    This plugin doesn’t seem to work with WP 3.1. Plugin is installed and activated but it outputs the code of the button in posts not the button. What should I do to get it running?

  • alex

    I did it with some jquery. It’s not so elegant but I was kind of stuck since it clashed with a pp-donate plugin.
    ex:
    $(‘#input_id’).change(function({
    $(‘pp_form_price_element’).val(the_value_of_the_input_id);
    });

  • http://www.facebook.com/robbie.guilfoyle Robbie Guilfoyle

    This plugin always goes to an itilian website escapefromtoday.org in paypal. Can you please answer the question where this email is coming from? I have searched sourcecode and can not find it anywhere.

  • http://askcharlyleetham.com Charly Leetham

    Hi Dave,

    I think the issue is the currency code in your shortcode.
    The code should currencycode=GBP not currency_code=GBP — remove the underscore character and it should work

  • http://askcharlyleetham.com Charly Leetham

    Robbie,

    I’m assuming you mean that when a purchaser finishes their payment, they are sent to the site you mention.

    If that’s the case, it’s most likely you have the return parameter set in your paypal profile.

    You can override the profile setting by using the returnurl parameter in your setting. Here’s a simple example:

    [ paypal type="paynow" amount="12.99" email="yourpamentaddress@yourdomain.com" item_no="12345657" name="Description" noshipping="1" nonote="0" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" returnurl="http://returnurl.com" ]

    Remove the space after the [ and before the ] when you paste the code and change:
    email to your paypal address
    returnurl to the page you want to return your purchasers to on successful payment.

  • http://askcharlyleetham.com Charly Leetham

    Hi Leadfoot,
    We’ve tested the extension in 3.1 and it’s working and providing a button.

    Check if there is a conflict with other plugins.

  • Jnr183

    Just experienced the same issue.

    I disabled a different paypal plugin and then it worked again.

    Do you have any different plugins that may not be working correctly with this one?

  • bcbaby

    I’m a new WordPress user. I installed your plugin on my site and copied the simplest Buy Now sample usage you provided here into a widget, changing it to my specifics – email address, Item description, Currency. It works great! Except I’m still getting everything in US dollars instead of Canadian dollars. Have I missed a step somewhere?

  • bcbaby

    sorry Charly – figured it out. Thanks!

  • http://blog.uwl-communication.com/2011/05/10/wordpress-enhanced-paypal-shortcodes/ [WORDPRESS] – Enhanced Paypal Shortcodes | Blog UWL-Communication
  • fotokard

    Very convenient plugin.  Thank you Charly.Everything is working fine for me except 2 thing.
    (1) Language on Paypal entrance page is in french,not English.   (2) I could not get note feature with this with no_note=”0″

    I could not figure it out.

    My code is as follows;
    [paypal type="paynow" amount="19.99" email="fotok@gmail.com" item_no="Design1001" name="Banner-Poster-Designing"
    no_shipping="2" no_note="0" currency_code="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"
    notifyurl="http://bannereasy.com" returnurl="http://bannereasy.com/thank-you" scriptcode="/wp-
    content/uploads/paypal1.php" width="400px"  text-align="center" margin-left="10px"]

    Thank you.

    Jason

  • karma_musings

    Thank you for this very useful plugin. It’s exactly what I needed for my client.

  • Joanie

    Love this easy plugin.  The no_note doesn’t seem to work for me.  I’ve tried it both ways, no_note=”0″ and with a “1″ and never a note field shows up.  Any ideas???  The rest of the button works as it should.  Thanks!

    [paypal type="paynow" amount="200.00"
    email="paypal@xyz:disqus .com"  itemno="ART" name="Gemmaline" 
    noshipping="0"    no_note="0"    currencycode="USD"  

    imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif"
    rm="2"  notifyurl="http://www.artforthesoulofit.com" 
    returnurl="http://www.artforthesoulofit.com/about/thank-you/" 
    scriptcode="scriptcode" imagewidth="120px"]

  • Chris Stoddart

    Enhanced Paypal Shortcodes – Language Code Addition?

    If you will add a variable for language code ( lc ) then the plugin will be even more useful. I am developing a multilingual WP site using the qtranslate plugin.  There are English / French / and German translation of each page.  I currently use links that jump out of WP to implement Buy Now buttons.  The buttons link to the paypal processor in either Enlgish, French or German by using the language code.  Doing this from within WP using Enhanced Paypal Shortcodes would be a much better approach. I hope this leads to version 0.5 .best wishes,Chris S

  • http://www.facebook.com/profile.php?id=1404176713 Joey Lancaster

    Is there a way to make it display an option for quantity? 

  • design126

    I’m needing to have an option to select different quantities for the items.  Is that available – if so how? 

    Also is there a way to implement discounts for items?

    Thanks ahead of time!!!

  • Paula Sheppard

    Hi love this plugin but have a query.  I changed the currency code to GBP but it defaults to USD in PayPal.  Any suggestions?
    Paula

  • http://askcharlyleetham.com Charly Leetham

    Hi Paula, please make sure that you are using the parameter currencycode=”GBP” in the shortcode…. some of the dated documentation shows the usage is currency_code but that is incorrect.

  • http://askcharlyleetham.com Charly Leetham

    Hi design126, there is currently no option to be able to select quantities in the shortcode.  I’m looking at the next revision of the plugin and will add that to the wishlist.

  • http://askcharlyleetham.com Charly Leetham

    Chris!
    Thanks,   I’m looking at the next revision of the
    plugin and will add that to the wishlist.

  • http://askcharlyleetham.com Charly Leetham

    Hi Joey, there is currently no option to be able to select
    quantities in the shortcode.  I’m looking at the next revision of the
    plugin and will add that to the wishlist.

  • http://askcharlyleetham.com Charly Leetham

    Hi Joanie – please nonote instead of no_note.  Documentation for the earlier version of the plugin had the label wrong.

  • http://askcharlyleetham.com Charly Leetham

    Hi Fotokard,

    The currency parameter is currencycode, not currency_code
    The no note parameter is nonote, not no_note

    Earlier versions of the documentation was wrong – I’m updating it all now.

  • Khudgell

    Hi, I have added your plugin to my site, and copied your Buy Now example from your site and pasted to my page, it all seems to work, but for some reason I have a little square next to my Buy Now button that is looking at a picture - https://www.paypal.com/en_US/i/scr/pixel.gif  though I can’t even see this in the code…any idea on how i can remove this?

    thanks 

    Karl

  • http://askcharlyleetham.com Charly Leetham

    Hi Khudgell,

    The little square you’re referring too is because of an input field that is 1px wide.  This input field has a tracking image that needs to be there (or at least that’s my understanding ).

    The square appears because your theme puts borders around images as default.

    I would put the shortcode inside div and create a style to remove the borders from images in that div.

    i.e

    [ paypal shortcode ]

    For the style, I would use the following:
    .paypaldiv img { border: 0; }

    In my next release, I’ll refine that to remove this issue.

  • Khudgell

    thanks for you response…

    i have added to the bottom of my style.css file of the theme i am using -
    .paypaldiv img { border: 0; } 

    and in my post i have -

    [paypal type="paynow" amount="4" email="payments@arvoreentreasures.com" itemno="12345657" name="Description" noshipping="1" nonote="0" currencycode="USD" imageurl="https://www.paypal.com/en_US/i/btn/btn_paynowCC_LG.gif" notifyurl="http://notifyurl.com" returnurl="http://returnurl.com" scriptcode="/wp-content/uploads/paypal1.php" width="400px" text-align="center" margin-left="10px"]

    but i still get the borders, am i doing somthing wrong? maybe i can turn it off in my theme?….

  • Khudgell

    not to worry, i managed to do it by removing the part for boarders from the actual theme..

  • Reza

    Love this easy plugin. I can use HTML code and add this plug to site Thank you verymuch

  • http://askcharlyleetham.com Charly Leetham

    Hi Khudgell,

    I’ve updated the plugin to provide a css class to the two images in the code.  This will make removing those borders a lot easier.  You can find out more about the new release at:
    http://thewordpresswarrior.com/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/

  • http://askcharlyleetham.com Charly Leetham

    Hi Design126,
    We released Version 0.5a of Paypal Enhanced Shortcodes today which allows you to specifiy the quantity for items in the shortcode, or allow your purchaser to specify the number they wish to purchase.

    Visit: http://thewordpresswarrior.com/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/ for more details.

  • http://askcharlyleetham.com Charly Leetham

    Hey Chris,

    We issued Version 0.5a of the Enhanced Paypal Shortcodes plugin today and added support for language code (lc) along with a heap of other parameters.

    You can find out more at: http://thewordpresswarrior.com/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/

  • http://askcharlyleetham.com Charly Leetham

    We have updated this plugin to Version 0.5a.  More details can be found at:
    http://thewordpresswarrior.com/wordpress-plugins-by-the-wp-warrior/wordpress-plugin-enhanced-paypal-shortcodes/

  • Soulsake

    Is there a way to add the options for variations. For example I need the person to select Vegetarian or Regular meals.

  • http://askcharlyleetham.com Charly Leetham

    Hi Soulsake,

    The best way to achieve this is to use the Hosted Buttons option on Paypal, and add the options in that way. You can then use the enhanced paypal shortcode plugin to display your button (you’ll need the hosted button id from within paypal).

Powered by WishList Member - Membership Site Software