WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] paypal buttons (11 posts)

  1. jayce103
    Member
    Posted 5 years ago #

    Is is possible to place paypal buttons in posts?

    The idea is to create a post on a page with an image in it and some text (this I can do), but I also wish to add a paypal button at the bottom of the post.

    How do I insert the code (ie. are there special tags, do I choose html or visual etc.)

    Jayce

  2. esmi
    Forum Moderator
    Posted 5 years ago #

    are there special tags

    No. You'll need to use the code that PaPal provides.

    do I choose html or visual

    HTML

  3. pregnancyloss
    Member
    Posted 5 years ago #

    Just go to the HTML view and paste it in.

    Be aware that if you later edit the post in visual mode, this sometimes breaks the code that was inserted in the HTML mode. My Youtube embedded videos always break if I go back in and edit a post.

  4. jayce103
    Member
    Posted 5 years ago #

    Thanks esmi and pregnancyloss for you help I will give it a go.

  5. jayce103
    Member
    Posted 5 years ago #

    Well the good news is that I got it to show up in the post the sad news is, it doesnt connect to paypal. I get the following message everytime.

    We were unable to decrypt the certificate id.

    Not sure if it's paypal being funny with the button stuff I created or weather paypal cannot gather the info from within a post.

    Any ideas.

  6. jayce103
    Member
    Posted 5 years ago #

    Anybody had this happen to them??

  7. esmi
    Forum Moderator
    Posted 5 years ago #

    What's the Paypal code/markup you've pasted in? As I understand it, Paypal can only collect data that has been provided by the button markup. It can't pick up anything from the post itself.

  8. jayce103
    Member
    Posted 5 years ago #

    Hi esmi,

    this is the paypal code

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post">
    <input type="hidden" name="cmd" value="_s-xclick">
    <input type="hidden" name="encrypted" value="-----BEGIN PKCS7-----MIIHZwYJKoZIhvcNAQcEoIIHWDCCB1QCAQExggEwMIIBLAIBADCBlDCBjjELMAkGA1UEBhMCVVMxCzAJBgNVBAgTAkNBMRYwFAYDVQQHEw1Nb3VudGFpbiBWaWV3MRQwEgYDVQQKEwtQYXlQYWwgSW5jLjETMBEGA1UECxQKbGl2ZV9jZXJ0czERMA8GA1UEAxQIbGl2ZV9hcGkxHDAaBgkqhkiG9w0BCQEWDXJlQHBheX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ohZH7Zlha4HJMt8szLa9eYHxUEtcd6wfbCjepqPPufYwG2SvKoWwns2GZ/EIw+v0GBAXNei3CnQvo8ujmc5b1zB1/INLtJ5oFjGszOMhVe7esTt0Atb7zolQbrbdpNzkQAH1KrSvfBb82oH-----END PKCS7-----
    ">
    <input type="image" src="https://www.paypal.com/en_GB/i/btn/btn_buynowCC_LG.gif" border="0" name="submit" alt="PayPal - The safer, easier way to pay online.">
    <img alt="" border="0" src="https://www.paypal.com/en_GB/i/scr/pixel.gif" width="1" height="1">
    </form>

    I am putting the code into a post (so that I can use posts as a seperater for each item forsale).

    The post will then reside in a shop category.

    When I put the code in the post, it appears as a button in the post, but when clicked paypal gives an error message back.

    Not sure if this is wordpress or paypal that is playing up.

    Cheers,

    Jayce

  9. jayce103
    Member
    Posted 5 years ago #

    Right after a little test I think it is a wordpress fault.

    I have two buttons made (same details), one in a post the other in a text widget thing. (a widget for entering text).

    The widget one works fine the one in a post does not.

    Am I missing some tags within the post? or is it the fact that it will not work in post?s

  10. jayce103
    Member
    Posted 5 years ago #

    FYI peeps, this doesn't work due to the form tags in a post, this was told to me by a paypal tech guy!

    If you need to put a button into a post then use the email link instead, this shouls work.

    Thanks to the people who took the time to reply...

    Regards,

    Jayce

  11. bformidable
    Member
    Posted 4 years ago #

    Jayce, can you say more about this. I having this same issue and not sure I get what you mean by 'email link instead'. Can you be more specific?

    Cheers,
    Cynthia

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.