Invalid integer error using Stripe custom payment calculation

  • scommand
    Asked on April 11, 2016 at 9:28 PM

    Dear engineer,

    I'm having problems with the integration of Jotform and Stripe. The form is nice, the settings of Stripe account also correctly done, but for some reason when I try to submit online payment (by credit card), the message attached appears.

    I'm very frustrated with it. If it does not work, I will need to look for another provider.

    Invalid integer error using Stripe custom payment calculation Image 1 Screenshot 20

    My form: https://form.jotform.com/60958539481166

     

    Jotform Thread 815876 Screenshot
  • jonathan
    Replied on April 12, 2016 at 2:21 AM

    It seems that the SuperTotal value being calculated in your custom payment form https://form.jotform.com/60958539481166 was the culprit.

    I think the calculated number (SuperTotal) is not a valid integer number (which is required by the pament tool)

    Invalid integer error using Stripe custom payment calculation Image 1 Screenshot 30

     

    Can you try first using Round function to make sure the value is an integer value

    Invalid integer error using Stripe custom payment calculation Image 2 Screenshot 41

     

    Let us know how it goes.

    Thanks.