Install
Works with Drupal: ^9.4 || ^10 || ^11Using Composer to manage Drupal site dependencies
Alternative installation files
Download tar.gz
84.37 KB
MD5: 89e3f0d52efb6069d449f292265dac89
SHA-1: 95df5c7bedf126a7bdb735a80b9f90ff66281ffa
SHA-256: 4b7f72050e766ef0545995d79700bbc14ed2c356a7d8b5e1bac7062f884d5694
Download zip
174.4 KB
MD5: 102aeba857191cc95c5762a75aafc743
SHA-1: 4e183d7aa5e4bde620941030b51cfad36a950e99
SHA-256: c10fc1aa830ac26a95437385f09124c132d98a8663a61caf18d9aa0f9256c140
Release notes
Changes
- Checkout: only configurable fields, computed fields (e.g.
billing_information,shipping_information,payment_instrument,shipping_method) andcustomer_commentscan be set. Other base fields are rejected with a 403 unless the current value is sent unchanged. - Field edit access is now enforced when setting order fields, the profile fields of
billing_information/shipping_information, and order item meta fields in the cart add resource. payment_instrumentonly accepts the payment methods available for the order (the customer's reusable payment methods, or the order's current one).- Webhook routes require the
administer commerce_orderorupdate {bundle} commerce_orderpermission. - The cart update item resource returns a 422 when the order item doesn't belong to the cart.
Testing
- Tests now run in separate processes (
#[RunTestsInSeparateProcesses]).