Skip to content
Snippets Groups Projects
  1. Oct 02, 2014
  2. Oct 01, 2014
  3. Sep 24, 2014
  4. Aug 21, 2014
  5. Jul 01, 2014
  6. May 05, 2014
  7. May 01, 2014
  8. Apr 01, 2014
    • drastik's avatar
      Trying to solve: · 021e9a6d
      drastik authored
      Strict warning: Declaration of CRM_Core_Payment_Stripe::singleton() should be
      compatible with & CRM_Core_Payment::singleton().
      
      And:
      Strict warning: Accessing static property CRM_Core_Payment_Stripe::$_mode as
      non static in CRM_Core_Payment_Stripe->__construct().
      021e9a6d
  9. Mar 07, 2014
  10. Feb 05, 2014
    • Joshua Walker's avatar
      PHP Doc comment cleanup · bd6681ab
      Joshua Walker authored
      bd6681ab
    • Joshua Walker's avatar
      Merge pull request #35 from giant-rabbit/4.4-1.8 · 50183ee1
      Joshua Walker authored
      Log all stripe errors.
      50183ee1
    • peterh's avatar
      Nicer formatting for error message. · 5c7aaf4b
      peterh authored
      5c7aaf4b
    • peterh's avatar
      Don't use livemode parameter. · 9d7b5ba3
      peterh authored
      Usually when we setup staging and test sites, we set the Stripe payment
      processor keys to use the test keys for both test payments and "live"
      payments. This lets us test things more realisticly. Unfortunately, because
      we are doing a "live" test, but using the Stripe test keys, the Stripe API
      fails with "Received unknown parameter: livemode".
      
      I think the CiviCRM Stripe payment processor should behave like all the other
      payment processors and work as expected if you use the test API keys as the
      "live" keys.
      9d7b5ba3
    • peterh's avatar
      Log all stripe errors. · ce90fd82
      peterh authored
      Usually when we setup staging and test sites, we set the Stripe payment
      processor keys to use the test keys for both test payments and "live"
      payments. This lets us test things more realisticly. This caused a problem
      with the Stripe extension where it was it was sending 'livemode' => true
      along with the 'create_plan' API call. This was causing the API call to fail
      with "Received unknown parameter: livemode", but because stripeCatchErrors
      ignores most errors the code was actually failing later on.
      
      To make problems with the Stripe API calls easier to debug in the future,
      we added some code to log all the exceptions when making Stripe calls and
      make sure that Civi crashes when these calls fail. That way the user knows
      that something went wrong with his transaction and he can inform the website
      owner.
      
      Sometimes, though we do expect an error from Stripe (like in the case where a
      subscription plan already exists, but it isn't in the local
      civicrm_stripe_subscriptions table). For that I've added an ignores parameter
      to the stripCatchErrors method that can be used to tell it to ignore very
      specific error messages, but still crash if we get an unexpected error.
      ce90fd82
  11. Jan 15, 2014
  12. Jan 10, 2014
  13. Dec 13, 2013
  14. Dec 02, 2013
Loading