Volver a Withdrawv1.13.0 (37 versiones)

Changelog Withdraw

Changelog del plugin de WooCommerce Withdraw (disponible): actualizaciones, correcciones y desarrollo de funciones.

v1.13.0
  • New: the shop can mark a pending request as cancelled by the customer, for a cancellation that arrived by post or phone ("Customer cancelled (by post or phone)" in the request log, after a confirmation). It fires `withdraw/cancelled` like the customer's own cancel, with a third argument `'shop'`, adds an order note and sends no email: no customer message answers a cancellation, and the shop notice is skipped because the shop made the change.
  • New: the one-time order link (emailed to guests) now lists every withdrawal request already made on that order, each linked to its status page, so a guest without the acknowledgement email can follow or cancel a request. Shown with the form, or with the reason when every item is already declared. Not on the order number plus email lookup.
  • New: the `withdraw/request_view` action under a request on its status page and on the confirmation screen, fired only after the viewer was authorised for that request, so an add-on can add a section there.
v1.12.0
  • New: a Withdrawals tab in My Account, placed after Orders, lists the signed-in customer's withdrawal requests with date, order, items and status, and links to a new withdrawal while part of the order can still be withdrawn from. Rows are scoped to the customer's own orders, never matched by email.
  • New: a "Withdrawal link" block (`plogins-withdraw/button`) for posts, pages and block theme footers, rendered on the server from the existing form page and link text settings.
  • New: a status page per request, reached from the Withdrawals tab (signed in, own orders only) or from a keyed link in the acknowledgement email (guests), with the declared items, the steps, the date received and the date of the last change.
  • New: customers can cancel a request while it is still pending. Two steps, no script needed; a request the shop has already decided on cannot be cancelled. New status "Cancelled" in the request log and filter (only the customer can set it, and the shop cannot change it afterwards), a new "Withdrawal cancelled by the customer" email to the shop, and the `withdraw/cancelled` action. A cancelled request no longer counts against the order, so the goods can be declared again.
  • New: the acknowledgement as a PDF, downloadable from the status page and the confirmation screen and attached to the acknowledgement email. Generated in memory with a bundled DejaVu Sans subset; the email copy is written to the WordPress temp directory (`get_temp_dir()`) and deleted after sending.
v1.11.0
  • New: with "Accept declarations that match no order" on, the customer now gets an acknowledgement email too (Directive 2011/83/EU Annex I(A), completion instruction 3). Because the address is unverified, it states only that a declaration arrived, when, and its receipt code, without the order number, goods or reason they typed.
v1.10.1
  • Fixed: the "withdrawal accepted" email no longer asks the customer to send goods back, or prints the return address and return cost, when every withdrawn line is a virtual product. A deleted product still counts as goods.
v1.10.0
  • New: a "Your contracts are for" setting (goods, services, digital content). For services and digital content the generated model instructions count the period from the conclusion of the contract and leave out the paragraphs about sending goods back (Directive 2011/83/EU Annex I(A), completion instructions 1(a), 4 and 5). Services also get the paragraph on paying for what was provided (instruction 6) and the service wording of the model form (Annex I(B)). Goods, the default, is unchanged.
v1.9.0
  • Changed: an order of only virtual products (services, digital content) counts its withdrawal period from the order date, the day the contract is concluded (Directive 2011/83/EU Art. 9(2)(a) and (c)), instead of from completion. Orders with any physical product still count from delivery.
v1.8.2
  • Security (low): the default recipient address in the New request email settings is escaped for HTML text instead of an attribute.
v1.8.1
  • New: SHA-256 receipt verification hash (Directive 2011/83/EU Art. 11a(4)) shown on the confirmation screen, included in the customer acknowledgement email, and displayed in the admin detail view.
  • New: CSV export of the withdrawal requests log with status/date filters and CSV formula injection protection.
  • New: WooCommerce Orders list column displaying the withdrawal request status with a direct link to the request log and a late submission warning indicator.
v1.8.0
  • New: the withdrawal deadline is counted under Regulation 1182/71 Art. 3: the start day is not counted, the period ends at midnight of its last day, and a last day on a Saturday or Sunday moves to the following Monday. Deadlines only get longer, never shorter.
  • New: `withdraw/delivery_date` filter for a real delivery date, a grace days setting, and an advisory mode that accepts a late declaration and flags it in the log and the order note.
  • New: after a partial withdrawal the rest of the order stays withdrawable. Quantities already covered by a pending, accepted or processed declaration are no longer offered; a rejected one frees its quantities.
  • New: per-product and per-category marking for Art. 16(c), (d) and (e), with a notice on the product page.
  • New: the Art. 16 mark is saved on each order line at checkout, so changing a product or category later does not change the right of withdrawal for orders already placed.
  • New: optional recording of declarations that match no order, for the shop to match by hand.
