Skip to content
Snippets Groups Projects
  1. Sep 20, 2018
  2. Sep 19, 2018
  3. Sep 18, 2018
  4. Aug 16, 2018
  5. Aug 01, 2018
  6. Jul 24, 2018
  7. Jun 23, 2018
  8. Jun 22, 2018
  9. Jun 11, 2018
  10. Jun 05, 2018
  11. May 18, 2018
  12. May 17, 2018
  13. May 11, 2018
  14. Apr 27, 2018
    • mattwire's avatar
      Merge pull request #7 from progressivetech/multiple-stripe-pps-take-two · 7bcf0cee
      mattwire authored
      allow multiple stripe payment processor on back end
      Unverified
      7bcf0cee
    • Jamie McClelland's avatar
      ensure our js code always runs first · 179da37b
      Jamie McClelland authored
      If we wait for the event handler to kick in, other js code
      might run first (like offline event registration does an ajax
      call to register a participant).
      179da37b
    • Jamie McClelland's avatar
      allow multiple stripe payment processor on back end · 49d4eebd
      Jamie McClelland authored
      Without this patch, you can the error "no such token" if:
      
       * You have two different stripe payment processors configured.
       * you are making an offline contribution
       * using the provided payment processor back end, you choose the
       non-default payment processor.
      
      The stripe javascript submits the payment using the default payment
      processor, but the PHP codes tries to charge it using the user-selected
      payment processor, which leads to the error.
      
      This fix also ensures that if a non-stripe payment processor is chosen
      we won't try to send it to stripe.
      49d4eebd
  15. Apr 26, 2018
  16. 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
  17. Mar 31, 2018
  18. 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
Loading