You're viewing the documentation of an older Simple Commerce version. Consider upgrading to the latest for new features and bug fixes.

Changelog

v2.2.21

Released on 20th April 2021

  • Fix Don't fail if user's cart has been deleted. Create a new one instead. #416

v2.2.20

Released on 16th April 2021

  • Fix Fixed exception when running Refund action on Order entry.
  • Fix Tidied up the orders CP listing for new sites.

v2.2.19

Released on 2nd April 2021

  • Fix Fix issues with coupon calculations #405

v2.2.18

Released on 30th March 2021

  • Fix Fixed issue where shipping & billing addresses would not be output on PDF Receipts #404

v2.2.17

Released on 29th March 2021

  • New Statamic 3.1 support
  • New Product Specific Coupons #390
  • New Added docblocks to Facades #400
  • New Added country validation when submitting addresses #398 #402
  • Fix Allow for calculator to be run with any Order class

v2.2.16

Released on 13th March 2021

  • Fix Fixed issue with GatewayDoesNotExist exception
  • Fix Ensure we don't have two slashes in Gateway Webhook URL #387
  • Fix Order Confirmation emails will now be sent for off-site gateways #395

v2.2.15

Released on 10th March 2021

  • New Ability to bind your own Calculator class
  • Fix Fixed bug where items_total would be a string when using coupons.
  • Refactored the Calculator

v2.2.14

Released on 8th March 2021

  • New A new ReceiveGatewayWebhook event is dispatched when a gateway webhook is received.
  • New You can now specify a different redirect URL for errors. - error_redirect.
  • Fix Improved handling of Mollie webhooks, we now detect if an order has been paid and redirect correctly. #384
  • Fix Fixed issue where cookie cart driver wasn't forgetting cart after checkout #383
  • Fix An exception will be thrown when a gateway errors, instead of a die dump.
  • Fix Fixed webhook and callback URLs sometimes not being formed correctly.
  • Fix Fixed an occasionaly exception with the Cookie Driver.
  • Deprecated 'order item' methods, and replaced them with 'line item' methods.

v2.2.13

Released on 4th March 2021

  • New Added Ignition Solutions to some exceptions to help with debugging.
  • Fix Fixed the ability to update an existing cart item with a negative quantity #375
  • Fix Fixed an incorrect method signature in the shipping method stub #380
  • Tidied up the README (but it's not really code related)

v2.2.12

Released on 22nd February 2021

  • New Orders will now be added to Customer entries, so there's now a two-way relationship #369
  • New You can also now use {{ sc:customer:orders }} with Orders on the Customer entries, using the from parameter.
  • Fix Fixed issue where email's would not be sent if email was set but no customer on order. #372

v2.2.11

Released on 19th February 2021

  • New Added some helper methods to the Address object.
  • Added tests to the Order Calculator (not sure how we got this far without them)
  • And some general cleanup 🧹

v2.2.10

Released on 19th February 2021

  • Fix Tax amounts should no longer be off. Was previously using the wrong formula.

v2.2.9

Released on 18th February 2021

  • Cookie Driver is now the default for new installs.
  • Fix Fixed Call to undefined method make() when using cookie cart driver. #365

v2.2.8

Released on 16th February 2021

  • Fix Validate against the possibility of having negative line item quantities. #354
  • Fix Fixed bug with @{{ sc:cart:{key} }} usage.
  • Fix Fixed bug when Order calculator is called on paid order.

v2.2.7

Released on 12th February 2021

  • Fix Fixed issue when adding more than a single item to your cart #353
  • Fix When gateway's response isn't success, throw validation errors #352

v2.2.6

Released on 10th February 2021

  • New Allow adding product to cart multiple times and up the quantity. #351
  • Fix Now throws EntryNotFound exception when no entry can be found, instead of OrderNotFound. #349

v2.2.5

Released on 9th February 2021

  • Fix Fixed accidental bug introduced with cart driver fix in v2.2.4.

v2.2.4

Released on 9th February 2021

  • Fix Don't throw an exception on cart endpoint if no cart exists
  • Fix Don't attempt to augment variant fieldtype if value is null
  • Fix When customer's active cart is deleted, a new one will be created, instead of throwing an exception. #348

v2.2.3

Released on 6th February 2021

  • New Added a command to automatically remove old cart entries. php please sc:cart-cleanup
  • Fix Coupon total should be calculated from items total, not the grand total.
  • Fix If grand total of cart is 0, then don't do any gateway work
  • Fix Strip out any decimals from product prices when added to cart
  • Fix On the variant fieldtype: if there is no value, display an error message instead of spinner.

v2.2.2

Released on 2nd February 2021

  • Fixed bug when removing an item from your cart #346

v2.2.1

Released on 31st January 2021

It didn't take me very long to find a bunch of bugs...

  • Fixed exception within upgrade tool when stillat/proteus isn't installed
  • Upgrader will no longer continue if stillat/proteus isn't installed
  • Stripe Gateway should pull key & secret from gateway config, not hard coded .env values
  • When processing checkout, don't attempt to save data if we don't have any.

v2.2.0

Released on 31st January 2021

Before upgrading, please review the upgrade guide in case there's any changes you need to make.

What's new

What's fixed

  • Various bugs