v1.7.5
  • Fixed: deleting the plugin on a multisite network now removes its requests table, settings and access-link data from every site, not only the main one.
v1.7.4
  • Security (low): with emailed links off, the order number and email lookup on the withdrawal form is limited to 15 attempts per address and 30 per visitor each hour.
v1.7.3
  • The Redono line under Ecosystem integrations links to the plugin search on the Add Plugins screen when Redono is not installed.
v1.7.2
  • Changed: the settings screen names the Redono returns plugin correctly and no longer credits its free version with store credit, which is a Redono PRO feature.
v1.7.1
  • Changed: the plugin is now called Plogins Withdraw - Right of Withdrawal Button for WooCommerce, so shops searching for a withdrawal button find it. Nothing else changes: same slug, settings and data.
v1.7.0
  • New: a fresh install creates a draft "Withdrawal" page holding the form, selects it as the form page and turns the footer link on. The page is not published; an admin notice links to it until it is. Existing installs are not touched.
  • New: the withdrawal action on the My Account orders list, shown only while the order is within the withdrawal period.
  • New: the withdrawal link in the customer processing and completed order emails, HTML and plain text, while the order is within the withdrawal period and a form page is published.
  • Changed: the order-view button now also disappears once the withdrawal period has ended, and no longer shows on the order-received page.
  • Changed: no withdrawal link is printed while the form page is not published, because its address leads customers nowhere.
v1.6.6
  • Fixed: an order number that is not a plain number, such as "INV-1001" from a renumbering plugin, was turned into 0 before the lookup ran, so the form and the emailed-link step refused it and the `withdraw/resolve_order_number` filter never saw it. The number is now read as typed.
  • Fixed: the privacy eraser cleared the email and reason columns but left the customer's name and email inside the stored declaration text, while reporting the email as cleared. It now removes both from the declaration too and clears the name. The exporter now includes the name and the declaration.
  • Fixed: uninstalling left three kinds of option behind: the schema revision, the text sweep flag and the per-email WooCommerce settings. All are removed now.
v1.6.5
  • Hardening: the item quantities posted by the withdrawal form are now sanitised as integers at the moment they are read, instead of being read raw and cast later.
v1.6.4
  • Display name drops the "Plogins " prefix. The slug, the text domain and every option key are unchanged, so nothing on an existing install moves.
v1.6.3
  • Fixed: arrow glyphs in the admin menu paths, and in the strings handed to translators. An arrow inside a translatable string makes the glyph every translator's problem and changes the layout in any locale that drops it.
v1.6.2
  • Fixed: the **Link text** setting did not reach the button on the My Account order view. That button printed the statutory English sentence directly, so a shop that reworded the link saw its own wording on the shortcode and the footer link and the untouched default on the order. All three now resolve the label the same way.
v1.6.1
  • Renamed to "Plogins Withdraw - Right of Withdrawal Button for WooCommerce". The old name led on the word "button", which four other withdrawal plugins in the directory also use, and it undersold a plugin that carries the form, the request log, seven emails and the Annex I texts. The slug, the text domain and every setting are unchanged; nothing needs reconfiguring.
v1.6.0
  • Fixed: the form intro and the model withdrawal text shipped as English sentences in a config file and were printed to the customer word for word. A config default cannot be translated, so every non-English shop showed its customers English until an admin noticed and rewrote it by hand. Both are now generated and translatable.
  • New: the model withdrawal form (Annex I.B) is built from your own details, the seller name, the WooCommerce store address, the email and the phone, in the language of the site. Leave the setting empty to use it; anything you type still wins.
  • New: seller name, email and phone settings for those texts. Empty falls back to the site title and the admin email, so the form always names somebody. The screen warns when the WooCommerce store address is empty, because without it there is no geographical address to state.
  • New: a `[withdraw_instructions]` shortcode rendering the model instructions on withdrawal (Annex I.A) for your terms or returns page, generated from the same details and from your withdrawal period, so it cannot drift out of step with what the form enforces. Attributes `heading="no"` and `form="no"` trim it. The `withdraw/model_instructions` filter is there for the service-contract and digital-content paragraphs a particular catalogue needs.
  • The return-cost sentence appears in those instructions only once you have set the rule. It is the very notice Article 6(1)(i) requires before the contract, so generating it by default would create the notice a shop then relies on.
  • On update, an intro or model text left exactly as it shipped is cleared so the generated wording takes over. Anything you edited, including a hand translation, is matched exactly and kept.
