Skip to content
Snippets Groups Projects
  1. May 05, 2014
  2. May 01, 2014
  3. 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
  4. Mar 07, 2014
  5. 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
  6. Jan 15, 2014
  7. Jan 10, 2014
  8. Dec 13, 2013
  9. Dec 02, 2013
  10. Nov 26, 2013
  11. Nov 22, 2013
  12. Nov 11, 2013
    • Joshua Walker's avatar
      Merge pull request #14 from anemirovsky/4.3-1.7 · ae447930
      Joshua Walker authored
      Fix error when number of installments not filled out.
      Cancel previous subscription when user starts new recurring contribution and already had one.
      ae447930
    • anemirovsky's avatar
      Fix Stripe recurring payments remain Pending in CiviCRM. · e5b648c4
      anemirovsky authored
      This happens if a contact already has an active Stripe subscription due to a
      previous recurring contribution that is not completed yet and if they create
      a new recurring contribution and change only the amount, without changing the
      frequency/installments, then Stripe will wait to charge the card until the
      next installment is due. CiviCRM, expects the charge to be immediate, so the
      first contribution does not get marked as Completed, and more importantly,
      never appears in Stripe, since the card didn't actually get charged.
      
      To correct this, we have to first cancel any existing active subscriptions
      for that contact. Then, everything works correctly.
      e5b648c4
    • anemirovsky's avatar
      Fix "One of parameters (value: ) is not of the type Integer" error when... · 7509ced7
      anemirovsky authored
      Fix "One of parameters (value: ) is not of the type Integer" error when submitting a recurring contribution using the Stripe payment  processor.
      
      The Stripe payment processor extension was not handling the case where a user
      submits a recurring contribution without setting the number of installments.
      This commit fixes that and also modifies the code that uses the recurring
      contribution's end date to take ongoing recurring contributions into a
      account.
      7509ced7
  13. Aug 28, 2013
  14. May 07, 2013
  15. Mar 19, 2013
    • Joshua Walker's avatar
      Fix double message when installing the first time. · b6d45c38
      Joshua Walker authored
      Fix 2 instances of #stripe-token under certain circumstances.
      Adapt new BillingBlock.tpl format (used Civi 4.2.8)
      Handle changes in CiviCRM 4.3 that would otherwise break submission.
      Now more properly handle multiple payment options.
      (Stripe, back off they want to send a check!)
      b6d45c38
  16. Mar 18, 2013
  17. Mar 14, 2013
  18. Feb 08, 2013
Loading