New Landing How can we help? Themeforest Theme Support Flexform paypal code not working

Viewing 15 posts - 1 through 15 (of 16 total)
  • Posted in: Flexform
  • #20333
    design_agency
    Member
    Post count: 26

    hi there,

    i’m pasting in code from paypal right into my text blog in the swift page builder. the trouble is that it doesnt work after i save and update the change. i have had some success working in the text editor as opposed to the visual, but when i go back to make any edits, the code changes and no longer works.

    page can be found here

    thanks for your help!
    emily

    #20407
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Did the edit also fails in the Text Editor? you paste the donate button code in to a text widget?

    Let me know, what you got.

    Thanks,
    laranz.

    #20447
    design_agency
    Member
    Post count: 26

    hi laranz,

    the code works when its not used in the swift page builder, see here

    i pasted that same code into the text editor within the swift page builder and the link is just dead.

    if i use the classic editor (text view) and add the code, it will work, but only temporarily. if i go back into that page to make an edit (either in the swiftpage builder or using the classic editor) the code changes and the link goes dead.

    i know its not good to bounce back and forth between the swiftpage builder and the classic editor, i’ve only been doing this to try and troubleshoot this problem.

    here’s the code im using from paypal:
    <form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post”> <input name=”cmd” type=”hidden” value=”_s-xclick” /> <input name=”hosted_button_id” type=”hidden” value=”BJX2LWXJZ4F7C” />    <br /><input alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif&#8221; type=”image” /> </form><form action=”https://www.paypal.com/cgi-bin/webscr&#8221; method=”post”><br /></form>

    any ideas?

    thanks, emily

    #20570
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    I go to https://www.paypal.com/cgi-bin/webscr?cmd=_donate-intro-outside and click create button and copy the code and take a text widget in Swift Builder, and click edit text and put that inside the editor (in Text Mode not visual mode) click save, and Publish the page. All looks ok, even after so many edit.

    Can you try this way?

    Let me know, what you got.

    Thanks,
    laranz.

    #20753
    design_agency
    Member
    Post count: 26

    i did just what you said:

    created a new text widget in swift builder and pasted the code from paypal (inside the text editor) and the link is still not working. that, and now there is a big space between the text and the button which i dont like.

    could something else be preventing the paypal code from working? see here

    thanks,
    emily

    #20755
    design_agency
    Member
    Post count: 26

    just want to add something to this… when the link goes dead, i’ve noticed that the code is different from what i put in initially (see above). this is what it becomes:

    <input type=”hidden” name=”cmd” value=”_s-xclick” /> <input type=”hidden” name=”hosted_button_id” value=”BJX2LWXJZ4F7C” />
    <input type=”image” alt=”PayPal – The safer, easier way to pay online!” name=”submit” src=”http://artsworcester.org/wp-content/uploads/2013/09/artist_member.png&#8221; />

    i have no idea why this has changed, but i imagine its somehow related to why the link no longer works.

    thanks.
    emily

    #20840
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    1. It has a huge space because of the white space in the code you copied, delete the white spaces and see what it does.

    2. You mean the link disappear?

    Let me know, what you got.

    Thanks,
    laranz.

    #20880
    design_agency
    Member
    Post count: 26

    i suppose. that’s the code that replaces the original code if i go in to make an edit. what i got is what i sent too you. what is causing this?

    emily

    #21019
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    I didn’t find a reason, it works fine for me.

    I will forward this to another support staff for clarification.

    Thanks for your patience.

    Thanks,
    laranz.

    #21046
    design_agency
    Member
    Post count: 26

    did you see the link i sent you to (top of page)? you can see there that the link isnt working. alternately, is it possible to use the button shortcode for a paypal link? that would solve all of this—the trouble is that i can only enter a url and paypal generates a form.

    is there another way to get paypal to work? im getting quite frustrated. i thought integrating paypal was supposed to be easy with this theme.

    thanks,
    emily

    #21055
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Yes I check it, and that can’t reproduce myself in my environment.

    Can you try this plugin? http://wordpress.org/plugins/paypal-donations/

    Thanks,
    laranz.

    #21058
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Hey,

    I’ve just used the following code in a Text Element from the Page Builder and it works perfectly fine:

    <form action="https://www.paypal.com/cgi-bin/webscr" method="post"><input type="hidden" name="cmd" value="_s-xclick" /> <input type="hidden" name="hosted_button_id" value="BJX2LWXJZ4F7C" /><input type="image" alt="PayPal – The safer, easier way to pay online!" name="submit" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_SM.gif" /></form>

    Note that you need to always use the Text view when inserting the code in a Text Element. Otherwise WordPress will mess up the code.

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #21060
    Cosmin – SUPPORT
    Member
    Post count: 3851

    Note: our forum breaks entities after a URL, so replace those & quot; with a double quote: ”

    Regards,

    ————————————————————————————————————

    Cosmin
    Support Assistant

    #21081
    design_agency
    Member
    Post count: 26

    hi cosmin, not sure what you meant with that last comment… is that for the site im working on or here in your support forum?


    in regard to the pp code, i *did* add it to the text editor and it works fine until i go back into the page builder to make an edit (or if my client is going in to make an edit). they dont use the text editor, just the visual one, and every time they make an edit the code is changed and the button goes dead. i need to be able to make edits and not reinsert the code for paypal everytime that i do.

    should i be using the plugin laranz sent over? i have tried just about everything else.

    thanks,
    emily

    #21240
    laranz – SUPPORT
    Member
    Post count: 3186

    Hi,

    Yes, try that plugin it gives shortcode so you can used that easily.

    Let me know, what you got.

    Thanks,
    laranz.

Viewing 15 posts - 1 through 15 (of 16 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register