woocommerce / woocommerce-square

Square POS and Payments Integration
https://woo.com/products/square
Other
11 stars 7 forks source link

Replace the use of deprecated hook `wcs_renewal_order_meta` with `wc_subscriptions_renewal_order_data` #186

Closed iamdharmesh closed 3 months ago

iamdharmesh commented 4 months ago

All Submissions:


Changes proposed in this Pull Request:

PR makes a minor change to replace the deprecated hook wcs_renewal_order_meta with wc_subscriptions_renewal_order_data

Closes #179

Steps to test the changes in this Pull Request:

Detailed steps are given in the issue #179 description, Please verify that no deprecated notice is there in the error logs.

Changelog entry

Dev - Replace the use of deprecated hook wcs_renewal_order_meta with wc_subscriptions_renewal_order_data.

qasumitbagthariya commented 3 months ago

QA Update ✅


I have verified this PR in the fix/179 branch has been fixed and is functioning as intended.

I tested the following on this branch:

Testing Environment

- WordPress: 6.6.1 - Theme: Storefront 4.6.0 - Theme: Twenty Twenty-Four 1.2 - WooCommerce - 9.1.4 - PHP: 8.0.30 - Web Server: Nginx 1.20.2 - Browser: Chrome - OS: macOS Ventura 13.3 - Branch: `fix/179`

Steps to Test- As mentioned in the PR description. Test Results - It is working as expected. Functional Demo / Screencast - Special Notes - Ready for code review (Woo) Testing Document status: Cases related to this Issue/PR are added to the Critical Flow Wiki pages:

vikrampm1 commented 3 months ago

@Mayisha this PR is ready for your review!

qasumitbagthariya commented 3 months ago

Regression / Smoke Test Report ✅

Tested with Archive File created via "php woorelease.phar build repo_URL" (Composer version 2.5.5, npm version 8.19.4, node version 16.20.0)

Status- Working expected with Plugin Archive/Zip file same as fix specific branch.

Testing Environment

- WordPress: 6.6.1 - Theme: Twenty Twenty-Four 1.2 - WooCommerce - 9.1.4 - WooCommerce Subscription - 6.5.0 - PHP: 8.0.30 - Web Server: Nginx 1.20.2 - Browser: Chrome - OS: macOS Ventura 13.3 - Branch: smoke-testing

Next Step- Ready to Merge 🚀