WordPress.org

Ready to get started?Download WordPress

Forums

Turn URLs into Seperate PayPal Payment Plans (4 posts)

  1. Drogheda Web Design
    Member
    Posted 9 months ago #

    Hi all!

    Wondering how I could change specific urls on my pricing plan table so that each url leads to the PayPal payment page for each plan? Tested many plugins but none offer this feature from what I can see.

    Many thanks!

  2. Robin W
    Member
    Posted 9 months ago #

    This can be tailored in the url for your link to paypal

    eg

    https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mail%40oldspots%2eorg%2euk&item_name=Family%20Membership%20Email%20Newsletter&amount=20%2e00&no_shipping=1&currency_code=GBP&return=http%3a%2f%2fwww%2egospbc%2eco%2euk%2fmembership%2dpayment%2dpage%2f
    
    https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mail%40oldspots%2eorg%2euk&item_name=Family%20Membership%20Postal%20Newsletter&amount=25%2e00&no_shipping=1&currency_code=GBP&return=http%3a%2f%2fwww%2egospbc%2eco%2euk%2fmembership%2dpayment%2dpage%2f
  3. Drogheda Web Design
    Member
    Posted 9 months ago #

    Thanks for the quick response! & where do I generate these PayPal urls? Is there a plugin to do it for me?

  4. Robin W
    Member
    Posted 9 months ago #

    I'm not aware of one, but you just need to break down the elements to create one. It's quite easy when you get your head around it.

    you do need to use 'substitute' strings for some characters

    so
    %40 = @
    %2e = .
    %3a = :
    %2f = /
    %2d = -

    so the string

    https://www.paypal.com/cgi-bin/webscr?cmd=_xclick&business=mail%40oldspots%2eorg%2euk&item_name=Family%20Membership%20Email%20Newsletter&amount=20%2e00&no_shipping=1&currency_code=GBP&return=http%3a%2f%2fwww%2egospbc%2eco%2euk%2fmembership%2dpayment%2dpage%2f

    breaks down into

    the start sting:
    https://www.paypal.com/cgi-bin/webscr?cmd=_xclick
    followed by your paypal account
    mine is mail@oldspots.org.uk which using the substitutes above comes out as
    &business=mail%40oldspots%2eorg%2euk
    then the item
    &item_name=Family%20Membership%20Email%20Newsletter
    in this case the item is "Family membership email newsletter" as it is club membership
    Then the item cost
    &amount=20%2e00
    In this case 20.00
    Then any shipping costs
    in my case none so
    &no_shipping=1
    Then what currency
    &currency_code=GBP
    In my case British pounds
    Finally where you want the payment to come back to when done
    &return=http%3a%2f%2fwww%2egospbc%2eco%2euk%2fmembership%2dpayment%2dpage%2f
    Which for me translates as
    http://www.gospbc.co.uk/membership-payment-page/

    You do need to set up the return with paypal if you want to use that

    https://www.paypal.com/ie/cgi-bin/webscr?cmd=p/mer/express_return_summary-outside

    put that together any you end up with a link that takes you to a paypal page.

    Click the one above to see what you get - don't worry it'll only take you to a checkout/payment page, and unless complete it, no money will change hands.

Reply

You must log in to post.

About this Topic

Tags

No tags yet.