How to separate the PayPal payment total from the text

  • kevinpclarke
    Asked on February 2, 2016 at 4:35 PM

    Dear Support

    Is there a way to automatically separate the payment total into a separate cell away from the PayPal text which appears with it? The reason being it becomes difficult adding up the totals when t he PayPal text is in the same cell.

     

    Thanks for your help

    regards

    Kevin

  • jonathan
    Replied on February 2, 2016 at 11:22 PM

    If my understanding is correct, you meant this Paypal payment details.

    How to separate the PayPal payment total from the text Image 1 Screenshot 20

    As far as I know, this is a result that comes from the Paypal API. So I am not really sure if there is a way for our dev to customize this.

    The details is consist of the items/products descriptions and the Total amount.

    Can you also confirm first if this was what you meant?  

    I can submit a request to our higher team support after you confirm and inquire also if this is doable.

    Thanks.

  • kevinpclarke
    Replied on February 3, 2016 at 2:45 AM
    HI Jonathan,

    Yes this is the problem and means our accounts cannot easily just sum the cells for total payments due to the text in the same cell. I tried adding a total via the paypal plugin but this does not help.

    Please advise if there are any ways around this?

    Many thanks
    kevin

    ...
  • Chriistian Jotform Support
    Replied on February 3, 2016 at 4:41 AM

    A possible workaround is to get the value of the paypal field and copy it to a text field. Here's how:

    1. Add a text box and name it Papal Total

    How to separate the PayPal payment total from the text Image 1 Screenshot 50

    2. Then add a condition to copy the value from the Paypal field to the Paypal Total

    How to separate the PayPal payment total from the text Image 2 Screenshot 61

    3. Save the condition when you're done and you're all set.

    How to separate the PayPal payment total from the text Image 3 Screenshot 72

    Here's how it would appear with the Paypal Total.

    How to separate the PayPal payment total from the text Image 4 Screenshot 83

    You can also check out the cloned form where I added the Paypal Total field: https://form.jotform.com/60332269022951

    You can also clone it to your account: How to Clone an Existing Form from a URL

     

  • kevinpclarke
    Replied on February 3, 2016 at 11:46 AM
    Hi Christian,

    I cannot seem to achieve the same as you did on my form although I removed the first Total box within the paypal widget as having two was confusing. See my link here and payment towards the end.

    https://form.jotform.com/kevinpclarke/BISC-Opens-Solo-Dance-REG

    Thanks for your help
    Kevin

    ...
  • Welvin Support Team Lead
    Replied on February 3, 2016 at 2:07 PM

    I've fixed it for you. You have to click "Show Total" and then just hide it using a custom CSS codes. 

    I have injected the following CSS codes to your form:

    span.form-payment-total {

        display: none;

    }

  • kevinpclarke
    Replied on February 3, 2016 at 2:46 PM
    Hi Welvin

    Many thanks for looking at this and solving it so quickly. I’ll need to do same for a few more similar forms which are not done yet so where do I insert the same CSS code ?

    Many thanks again for your help

    Kevin

    ...
  • Welvin Support Team Lead
    Replied on February 3, 2016 at 3:48 PM

    Here's our guide to inject the codes: http://www.jotform.com/help/117-How-to-Inject-Custom-CSS-Codes. You have to add the codes to the bottom if there are existing codes in the CSS area. And again, make sure to show the total in the payment field. That is where the calculation fetches the value.

  • kevinpclarke
    Replied on February 4, 2016 at 8:46 AM
    Hi Welvin,

    Please cancel this email I just figured it out.. I had not set “Show Total” in the Paypal widget..

    Many apologies and thanks for all your excellent help

    Regards
    Kevin

    ...
  • mert JotForm UI Developer
    Replied on February 4, 2016 at 11:15 AM

    On behalf of my colleague, you are most welcome. For further assistance, you can always reach us from the Support Forum.

     

    Have a great day.