[SOLVED] Key Generation based on user input.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68661

I re downloaded the HikaSerial but the version is the same, that is, HikaSerial 1.4.

Where can I get the version HikaSerial 1.6, as you said in your previous post.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68665

I've uninstalled HikaSerial and reinstalled the one which I've downloaded now, probably the same, i guess so.

Now I'm getting a generate serial error. I've deleted all the created plugins and serials but i'm not able to delete a pack. how do i delete a pack?

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68667

Hi,

Sorry, the version is 1.4.0 and not 1.6.0 (I was confused with the HikaShop version).

I think you have a generation error caused by your series plugin configuration.
The latest version of HikaSerial is installed on our demo website and I made some tests.
The displayed version of the package does not change because it was just little bugs fixes.

When you set a max value for the series plugin, the plugin would refuse to generate serials with a number higher.
So, if during the generation you enter values that would generate serial higher than the max value, it would return an error.

I think that you can use the random generator plugin which is easier to configure and to use.

Pack deletion would be available in HikaSerial 1.5.0 but this new version would require HikaShop 2.0
This new version of HikaShop is not finished yet, we still have some work to do in order to have a good integration with Joomla 3.0 designs.
When HikaShop 2.0 would be released, HikaSerial 1.5.0 would be too !

For the moment, you can unpublished the unwanted pack and create another but if there is no serials in, if would not be necessary to delete it.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: manjeshmohan

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68669

thanks for the information of the product updates.

will hikashop 2.0 and hikaserial 1.5 work on joomla 2.5.x?

could you please tell me the difference between assigned, used and reserved? these 3 words seems to be similar. also the difference between unassigned and free to use?

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68671

HikaShop 2.0 (and HikaSerial 1.5) would be compatible with Joomla 1.5/2.5/3.0 using the same installation package.

About serial statuses, I recommend you this page of the documentation:
www.hikashop.com/fr/hikashop/107-hikaser...html#serial-statuses

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: manjeshmohan

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68672

i tried using the ramdom generator but i'm not able to generate the serials where i'm getting a blank page and when i tries to refresh the page, i'm getting the packs page.

what could be the problem now?

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68686

i have checked the documentation.
Small clarification, what do you mean by assigning and consuming? how can the system know the customer has consumed the serial?

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68693

Hi,

I don't think you require to pre-generate serials. Your working process is with dynamic generation.
Open an order with your product, change his status and check that the serial is assign.
You can send me an access to your backend by private message if you want me to check your configuration.

About "consume". It was a requested feature which allow to customer to use serials directly in the website.
HikaSerial plugin would be called when a serial is consume and they could do different tasks like change the user group, send an email, modify a value in the database, etc
"Consume" is use by software license system. When the customer would enter his serial in his software, the software would call the website using webservices in order to check the status of the serial and to "consume" it. When a serial is consumed it could not be consumed another time : his status changed from "assigned" to "used".

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68791

I've sent you the backend access details by private message.

Please confirm whether you have received the same and you are able to access the backend.

Thanks.

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68794

Hi,

Thanks for the access.
I have fix your HikaSerial configuration.

The problem came from the configuration of the Series generator.
You put a max value to "10" and there was already 10 serials generated in the database.
The pack does not have the "data provider" so it try to generate some new serials but the series plugin refused because the max value was already reached.
( The series plugin is not quite compatible with dynamic generation when a max value is configured. )

So I removed the generated serials, I remove the max value and I click on the "refresh association" button on some valid orders and the plugin have generate a serial and assign it to the order.

Your configuration is fixed and is now working good :)

Best regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: manjeshmohan

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68807

Thank you so much.
I've tested it now, its working fine now.

How can I get the serial on my confirmed status mail?

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68812

Please find the attached screenshot of adding a custom field "tallyserial".

I've gone through the below custom field documentation but there are some areas which are not explained.

www.hikashop.com/en/support/documentatio...shop-field-form.html

Could you please brief me about the following fields?
1. Input Filtering
2. Maximum Length and Size
3. Read Only
4. Front end, Backend form and Backend listing

User should be restricted to input only 9 digits; not less than 9 or greater than 9 and it should not be alphanumeric.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68824

I got the explanation for 4th point from the following documentation:

www.hikashop.com/en/support/documentatio...p-field-listing.html

But couldn't get the details for the rest.

Please explain.

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68825

Hi,

How can I get the serial on my confirmed status mail ?

The serial would be added in the confirmation email automatically.
Now serials could be generated and attached to the orders, so the rest of HikaSerial would work too.
I have check your email configuration and it will be good.

If you want to check it manually, open a "confirmed" order and changed his status to "shipped".
Check the "notify customer" checkbox and look and the email content which would be send to the customer. The HikaSerial part would be displayed.

I've gone through the below custom field documentation but there are some areas which are not explained.

1. Input filtering is a security feature. It add protection for XSS (removing html and javascript tags).
2. It add a basic limitation in the text field (you want "9")
3. It put the field as read only (you don't want it)
4. It indicate where display the custom field (you want the front and the backend. Not the backend listing).

User should be restricted to input only 9 digits; not less than 9 or greater than 9 and it should not be alphanumeric.

We already gives you the answer here : www.hikashop.com/forum/17-serial-how-to/...t.html?lang=fr#68237

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.
The following user(s) said Thank You: manjeshmohan

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68829

Following is the mail which I've received when I changed the status from confirmed to shipped:



Original Message
Subject: Your order No. W19 is now shipped at manvishonline.com/
Resent-Date: Fri, 5 Oct 2012 09:25:22 -0700
Resent-From: This email address is being protected from spambots. You need JavaScript enabled to view it.
Resent-To: This email address is being protected from spambots. You need JavaScript enabled to view it.
Date: Sat, 6 Oct 2012 21:55:29 +0530
From: Manvish <This email address is being protected from spambots. You need JavaScript enabled to view it.>
To: Manjesh Mohan <This email address is being protected from spambots. You need JavaScript enabled to view it.>


The 2012-10-06 21:54 at manvishonline.com/
Hi Manjesh Mohan,

The status of your order No. W19 has been changed to shipped.
SUMMARY OF YOUR ORDER
Name Unit price Qty Total

Approval System For All Vouchers in Tally.ERP9

Test
Tally Addon
1 000,00 INR 1 1 000,00 INR
Final total : 1 000,00 INR
Billing address

Mr Manjesh Mohan
Vadakedath House
682509 Ernakulam കേരളം
India
Telephone: 09846565135
Once again, thank you for your order at manvishonline.com/ . We hope to see you again soon.

Best regards,
Manvish



Serial is not attached here in this mail, please check.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68830

Regarding the custom field, I must add a custom field from the HikaShop->Display->Custom Fields->New

and then replace the code which you have mentioned in the earlier post.

Hope I'm doing correct.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68831

I got a warning while adding the custom field through the HikaShop->Display->Custom Fields->New

"Please fill the Tally Serial field"

Find the attached screenshot.

Is there any problem?

Do I need to input anything in the Size field (below to Maximum Length)?

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68835

when i searched for adding the checkout custom field code mentioned by you, i found two checkout custom field; one for the administrator and other for the site.

do I need to replace the code in both the sections of administrator(bluestork) and site (rtclarion)?

Find the attached screenshot.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 26032
  • Thank you received: 4006
  • MODERATOR
11 years 7 months ago #68859

Hi,

1 - You have modified the email content and you removed the part which allow HikaSerial to add his content, it will be logical that the serial would not be include.
As explain in other threads in this forum, HikaSerial require this portion of code:

<?php
	JPluginHelper::importPlugin('hikashop');
	$dispatcher = JDispatcher::getInstance();
	$dispatcher->trigger('onAfterOrderProductsListingDisplay', array(&$data->cart, 'email_notification_html'));
?>
Where the string "email_notification_html" can change depending the email or the backend view.

2 - You have to edit you current front-end template (site).
You want to add this restriction for your clients, so, the front-end site and not the backend.

3 - You put the field are "required" and the backend form display an example of the custom field.
It is just a warning validation message generated by the custom field. It does not affect the custom field configuration.
There is no problem, don't worry.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 83
  • Thank you received: 1
11 years 7 months ago #68867

File Attachment:

File Name: tallysergen.zip
File Size:2 KB

I tried to create a small plugin of my own and installed the same. Installation was fine and I enabled the plugin from the extensions manager. But in the HikaSerial Plugins, there is no option to add, delete and so on buttons.

please find the attached created plugin.

guide me if i need to do anything other than this.

Thanks.

Attachments:
Last edit: 11 years 7 months ago by manjeshmohan.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.098 seconds
Powered by Kunena Forum