WordPress.org

Ready to get started?Download WordPress

Forums

Visual Form Builder
[resolved] Integrate/workaround for paypal payments pro???? (9 posts)

  1. tfc
    Member
    Posted 1 year ago #

    Hi I'm trying to integrate my paypal pro with vfb.
    I already have a page that they set up that is a payment form. You can enter your credit card info and check out or check out with paypal. I want to find a workaround to make the form capture data and when you click submit direct you to the pro page.

    Right now, the only way to get to get to the pro page is by clicking the checkout button they provided. You can edit this button to say the amount/price, it also has hidden values to log you into your paypal form.

    Does anyone know a workaround for this, I don't want them to just go to paypal, but straight to the pro payment form.
    Any suggestions?

    http://wordpress.org/extend/plugins/visual-form-builder/

  2. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    I just introduced add-ons for Visual Form Builder Pro and one of them is the Payments add-on.

    Right now it's just PayPal Standard, but I hope to add Pro in the future.

    If you are trying to do this with the free and/or Pro versions, you can redirect to any page you'd like (your payment form in this case).

  3. tfc
    Member
    Posted 1 year ago #

    Hi, Thanks for the reply!
    I have the pro version with the payments add on. I absolutely LOVE IT!
    I am trying to redirect to the paypal pro/payflow page, but the only way to get to that page is through this form which is on a button:
    <form class="middle" action="https://payflowlink.paypal.com" method="post"><input type="hidden" name="LOGIN" value="xxxxxxxxx(paypal user)" />
    <input type="hidden" name="PARTNER" value="PayPal" /><input type="hidden" name="DESCRIPTION" value="whatever you want the title to say" />
    <input type="hidden" name="AMOUNT" value="75" />
    <input type="hidden" name="TYPE" value="S" />
    <input type="submit" name="submit" value="$75 Class" />
    </form>

  4. tfc
    Member
    Posted 1 year ago #

    Maybe can use the hidden fiends to spit this info out and edit the submit button via php... Just a thought... but how do I differentiate between different selected prices...

  5. tfc
    Member
    Posted 1 year ago #

    *hidden fields

  6. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    You will most likely have to hook into one of the filters or actions and then do a redirect with a query string of your hidden variables.

  7. tfc
    Member
    Posted 1 year ago #

    Yikes... Sounds a little intense :) Do you have a little more info on how I can do this. Maybe a step process?
    Thanks a million if you can (Thanks a million if you can't :)

  8. Matthew Muro
    Visual Form Builder Pro
    Plugin Author

    Posted 1 year ago #

    Here are some hooks for VFB Pro and here is the wp_redirect function.

    I'd recommend the vfb_after_email action or the (as yet undocumented) vfb_confirmation action.

    That should be enough to get you started. If you need more help, I'd suggest StackOverflow or the WordPress StackExchange.

  9. tfc
    Member
    Posted 1 year ago #

    Thanks I'm going to look into this. Also when I click submit it redirects me to paypal I can see but it says sorry your shopping cart is empty and that an error occurred. My shopping cart is not empty, I can clearly see the running total at $75. Any idea what I may be doing wrong?

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic