↺regreen.Free download

R2R WITHDRAWAL · JOOMLA + HIKASHOP

R2R Withdrawal documentation

Installation, configuration and daily case handling. This guide describes the 1.14.8 package.

What R2R Withdrawal does

R2R Withdrawal handles withdrawal declarations for HikaShop orders and their administration. Customers identify an order, select the products and quantities, review their declaration and confirm submission. Each withdrawal becomes a separate case in the Joomla administrator area.

The package installs a component, a shared library, two plugins and an administrator module. It needs no Joomla or HikaShop core-file changes. It does not transfer refunds or change the HikaShop order status.

Installation and first run

  1. Back up your site and start in a test environment. See the compatibility table for the combinations already tested. PHP 8.1 or later is required.
  2. In Joomla, open System → Install → Extensions and upload the complete pkg_r2r_withdrawal-…zip package. Do not install its inner ZIP files separately.
  3. Under System → Plugins, enable System – R2R Withdrawal and Ajax – R2R Withdrawal.
  4. Set your shop name and notification email addresses in the system plugin. Separate multiple addresses with commas, semicolons or line breaks.
  5. Create a published, publicly accessible menu item of the Withdrawal declaration (wizard) type. An alias such as withdrawal gives it a permanent address.
  6. Open the component’s Help and checks page, run the checks, then submit a test withdrawal as both a guest and a registered customer.

Make the link easy to find. If HikaShop’s built-in withdrawal workflow is also enabled, check for duplicate entry points. R2R keeps its own cases; it does not share the native feature’s case list.

System plugin settings

Shop-specific settings are in the System – R2R Withdrawal plugin. Check the customer-facing result after saving.

SettingPurpose
Shop name and administrator emailsThe name used in notifications and the recipients of new-withdrawal notifications.
Customer interface coloursSeparate accent, body text, text-on-accent and link colours. Choose combinations that remain legible in every state.
Withdrawal period in daysThe default is 14. In version 1.14.8 the eligibility check does not receive the actual delivery date. This setting therefore does not provide automatic expiry blocking based on receipt of the goods. The administrator must check the deadline.
Withdrawal reference formatFor example EL-{YYYY}-{NNNNNN}. {YYYY} is the four-digit year, {YY} the two-digit year and {MM} the month. The number of N characters is the minimum sequence length. Exactly one sequence marker is required. Existing references stay unchanged; a changed surrounding pattern can start a new sequence.
HikaShop buttonsShow order-card buttons in the header, the Actions menu, or both. Off hides those order-card buttons; the account menu entry remains. Check placement when using a custom HikaShop template.

Guidance for each step

The wizard text tab provides before-and-after fields for order identification, item selection, the summary and confirmation. There are two more for the success page: ten optional text positions in total.

An empty field adds no extra text. Basic HTML such as paragraphs, emphasis, lists and links is supported, with unsafe elements filtered on save. Your own content is shop-specific; the supplied Hungarian and English language files do not automatically translate it.

Email templates and notifications

There are three editable templates: customer receipt, administrator notification and status update. HTML is supported. An empty template field uses the built-in version. Joomla’s mail service must work; check the actual inbox when testing.

TemplateAvailable placeholders
All three templates{withdrawal_number}, {order_id}, {customer_name}, {items}, {submitted_at}, {shop_name}
Additional status-update placeholders{status_label}, {admin_message}, {refund_amount}, {refund_info}

Keep the braces around each placeholder. Keep the items, reference and timestamp in the receipt. Adapt custom text to your shop’s language and customer information.

Privacy and identification limits

IP storage is enabled by default, while browser identifier (User-Agent) storage is disabled. Both can be configured separately. The technical-data retention default is 365 days; 0 disables that automatic removal. Eligible technical data from closed cases is cleaned when the administrator opens the case list, rather than by a scheduled job.

Failed order-identification attempts can be limited by IP and order reference. Defaults are 10 and 5 attempts within 15 minutes. These controls protect order identification in your shop; they are separate from the regreen website download counter.

Your privacy notice should reflect the settings you use. Withdrawal data stays on your shop’s hosting; R2R does not send me your customers’ declarations.

The customer journey

  1. Identify an order. Registered customers choose from their own orders. Guests enter the order reference and the email address used for that order.
  2. Select items and quantities. Full and partial withdrawals are supported. Previously claimed quantities are taken into account; one order can have multiple declarations.
  3. Review. The customer checks the selected items. A reason is optional.
  4. Confirm. This creates the declaration, assigns a reference and starts the notification emails.

Rejected and cancelled cases do not reserve quantities against a new declaration. Verify both the submission result and the notification emails during testing.

Case handling and the dashboard

Open the component’s Withdrawals page. Each case has its items, quantities, history and refund information. Internal notes are separate from messages intended for the customer.

States include submitted, awaiting return, return received, under review, approved, refunded, rejected and cancelled. Only valid next transitions are offered. Rejection requires a reason. Decided cases can be reopened with a separate action.

The system suggests a refund amount. Review shipping costs, discounts and coupons. Make the actual payment through your own financial workflow and record it in the case.

The administrator module shows new-case counts, recent submissions and cases under review. Publish it in a suitable Joomla administrator dashboard position. The event log cannot be edited through the interface.

Updating and checking

Back up the website and database before updating. The package registers a Joomla update source, so you can check Joomla’s extension updates. You can also install the newer complete package over the existing installation. Do not uninstall first to perform an update.

Afterwards, check plugin status, the menu item, custom text, guest identification, a partial withdrawal and notification emails. See the changelog for release notes.

Troubleshooting

IssueFirst checks
The customer process will not startCheck both plugins, menu publication and access, then open Help and checks.
The order cannot be foundUse the exact order reference and the email used for the order. After too many failures, wait for the rate-limit window to expire.
No HikaShop buttonCheck placement settings and custom templates. The dedicated withdrawal menu item remains a separate entry point.
An email does not arriveTest Joomla’s mail service, check recipients and spam folders, and test again after editing a template.
A system error appearsEnable detailed debugging only in a test environment: it can expose error details on the customer page. The r2r_withdrawal.log file is in Joomla’s configured log directory. Disable detailed debugging afterwards.

Use the support form with your Joomla, PHP, HikaShop and R2R versions, reproduction steps and exact error text. Do not send passwords or real customer data.

Finding the extension useful?

The extension is free to use. If you would like to support its development, you can buy me a coffee.

Support me with a coffee!