WEB FORM BUILDER - Partial Payments...

User 256166 Photo


Trial User
6 posts

Hi guys... this should be an interesting first post. lol

I know that when you enable the payment feature in the form it basically turns the submit button into a buy now type of button (from paypal, etc...)

Paypal has several different types of buttons available to use to take and facilitate payments. I would like to use one of their buttons that allows people to break up a payment.

Is it possible for me to remove the submit button or the code that WEB FORM BUILDER give me and insert the button or code that I'd like to use directly from PAYPAL?

Or is there a simpler route to do what I'm trying to do? Can web form builder calculate a balance owed and send an invoice for the remaining amount?
User 122279 Photo


Senior Advisor
14,649 posts
Online Now

The calculation bit is not there yet, but we have asked for it.

I'm not a user of Paypal as a payment method in web forms. In principle you can remove the button IMAGE and use one from anywhere, but I don't know if the underlying code will have to be changed too. But hang on in here, if we wait a bit, Eric might turn up, and he seems to have a solution for most things. ;)

Eric! over here, please! :)
Ha en riktig god dag!
Inger, Norway

My work in progress:
Components for Site Designer and the HTML Editor: https://mock-up.coffeecup.com


User 256166 Photo


Trial User
6 posts

Thanks.
User 187934 Photo


Senior Advisor
20,271 posts

Did you dig into the php for the form builder. The checkoutcontroller.cls.php would be the first place to start.
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 256166 Photo


Trial User
6 posts

No idea Eric. If you could elaborate a little more, it would help me out alot. Still finding my way a bit with the software... getting used to it though.

User 187934 Photo


Senior Advisor
20,271 posts

I tested this and it works fine.:)
Go down to line 298 on the checkoutcontroller.cls.php and look for this.
. '<input type="submit" id="fb_paypalwps" name="_xclick" value="Proceed to PayPal" /></form>';

Grab your PayPal button code and paste it between the single quotes.
.' My PayPal button code here ';
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com
User 256166 Photo


Trial User
6 posts

I have no idea what this "checkoutcontroller.cls.php" is or where to find it.

Thank you so much for your time and help. I really appreciate it.
User 256166 Photo


Trial User
6 posts

Ok I found the .php file you referred to in your post. It's in the php folder that is created during the export option.

So you are telling me to open that .php file and replace the generated paypal button code with the code from paypal that will allow partial payments?
User 256166 Photo


Trial User
6 posts

Eric Rohloff wrote:
I tested this and it works fine.:)
Go down to line 298 on the checkoutcontroller.cls.php and look for this.
. '<input type="submit" id="fb_paypalwps" name="_xclick" value="Proceed to PayPal" /></form>';

Grab your PayPal button code and paste it between the single quotes.
.' My PayPal button code here ';


ok I found it for sure now. So basically, it would replace the entire line of code that you referenced in your post.... from <input type...... (all the way through the closed form tag) </form>

right?

wow... if that's right... then that is amazing. I've completed the site now using a simpler method (didn't achieve the same goal), but still got what the end user wanted. If I implement this now though, it will be a vast improvement in the entire process... but I'll have to check and see if she wants to do it this way... (will have to take the site down until I get a chance to update the code on Monday) - plus she'll have to pay for that advance paypal feature too...

But if this is right, it's a REALLY REALLY GOOD THING TO KNOW.
User 187934 Photo


Senior Advisor
20,271 posts

Yes it's really that easy.;)
I can't hear what I'm looking at.
It's easy to overlook something you're not looking for.

This is a site I built for my work.(RSD)
http://esmansgreenhouse.com
This is a site I built for use in my job.(HTML Editor)
https://pestlogbook.com
This is my personal site used for testing and as an easy way to share photos.(RLM imported to RSD)
https://ericrohloff.com

Have something to add? We’d love to hear it!
You must have an account to participate. Please Sign In Here, then join the conversation.