Skip to content

1.3.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@tobiasfabian tobiasfabian released this 09 Apr 13:41
2b675c2

Breaking Changes

The option currencySeparateBySpace was misspelled (currencySeperateBySpace) and has now been corrected. If you use this option, make sure to update your option key.

83e3314

New Features

Ability to sent cart information to PayPal

There is a new paypal.purchaseUnits option which in combination with the new $cart->payPalPurchaseUnits method helps to provide PayPal with additional information about the user’s cart.

$cart->payPalPurchaseUnits()

a75688d 8709ce0

Get array of tax rates from ProductLists

If you have products with different tax rates (e.g. 7 % and 19 %) and want to show the sum of tax grouped by the tax rate you can use this method.

$cart->getTaxRates()

6d33668 837298c 8e79481

Added two new options to format price

These two new options overwrite the formatting from localeconv() (decimal_point, thousands_sep). If the option is not set the price is formatted by your locale settings.

eb4976e

Added support for composer

Merx is now on Packagist. You can now install this plugin with composer require wagnerwagner/merx.

d1c7a34

Improvements

  • Improved productList 086d59c
  • Empty cart on $cart->delete() 599e414
  • Fixed formatePrice() shortcut. Thanks to @distantnative 4c77242
  • Improved Cart::remove() 46bb6a1
  • Exceptions for missing PayPal Keys 156d9ac
  • Improved section/order blueprint 6fc3218
  • Improved Cart::getStripePaymentIntent. Get Stripe’s PaymentIntent only for carts with positive sum 0c79dd3
  • Fixed numbers for non English websites 0218a16
  • Disallowed duplicate for orders and order blueprints e160514
  • Changed German error.merx.paymentCanceled bfb9ec9
  • Fix: Save cart on Cart::__construct() e304664
  • No longer check product page for intendedTemplate. Check if price field exists instead 14070ab
  • Unified ProductList::__set() f022edb

Updates

  • Updated paypal/paypal-checkout-sdk 859a351