Purchase order payment tool: it doesn't work with conditions properly

  • janebeverley
    Asked on March 17, 2016 at 8:09 AM

    I have a series of products from two categories. If a customer orders from one category they are charged a flat rate shipping cost for that category. If they order from both categories they are charged the flat rate shipping for both categories.

    I used conditional formatting to fill a shipping field that I created for each of the categories. However, it is not consistently working for the first category and not working at all for the second.

    I used an if the quantity is greater then 0 then copy the shipping number from a hidden field to the visible shipping field.

    Thanks in advance.

     

    Sincerely, 

    Jane baxter

  • beril JotForm UI Developer
    Replied on March 17, 2016 at 10:08 AM

    I've cloned and tested your form. I see that if you choose just one product from your payment tool. it doesn't copy to hidden value to shipping cost.

    Purchase order payment tool: it doesnt work with conditions properly Image 1 Screenshot 30

    It is weird because the first two conditions are working together. Because of that reason, it is not working properly.

    Purchase order payment tool: it doesnt work with conditions properly Image 2 Screenshot 41

    Let me try to figure out the cause of this issue. I will get back to you on this soon.

  • janebeverley
    Replied on March 17, 2016 at 1:06 PM

    Hi Beril,

    Thanks for looking into this.

     

    I also had another issue:

    Because I have to add the flat rate shipping based on product line I created the shipping text boxes and am attempting to create a Grand total text box. However, when I am trying to calculate the total cost I do not have access to the total value from the product order section. How would I get that total to use in the lower section of the form?

    Thanks,

    Jane

  • Elton Support Team Lead
    Replied on March 17, 2016 at 1:16 PM

    Hi Jane, I have moved your other question on this thread http://www.jotform.com/answers/796941. We'll be on it shortly. 

  • beril JotForm UI Developer
    Replied on March 18, 2016 at 5:21 AM

    Hi Jane,

    First of all, l added the calculation widget and hide that field as you see below:

    Purchase order payment tool: it doesnt work with conditions properly Image 1 Screenshot 100

     

    After that, I inserted the shipping value in our calculation widget.

    Purchase order payment tool: it doesnt work with conditions properly Image 2 Screenshot 111

    Please note that the sort of your fields is so ımportant for creating conditions. Because of that reason, at the first, we will add our form calculation widget. After that, we will add our text box field.

    Purchase order payment tool: it doesnt work with conditions properly Image 3 Screenshot 122

    And finally, I created  conditions as you see below:

    Purchase order payment tool: it doesnt work with conditions properly Image 4 Screenshot 133

    Purchase order payment tool: it doesnt work with conditions properly Image 5 Screenshot 144

    However, it didn't solve your problem. Then, I've changed your conditions as you see below but it didn't change the result.=(

    Purchase order payment tool: it doesnt work with conditions properly Image 6 Screenshot 155

    Purchase order payment tool: it doesnt work with conditions properly Image 7 Screenshot 166

    And finally, I've changed the order of your products on your payment tool.

    Purchase order payment tool: it doesnt work with conditions properly Image 8 Screenshot 177

    I see that the problem occurs due to your payment tool instead of conditions. Because when I've changed the order of your product,the problem occurs on your first product.

    Here is how it works:

    Purchase order payment tool: it doesnt work with conditions properly Image 9 Screenshot 188

    I've also tested it different payment tool but I couldn't solve your problem.=(

    I will escalate it to our second level and one of our developer will take a look here, you will be notified when it's solved or will get news about it via this thread.

  • janebeverley
    Replied on March 18, 2016 at 8:28 AM

    Thanks for all your work on this. You really turned the process inside out to figure this out and I appreciate it.

     

    Is there a way I could create a running total of product quantities? I cannot use the product quantity in the calculation section of the conditions but the quantity is available for the 'if-statements'. Is it possible to use the quantity in the calculation?

    Jane

  • beril JotForm UI Developer
    Replied on March 18, 2016 at 10:23 AM

    You're most welcome Jane. I really wanted to solve your issue. I will answer your next question at the following link so please, follow up there:

    https://www.jotform.com/answers/797614

     

     

  • beril JotForm UI Developer
    Replied on March 21, 2016 at 3:14 AM

    Hi Jane,

    We noticed that you're asking credit card details in your form. Because of that reason, I've  deleted those fields. Please note that you can not ask  sensitive information such as  credit card information and any type of login credentials.

    Purchase order payment tool: it doesnt work with conditions properly Image 1 Screenshot 20

    Phishing. You agree that Company may terminate your JotForm Service immediately if a form's purpose is found to be deceptively obtaining: sensitive credit card information, social security numbers, user login credentials, or other sensitive personal information. All these activities are considered as Phishing and any account along with the violating forms will be suspended immediately.

    Collecting Sensitive Information. You may not use the JotForm to collect certain types of sensitive information, including but not limited to credit card information and any type of login credentials. You may collect some sensitive information such as social security numbers or driver’s license numbers, but you are required to use best security practices of JotForm including SSL and Encrypted Forms features. You are solely responsible for compliance with any data protection and privacy laws and rules applicable to the sensitive information.
     
    The only way of creating an order form is using our payment tools with JotForm. If you want to create multiple payment forms, please check the guide below for more information:
     
    We would appreciate it if you don't ask credit card information again. Otherwise, your account will be suspended by our system.
     
    Thank you.
  • janebeverley
    Replied on March 21, 2016 at 7:52 AM

    Hi Beryl,

     

    Thanks for letting me know. I was not aware. 

    I will not make that mistake again.

    I will read the guide and figure out how to do this.

    I am looking to take the credit card information and process it when the orders are shipped.

    I cannot find a payment type that can do this with a product list and not a donation field.

     

    Jane

  • beril JotForm UI Developer
    Replied on March 21, 2016 at 8:28 AM

    Hi Jane,

    You're kindly welcome. I realized that you weren't aware.=)

    If you want to create two steps payment form which allows purchase later you can enable payment authorization feature. At that time,  payment will be captured at a later time when needed. The guides will help you for creating better payment forms

    http://www.jotform.com/help/292-How-to-Enable-Payment-Authorization

    http://www.jotform.com/help/323-Mastering-Payment-Form-Integrations-with-JotForm

     

    I will answer your second question at the following link. Please follow up there:

    https://www.jotform.com/answers/798980