Skip to content
Snippets Groups Projects
  1. Apr 26, 2018
  2. Apr 23, 2018
    • mattwire's avatar
      Merge pull request #5 from progressivetech/support-html5-newer-jquery · a62264e8
      mattwire authored
      Ensure newer versions of jquery handle total amount properly
      Unverified
      a62264e8
    • Jamie McClelland's avatar
      Ensure newer versions of jquery handle total amount properly · 02d8505f
      Jamie McClelland authored
      Without this patch, an attempt to submit a webform with a payment option
      that totals $0 gets the error: Error: Could not find payment
      information.
      
      That's because the check for a total price of $0 fails. It fails for two
      reasons:
      
      1. Newer versions of jquery conform to html5 specs that say the data in
      the field called "data-amount" should be referred to as simply "amount"
      rather than "data-amount"
      
      2. In addition, jquery now tries to convert values to their appropriate
      type, so the strict matching of === '0' only matches on the string value
      of '0' but jquery is converting the string '0' into the integer 0.
      02d8505f
  3. Mar 31, 2018
  4. Mar 26, 2018
    • Jamie McClelland's avatar
      handle error corner cases · 3751fe5b
      Jamie McClelland authored
      When stripe throws an error, and the original form as an onclick event,
      we briefly see the error before the form is submitted according to
      the onclick event (i.e. the PreventDefault() and return false
      does not have any effect).
      
      This fix removes any onclick attributes at the beginning and only
      re-adds them and resubmits the form if we should.
      3751fe5b
  5. Mar 20, 2018
  6. Mar 19, 2018
  7. Mar 12, 2018
  8. Mar 11, 2018
    • Peter Hartmann's avatar
      Fix for #210 · 47e537dd
      Peter Hartmann authored
      Our webhook code retrieves every single event sent to us.  But not all of them have a 'customer' property, such as Customer objects, which have an 'id'.
      Unverified
      47e537dd
  9. Feb 26, 2018
  10. Oct 30, 2017
  11. Oct 25, 2017
  12. Sep 07, 2017
  13. Aug 09, 2017
  14. Aug 08, 2017
  15. Aug 07, 2017
  16. May 25, 2017
Loading