Jump to content

Paypal integration to Form Builder


lucas
 Share

Recommended Posts

I'd like to know if it's possible for you to integrate Paypal to the Form Builder module. I'd like to use the Form Builder to build a paid job listing. Job submissions would be only published to the site after the payment via Paypal (standard checkout).

Could you tell me if this would be something you'd consider adding? That's the only thing keeping me from building this project with PW right now ;)

Link to comment
Share on other sites

You could create this functionality yourself without too much work.

I am not a form builder expert, but I have integrated PayPal into a manually created front-end form in PW. If you want to use FormBuilder I think you want to hook into:

FormBuilderProcessor::formSubmitSuccess

Do you already have form builder and access to the VIP support board for it? There are a lot of posts over there about hooking into it and adding functionality.

Here is some info I posted about paypal integration with PW:

https://processwire.com/talk/topic/5281-paypal-payment-method-for-processwire-shop/?p=67670

Using the IPN feature of PayPal to return payment success and then publish the page should be pretty straight-forward.

Let us know if you have any more specific questions once you get started.

  • Like 2
Link to comment
Share on other sites

Hey adrian, nope I didn't purchase it yet.  Thanks for the tips.

Hmmm I'd have to check out if this IPN feature is available for the Paypal standard payments in my country..

I'm far from being a developer but I guess I'll try to build the form myself (using PW of course :))

Will search for some guides to get started... 

Link to comment
Share on other sites

Here you go:

https://processwire.com/talk/topic/2089-create-simple-forms-using-api/

Have a good read through that thread, create your form, have it process off to PayPal and then point Paypal back to an ipn.php file on your server that uses code based on: https://github.com/paypal/ipn-code-samples/commits/master/paypal_ipn.php

Just bootstrap PW into that file and after processing, remove the unpublished status from the page.

  • Like 1
Link to comment
Share on other sites

  • 4 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

  • Recently Browsing   0 members

    No registered users viewing this page.

  • Similar Content

    • By Mithlesh
      Hi there,
      My form is not getting submitted, it is showing:
      Unable to verify successful email delivery of this form submission.
      Attaching for your reference as well: 

      In the Backend, it is showing Connection timed out with smtp.gmail.com
      Pl guide me how to resolve that
    • By Maverick
      Hi guys,
      Can you tell me if it is possible to build a form with Form Builder https://processwire.com/store/form-builder/ having checkboxes with input field option? So on the frontend there would be a checkbox like "Other" where you can enter something yourself.
      What I am having in mind is this

       
    • By J_Szwarga
      What is the best practice for having a form (only accessible to a logged in user) save the user's progress between sections of the form? Fieldsets? Multiple forms?
      Use case: I have a very long application form that would take 30 minutes for the applicant to fill out and I would hate for all progress to be lost due to user error. The progress needs to be logged into the user's page.
      Thanks!
    • By Robin S
      An inputfield for displaying markup editable via CKEditor.
      The module is intended for use with the Form Builder module. Allows blocks of static text to be included within a form, which can be edited in the form settings using CKEditor.
      Usage
      Install the Markup CKEditor module.
      In the Form Builder module settings, add "MarkupCKEditor" to "Inputfield types to use with FormBuilder".
      In your form settings, add a new field of type "Markup CKEditor". Enter the text you want to show in this field using "Markup Text" on the "Details" tab.
      Screenshots


       
      http://modules.processwire.com/modules/inputfield-markup-ckeditor/
      https://github.com/Toutouwai/InputfieldMarkupCKEditor
    • By cosmicsafari
      Hi all,
      I am using the formSubmitSuccess form builder hook to send a copy of the form submission to a third party.
      However I couldn't figure out how to get the submissions form type at this point, the reason being is that I only want to send the data onto the third party for certain form types.
      I don't have the submission details being passed into the hook, wasn't sure how to achieve this so at the moment I have it doing a DB query to pull the latest submission details for that form type so I'm rather stumped about how I can go about achieving this.
      Hope thats makes sense.
×
×
  • Create New...