v1.5.0
  • Fixed: the request log stopped at the newest 100 rows with no way past them, so on a busy shop older declarations were unreachable from wp-admin. It now pages 25 at a time, and a bookmarked page that no longer exists lands on the last one instead of an empty table.
  • Fixed: the log accepted a search argument that nothing ever passed to it. There is now a search box, matching on customer email or order number, and it works together with the status filter.
  • New: a detail screen per request, reached from the ID column. It shows what the list could not: the reason the customer gave, the declaration they confirmed, both timestamps and your own refund deadline. The access token stays off the page, because it is a credential rather than a record.
  • New: a note field next to the status control, and a rejection now requires one. "Your withdrawal request could not be accepted" with no reason gives the customer nothing to act on and leaves you no record of why you refused. The note is printed in the email, for every status, so it also works as "your parcel arrived, the refund goes out on Tuesday".
  • Fixed: re-saving a status without retyping the note no longer wipes it, and editing the note alone no longer sends the customer a second identical message.
  • The status counts on the filter links are now real numbers rather than plain labels.
v1.4.0
  • New: every message the plugin sends is now a WooCommerce email. They use your store template, logo and footer, and each one has its own entry under WooCommerce, Settings, Emails where it can be reworded, restyled or switched off on its own. Seven of them: the declaration acknowledgement, the shop notification, one per request status, and the guest access link.
  • New: the shop notification keeps its own recipient field. Left empty it uses the notification address already set under WooCommerce, Withdrawal, so nothing moves for a shop that never opens the emails screen.
  • New: the acknowledgement stores the declaration as the customer confirmed it and repeats back those exact words, rather than rebuilding the sentence when the mail is sent. A later translation, a renamed product or a reworded template can no longer change what a past customer is told they declared.
  • New: the acceptance message carries the Article 14(1) information. Where to send the goods back, taken from a new return address field or from your WooCommerce store address, the deadline counted from the day the customer declared rather than from the day you accepted, and who bears the direct cost of the return.
  • New: a setting for who pays to send the goods back. It says nothing until you choose, because Article 14(1) only lets you charge the customer if you told them so before the sale, and a default that assumed otherwise would have the plugin make a claim on your behalf that may not hold.
  • New: the request log shows your own Article 13(1) deadline, 14 days from the day the customer told you they were withdrawing, and marks it in red once it has passed. It counts from the declaration, not from your acceptance, which is the clock the law actually puts you on.
  • Changed: the acceptance message no longer says the 14 days run from that message. They run from the declaration, so a shop that took a week to accept was quietly giving the customer a week too long.
v1.3.0
  • Fixed: saving a request's status twice sent the customer a second identical email, and a status outside the allowed list still mailed them the generic "being reviewed" message for a write the database had refused. Both introduced with the status emails in 1.0.8.
  • New: Article 16(m) consent for digital content, off by default. When switched on, a cart holding a downloadable product gets one optional, unticked checkbox at checkout carrying both halves of the statement: the request to begin supply immediately and the acknowledgement that the right of withdrawal is lost once supply has begun. It renders on the classic checkout and on the block checkout, and the block version hides itself on carts with no downloadable item.
  • New: the consent is recorded on the order with the moment it was given, the exact wording shown at the time, and the products that were downloadable when the order was placed, so editing the wording later cannot rewrite what an earlier customer agreed to. Nothing is written unless the order really holds a downloadable item, whatever the checkout posted.
  • New: the consent is confirmed back to the customer on the order screen and in the order email. Article 16(m) only excludes the right if the trader also gave that confirmation, so it is part of the feature rather than an option.
  • New: an order screen panel showing whether consent was given, declined or never offered, in which words, and whether each covered product has actually been downloaded, which is what decides whether the exclusion applies at all.
  • New: once supply has begun for a consented item, that item is dropped from the withdrawal form and refused on the server, not merely hidden. If every item in the order is covered, the order is refused with its own reason. WooCommerce cannot see downloads it did not serve, so files delivered by email or an external portal always read as not begun and stay withdrawable; the `withdraw/digital_supply_begun` filter is there for those shops.
  • New: an optional emailed one-time link for guest access, off by default. Turned on, the lookup step mails a single-use token to the billing address on the order rather than opening the form, answers identically whether the order exists or not, and rate limits requests per address and per IP. Only the hash of a token is stored, tokens expire after an hour, and one is spent when a declaration is actually submitted. Leave it off and the form behaves exactly as it did.
  • New: on the keyed flow the form no longer emits an order or address field the customer could edit, so whoever holds a link cannot redirect the acknowledgement email somewhere else, and a link stops working if the shop changes the order's billing address after sending it.
  • Fixed: the panel shown after requesting a link printed a nonce that nothing ever verified, on a button that did not send a second link. The nonce is gone and the button says what it does.
  • Fixed: the rate limiter restarted its window on every attempt, so it never drained while attempts kept coming. Anyone who knew a customer's billing address could have kept that address over the cap indefinitely, silently, because the flow answers the same either way. The window is now fixed.
