- Posts: 80
- Thank you received: 4
url error
- designer71
-
Topic Author
- Offline
Less
More
3 hours 40 minutes ago #100000644
by designer71
url error was created by designer71
-- HikaShop version -- : 6.8.2
-- Joomla version -- : 6.2
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Chrome 157.0
-- Error-message(debug-mod must be tuned on) -- : no
Hello HikaShop Support Team,
I am configuring a gift certificate system using HikaSerial: 6.1.1
Our goal
We sell gift certificates through HikaShop. Each certificate is automatically generated by HikaSerial and includes a unique serial number, an expiration date, and a QR code.
We would like our clinic administrator to scan the QR code, open the HikaSerial redemption page with the serial number automatically passed to it, and confirm redemption without manually entering the code.
Only authorized administrators (Super Users) should be allowed to redeem certificates.
What is working
When we generate a QR code containing a redemption URL with HikaSerial parameters, Joomla converts the URL into an incorrect SEF format.
For example, we tried:
However, the QR code contains a URL similar to:
The serial number is lost and replaced with
.
We also tried URL-encoding the square brackets (
and
), but the result was the same.
Using a simple parameter such as
preserves the serial number in the SEF URL, but does not successfully pass it to the redemption handler.
When opening the generated link, HikaSerial displays a confirmation page. However, after submitting, it returns to the "Enter your serial code" form instead of redeeming the certificate.
We also temporarily disabled Joomla SEF routing for testing. The HikaSerial confirmation page opened, but we have not established whether the serial number was correctly processed in that configuration. SEF has now been re-enabled.
Our questions
Thank you for your assistance.
Best regards,
Boris
-- Joomla version -- : 6.2
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Chrome 157.0
-- Error-message(debug-mod must be tuned on) -- : no
Hello HikaShop Support Team,
I am configuring a gift certificate system using HikaSerial: 6.1.1
Our goal
We sell gift certificates through HikaShop. Each certificate is automatically generated by HikaSerial and includes a unique serial number, an expiration date, and a QR code.
We would like our clinic administrator to scan the QR code, open the HikaSerial redemption page with the serial number automatically passed to it, and confirm redemption without manually entering the code.
Only authorized administrators (Super Users) should be allowed to redeem certificates.
What is working
- Gift certificates are generated correctly using the AttachSerial plugin.
- Unique serial numbers and expiration dates are generated correctly.
- QR codes are generated successfully.
- Manual redemption through the HikaSerial frontend form works perfectly.
- After manual redemption, the serial status changes from Assigned to Used.
- The Group Filter Consumer plugin is configured for Super Users only.
When we generate a QR code containing a redemption URL with HikaSerial parameters, Joomla converts the URL into an incorrect SEF format.
For example, we tried:
Code:
https://taletsky.com/index.php?option=com_hikaserial&ctrl=serial&task=consume&hikaserial[data]={serial.serial_data}&confirmation=1&hikaserial[format]=html
Code:
https://taletsky.com/component/hikaserial/serial/consume/hikaserial-Array/confirmation-1
Code:
Array
We also tried URL-encoding the square brackets (
Code:
%5B
Code:
%5D
Using a simple parameter such as
Code:
data={serial.serial_data}
When opening the generated link, HikaSerial displays a confirmation page. However, after submitting, it returns to the "Enter your serial code" form instead of redeeming the certificate.
We also temporarily disabled Joomla SEF routing for testing. The HikaSerial confirmation page opened, but we have not established whether the serial number was correctly processed in that configuration. SEF has now been re-enabled.
Our questions
- What is the correct URL format for QR-code-based certificate redemption in HikaSerial 6.1.1 with Joomla 6?
- How can we prevent the
parameter from being converted intoCode:hikaserial[data]?Code:hikaserial-Array
- Is there a recommended way to generate a redemption URL directly through AttachSerial while keeping Joomla SEF enabled?
- Can we configure QR-code redemption so that only Super Users can confirm and consume certificates?
- Is there a built-in solution that does not require modifying HikaSerial or Joomla PHP files?
Thank you for your assistance.
Best regards,
Boris
Please Log in or Create an account to join the conversation.
Moderators: Obsidev
Time to create page: 0.061 seconds