You are viewing limited content. For full access, please sign in.

Question

Question

Is it Possible to Make Braintree payment optional?

asked on March 6, 2018

Hi all,

I have two customer requirements hat require an option payment:

1. At the end of the application, the customer can choose to select "Pay Now" (using Braintree) or "Defer Payment" (which will be handled manually)

2. At the end of an application form, the customer can decide to buy something extra, or not.

Is it possible in one form? I suspect this may be possible by embedding forms, I'm also able to do this with RealEX but I'd rather use Braintree.

0 0

Answer

SELECTED ANSWER
replied on March 6, 2018

Unfortunately it doesn't appear that there is a way in Forms currently to bypass that confirmation in the 0 value case. We'll have to look into that for a future Forms release. 

0 0

Replies

replied on March 6, 2018

The amount for a Braintree payment can be a variable. You can have a variable called Payment_Amount and set it to $0 if "Defer Payment" is selected or some increased value if they decide to buy something extra. One way to do this is by using a field formula on a hidden field. In this case, the payment value will change based on the form and could even be $0 (not required).

1 0
replied on March 6, 2018 Show version history

Hi Jared,

I hadn't tried just submitting a payment with a zero value. But with the value set to £0, the payment window still displays and shakes it's red text at me when I click submit.

I could just hide the ".container" selector but Laserfiche will still display the "confirm payment" dialogue box. I tried hiding the box but then I'll need to somehow click on the accept button... Will that just be a matter of $("#confirmationAmount").click() or something similar?

-Ben

 

0 0
replied on March 6, 2018

What version of Forms are you on? If the payment amount is set to 0, the payment window should still display but you should be able to ignore it and submit the form without anything being required there. 

0 0
replied on March 6, 2018

10.2.1.157

I've sent a link and credentials

0 0
replied on March 6, 2018

When I fill out your form, if there is any non-zero value the Braintree section shows up. If the value is 0, the Braintree window is hidden and when I click Submit, I do have to confirm a 0 payment, but I don't see any errors or issues. 

I believe it is the nature of the Braintree payment window to require confirmation regardless of the payment amount which is why we much show a confirmation even if the payment value is 0. Otherwise, it appears to be working fine. 

0 0
replied on March 6, 2018 Show version history

Hi Jared,

Yes, it's the confirmation of confirming the 0 that I'd like to remove. Is there a message I can send to the Laserfiche form, through javascript, to tell it to not load the Braintree payment integration? I'd like to avoid 0-confirmation.

Because...

 

If someone selects £100 to be paid in person, for example, the confirmation will say "OK to Pay £0" which is confusing and inacurate.

-Ben

0 0
SELECTED ANSWER
replied on March 6, 2018

Unfortunately it doesn't appear that there is a way in Forms currently to bypass that confirmation in the 0 value case. We'll have to look into that for a future Forms release. 

0 0
replied on March 6, 2018 Show version history

That would be great The website I showed you was clearly personal but I also have customers who require the same functionality. Do I need to create a new post to make a formal feature request?

0 0
replied on March 6, 2018

No, I've added it to our list of feature requests

1 0
replied on September 24, 2019

We've made it optional for customers to pay online using an option for them to not pay online which hides the payment gateway (with javascript).

Check out our form:

https://lfaccess.csrd.bc.ca/Forms/DogLicence/

(check that you do not live in Salmon Arm, select a type of licence on the third tab and then on the last tab, play with changing the online payment option. Are you looking for something like this?

0 0
replied on September 25, 2019 Show version history

Is this screen expected for when I do live in Salmon Arm? I still see the confirmation for 0 CAD:

0 0
replied on September 25, 2019 Show version history

Yes, that is expected for when you check that you DO live in Salmon Arm.

We're essentially the county. We had residents of the city buying dog licences from us and it was more work for our finance department to issue refunds so we needed a qualifying question to get them to realize they needed to go to their municipal government for a dog licence. So:

Is your residential address within the limits of the City of Salmon Arm?

Answer:

No

Then:

Click next twice

To the top question (Type of Licence), select one of the options as that is what gets the amount to change in the payment gateway.

When you click next again, you'll see the amount and the option to not pay online. Our VAR added javascript to hide the payment gateway.

0 0
You are not allowed to follow up in this post.

Sign in to reply to this post.