WordPress.org

Ready to get started?Download WordPress

Forums

PayPal Pay Now, Buy Now, Donation and Cart Buttons Shortcode
[resolved] Logo & Header Border Color on Checkout Page (5 posts)

  1. flashbuddy
    Member
    Posted 1 year ago #

    I've filled in the logo image url:
    http://batibasaga.com/wp-content/uploads/2013/02/Kala_Batibasaga_logo.png

    But it is not showing up on the PayPal payment page.

    I've entered the color hex codes, but the checkout page border at PayPal does not change?

    ...just curious, not complaining.

    http://wordpress.org/extend/plugins/paypal-pay-buy-donation-and-cart-buttons-shortcode/

  2. Mohsin Rasool
    Member
    Plugin Author

    Posted 1 year ago #

    Hi flashbuddy,

    Some customization of checkout page (particularly for donation button) require Premier or Business PayPal account. Unfortunately, I cant find out this requirement on PayPal's documentation but under a discussion in PayPal Forums. I myself verified it.

    Taking charity donations

    Other than the donation button, It worked fine on all buttons. your logo does pass dimensions and image formatting requirements.

  3. LPPYOga
    Member
    Posted 1 year ago #

    I just installed this plugin and don't see where to to put the amount for the Pay Now button. I also need several different buttons with different prices how do I create them if they are all Pay Now.

    I am offering a workshop that costs 40 for 2 people and additional members are 10 each, is there a way to display both options in the same paypal checkout page so the person doesn't have to do the step twice?

    Thanks!

  4. LPPYOga
    Member
    Posted 1 year ago #

    My other question is how to make a NEW window open when they click on the button.

  5. Mohsin Rasool
    Member
    Plugin Author

    Posted 1 year ago #

    LPPYOga, You would use following shortcode for pay now button with amount of $40.

    [paypal_button type="paynow" amount="40" name="For Two People"]
    [paypal_button type="paynow" amount="50" name="For Three People"]
    [paypal_button type="paynow" amount="60" name="For Four People"]

    You can have as many buttons as you want.

    If you want a single button, where you can visitor can choose number of persons and charges are adjusted as per selected number of persons, It is not supported yet. But you can use workarounds to do that. To get you started

    1. Wrap your button shortocode with like

    <span class="paypal_button">[paypal_button ...]</span>

    2. Use jQuery to apply calculations on click

    jQuery('.paypal_button input[type="image"]').click(function(){
       var qty = jQuery(this).siblings('input[name="quantity"]').val();
       if(qty <=2)
          // $20 per person
          jQuery(this).siblings('input[name="amount"]').val(qty*20);
       else{
          // $20 for first two and the $10 for each remaining person
          var amount = ((qty-2)*10)+40;
          jQuery(this).siblings('input[name="amount"]').val(amount);
       }
    });

    Disclaimer: above code is not tested. You may expect typos and errors.

    About the second question, it is not possible with the form buttons, But you can use "echo_link=1" attribute to create a link that can be used to open a new window.

    You can check documentation page

    Hope it solves your problem.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic