Skip to content

Releases: zf-fr/zfr-cash

v1.2.3

28 Mar 19:46
v1.2.3
Compare
Choose a tag to compare
  • Fix a bug where discount webhook were not correctly handled, which resulted in updates not being updated
  • Fix a bug where subscription webhook were not correctly handled, which resulted in updates not being updated

v1.2.2

02 Mar 11:39
v1.2.2
Compare
Choose a tag to compare
  • Fix logic for the isExpired method on card entity

v1.2.1

24 Feb 16:58
v1.2.1
Compare
Choose a tag to compare
  • Fix a bug when using the method getOneByCustomer on card service

v1.2.0

24 Feb 15:12
v1.2.0
Compare
Choose a tag to compare
  • Update mapping so that when fetching a subscription, plan and (eventual) discount are loaded eagerly instead of being lazy-loaded. The reason is that most of the time, the subscription is fetched in order to be shown with all the information linked to it.

v1.1.1

19 Feb 21:20
v1.1.1
Compare
Choose a tag to compare
  • Revert uppercase for country code

v1.1.0

19 Feb 21:10
v1.1.0
Compare
Choose a tag to compare

Add compatibility with the new 2015-02-18 Stripe API version. This change removes the "card" concept in favour of a more abstract "source" concept. ZfrCash will automatically use the right calls based on your set API version.

This adds a BC if you are using this new version (2015-02-18 or newer), as you need to replace the card occurrence to source. For instance, to create a customer with a card, instead of:

$user = $this->customerService->create($user, [
    'card' => $cardToken,
]);

use:

$user = $this->customerService->create($user, [
    'source' => $cardToken,
]);

v1.0.0

18 Feb 20:50
v1.0.0
Compare
Choose a tag to compare
  • First official release

v1.0.0-beta.4

28 Jan 20:05
v1.0.0-beta.4
Compare
Choose a tag to compare
v1.0.0-beta.4 Pre-release
Pre-release
  • Updated the CustomerTrait to allow null values for Stripe ID. This is useful if you are using a unique user table to hold the Stripe ID, but not all users have a Stripe ID

v1.0.0-beta.3

27 Jan 12:45
v1.0.0-beta.3
Compare
Choose a tag to compare
v1.0.0-beta.3 Pre-release
Pre-release
  • Fix mapping

v1.0.0-beta.2

27 Jan 11:26
v1.0.0-beta.2
Compare
Choose a tag to compare
v1.0.0-beta.2 Pre-release
Pre-release
  • Add a validator for VIES european codes