-
Notifications
You must be signed in to change notification settings - Fork 219
Conversation
The release ZIP for this PR is accessible via:
Script Dependencies ReportThere is no changed script dependency between this branch and trunk. This comment was automatically generated by the TypeScript Errors Report
🎉 🎉 This PR does not introduce new TS errors. |
Size Change: +12 B (0%) Total Size: 1.07 MB
ℹ️ View Unchanged
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@opr code checks out and aligns with what we had previously. I have not tested with a real Stripe account—Ill trust you there as I don't have keys any more :p
We should include a dev note.
The failing test is related to
I don't think it is caused by this PR. Thanks for the review Mike. |
* Empty commit for release pull request * Update version numbers to 9.8.3 * Add 9.8.3 changelog * Fix save changes bug in Firefox browser (#8754) * Fix border styles not visible in the editor in Featured Product and Featured Category blocks in core (#8838) * Check for address on shippingData (#8878) * Add 9.8.3 testing steps --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com> Co-authored-by: Saad Tarhi <saad.trh@gmail.com> Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com>
* Empty commit for release pull request * Add WC Blocks 9.9.0 changelog * Update supported versions for WC Blocks 9.9.0 * Update versions for WC Blocks 9.9.0 * Add testing notes for 9.90 release * Update testing instructions Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> * Remove active the latest trunk part from the testing instructions Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> * Add instructions to activate WP release candidates - Add the editor type for each reference. - Add instructions to activate WP release candidate * Fix readme file reference * Fix unlinked border widths in WP 6.2 (#8893) * Check for address on shippingData (#8878) * Make a Single Product conversion enabled in Core, but keep the Product Archive behind experimental flag (#8907) * Remove `isExperimentalBuild` Checks in Classic Template Block (#8902) * Remove isExperimentalBuild checks. By removing the `isExperimentalBuild` conditional checks in the Classic Template block, we can ensure the features added in #8324 will land in WooCommerce Core and are not limited to the feature plugin. See p1680000654295729-slack-C02UBB1EPEF for additional context. * Revert isExperimentalBuild removal on registration The conditional `isExperimentalBuild` conditional check that was wrapping some conditional registration of the classic template block seems to be unrelated to the template conversion/migration. This is something we can revisit and test separately but should not be included in this changeset. * Update changelog and testing instructions to include cherry-picked PRs * Update release zip * Update readme to be in correct order --------- Co-authored-by: github-actions <github-actions@github.com> Co-authored-by: Tarun Vijwani <tarun.vijwani@automattic.com> Co-authored-by: Thomas Roberts <5656702+opr@users.noreply.github.com> Co-authored-by: Albert Juhé Lluveras <contact@albertjuhe.com> Co-authored-by: kmanijak <karol.manijak@automattic.com> Co-authored-by: Daniel W. Robert <danielwrobert@users.noreply.github.com> Co-authored-by: Thomas Roberts <thomas.roberts@automattic.com>
This PR fixes an issue where observers returning
address
in theshippingData
object would not get the address applied to the order.In #8163 we added checks to see if
shippingData
was used, rather thanshippingAddress
, and if so we would extract the address from there and use that, however we did not correctly identify that the address was stored in a property onshippingData
.Fixes #8785
Testing
Automated Tests
UserInternal TestingshippingData
with an address property, like so:Set by Stripe plugin
.WooCommerce Visibility
Dev note
In Check for address on shippingData (#8878) we fixed a regression with our payment processing observers. Previously, payment processing observers that returned a
shippingData
object with anaddress
property would overwrite the customer's shipping address with the supplied address, however in #8163 this was inadvertently removed.This has now been changed so that these extensions work as they did (but passing the address via
shippingData.address
is still deprecated, and the preferred method is to pass it viashippingAddress
which should be a flat address object).To migrate away from the deprecated
shippingData
property to using the newshippingAddress
property, you will need to update your observer's return value. The address, previously stored the inshippingData.address
should be moved intoshippingAddress
which will be a flat object containing only the address data.Old observer response value
New observer response value - note the
shippingAddress
value is a flat objectChangelog