Skip to content

Releases: wagnerwagner/merx

1.4.0

08 Jul 14:55
Compare
Choose a tag to compare

New Features

Store additional page fields in the cart item with cart.fields option.

If additional fields of your product page (e.g. a sku field) should be stored in the item of the ProductList or Cart, you can use the new cart.fields option.

6373088 39bf138

Improvements

Fixes

  • Round amounts for Stripe PaymentIntents, Sources and Charges 6e0d833
  • Updated hooks to be compatible with Kirby 3.4 (special thanks to @bezin and sebastiangreger) 620ea59 8d64d9f
  • Provide $ordersPage->createChild() with corrected props (compatibility with Kirby 3.4) 8d4311d

1.4.0-beta.1

08 Jul 13:25
7a52a16
Compare
Choose a tag to compare
1.4.0-beta.1 Pre-release
Pre-release

New Features

Store additional page fields in the cart item with cart.fields option.

If additional fields of your product page (e.g. a sku field) should be stored in the item of the ProductList or Cart, you can use the new cart.fields option.

6373088 39bf138

Improvements

Fixes

1.3.0

09 Apr 15:04
Compare
Choose a tag to compare

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
  • Fix: productList::__set() 7041a1b

Updates

  • Updated paypal/paypal-checkout-sdk 859a351

1.3.0-beta.2

09 Apr 13:41
2b675c2
Compare
Choose a tag to compare
1.3.0-beta.2 Pre-release
Pre-release

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

1.3.0-beta

09 Apr 11:18
Compare
Choose a tag to compare
1.3.0-beta Pre-release
Pre-release

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

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

Updates

  • Updated paypal/paypal-checkout-sdk 859a351

1.2.3

29 Jan 13:29
Compare
Choose a tag to compare

Enhanced formatPrice helper method.

Thank you @guidoferreyra for your suggestions (#2).

1.2.2

29 Jan 12:16
Compare
Choose a tag to compare

Added site title as description for PayPal Payments

1.2.1

12 Nov 10:33
Compare
Choose a tag to compare

Added helper method to calculate net price.

1.2.0

23 Oct 14:01
Compare
Choose a tag to compare

This release integrates Stripe Payment Intents to help you to create SCA-compliant checkouts.

Read the cookbook Checkout with Stripe’s Payment Intents to learn how to create a SCA-compliant checkout experience.

1.1.0

26 Jun 09:14
b4ae36f
Compare
Choose a tag to compare

Added cart hook to allow Shipping Costs and Discounts.