Releases: wagnerwagner/merx
1.4.0
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.
Improvements
- Improved $cart->payPalPurchaseUnits() f7e8e82
Fixes
1.4.0-beta.1
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.
Improvements
- Improved $cart->payPalPurchaseUnits() f7e8e82
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
1.3.0
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.
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.
Get array of tax rates from ProductList
s
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.
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.
Added support for composer
Merx is now on Packagist. You can now install this plugin with composer require wagnerwagner/merx
.
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
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.
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.
Get array of tax rates from ProductList
s
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.
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.
Added support for composer
Merx is now on Packagist. You can now install this plugin with composer require wagnerwagner/merx
.
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
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.
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.
Get array of tax rates from ProductList
s
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.
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.
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
Enhanced formatPrice
helper method.
Thank you @guidoferreyra for your suggestions (#2).
1.2.2
Added site title as description for PayPal Payments
1.2.1
Added helper method to calculate net price.
1.2.0
This release integrates Stripe Payment Intents to help you to create SCA-compliant checkouts.
- Added
credit-card-sca
payment method - Added
getStripePaymentIntent
method toCart
class
Read the cookbook Checkout with Stripe’s Payment Intents to learn how to create a SCA-compliant checkout experience.
1.1.0
Added cart
hook to allow Shipping Costs and Discounts.