v1.2.0
  • Fixed: the form asked for the order number and then looked the order up by its database id. On a stock WooCommerce install those are the same value, so nothing looked wrong, but any plugin that renumbers orders breaks the pair: the shop printed a number in its own emails that its own withdrawal form then rejected. The lookup now resolves the displayed number, falling back to the id, with a `withdraw/resolve_order_number` filter for other numbering schemes.
  • Fixed: the status email addressed the order by its database id rather than the number the customer sees, for the same reason.
  • New: withdrawals are written into the order's own notes, both when the declaration arrives and when its status changes. The request log is a separate screen nobody has open; whoever opens the order next now sees what happened without knowing this plugin exists.
v1.1.0
  • New: a separate confirmation step. Choosing items and declaring withdrawal used to be one click. Article 11a(3) requires a confirmation control carrying no wording other than "confirm withdrawal", which only means something if the customer can read the declaration first, so the declaration is now shown back in full on a step of its own before anything is stored.
  • New: the declaration carries the customer's name, the contract it refers to and their electronic contact details, which is what Article 11a(2) asks a withdrawal statement to contain. The name is prefilled from the order and stored with the request.
  • New: the acknowledgement email is now a durable record under Article 11a(4). It repeats the declaration in full and states the date and time it was submitted, instead of only saying the request arrived.
  • New: `[withdraw_link]` shortcode and an optional footer link. Article 11a(1) requires the function to be easily accessible for the whole withdrawal period, and the My Account control only reaches a signed-in customer already looking at that order, so a guest had no way in.
  • Changed: the control now reads "Withdraw from contract here", the wording Article 11a(1) prescribes, instead of "Withdraw from this order".
v1.0.8
  • Fixed: a withdrawal could be recorded without the customer ever ticking the declaration. The checkbox carried only the browser's `required` attribute and the server never looked at it, so a request posted without it was stored as a valid declaration. That record is the whole point of the plugin, so it is now refused server-side and nothing is written.
  • Fixed: the order link in the request log used the classic post editor URL, which does not open an order once HPOS is on, while the plugin declares HPOS compatibility. It now picks the right URL for whichever order storage the shop uses.
  • Fixed: the confirmation sent to the customer ended with "We will confirm the next steps by email" and no code ever sent that email. Changing a request's status now writes to the customer, and the accepted message carries the 14-day return deadline and the refund method, which is information the trader owes anyway.
v1.0.7
  • Renamed to Plogins Withdraw so the name leads with the brand rather than a generic word, as the plugin review asked.
  • Removed the "Tested up to" header from the main PHP file. It belongs in readme.txt only, where it is already declared; in both places the header can override the readme and show a compatibility version that was never intended.
v1.0.6
  • Translations: refreshed the bundled `plogins-withdraw.pot`, which had fallen behind the code. It was missing five strings from the withdrawal declarations admin screen and the privacy eraser, and still carried the plugin's pre-rename name. That template is what translators work from.
  • Translations: corrected the Spanish catalogue, which called the right of withdrawal "retiro" throughout. Spanish consumer law calls it *desistimiento*, and the plugin's own description already used that term while its interface did not.
v1.0.5
  • Tested against WordPress 7.1. Verified by activating this build on a clean 7.1 install with WooCommerce 11.1, not by editing the header.
v1.0.4
  • New: withdrawal declarations are now covered by the WordPress personal-data tools. A privacy export includes a shopper's declarations, and an erasure request removes them, so a subject access or deletion request can be answered from the standard screen instead of by hand.
  • Declared compatibility with WooCommerce 10.9.
  • Copy: replaced long dashes with plain punctuation across the interface.
  • Housekeeping: the release package no longer carries the translation catalogues, which come from the WordPress.org language packs.
v1.0.3
  • Corrected the German and Polish translations: "withdrawal" was rendered as "Auszahlung" (payout) in German and "wypłata" (payout) in Polish; both now use the correct right-of-withdrawal terms (Widerruf / odstąpienie od umowy). Also fixed a German grammar slip and standardised the Polish wording.
v1.0.2
  • Added bundled Polish, German and Spanish translations for the plugin interface.
v1.0.1
  • First stable release.
v0.1.1
  • Plugin Check: escaping/sanitisation/i18n/hygiene fixes (table-name identifiers now passed via %i placeholders in prepared statements).
v0.1.0
  • Initial release: `[withdraw_form]` shortcode (order lookup + full/partial item selection), My Account withdrawal button, configurable withdrawal period and eligible statuses, admin request log with statuses, customer and shop emails, editable model withdrawal text. HPOS + Blocks compatible.