Home › Forums › ENNT › Connection Strim

Viewing 15 posts - 31 through 45 (of 46 total)
  • Author
    Posts
  • Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    I don’t have any questions at the moment. However, I would like to clarify one point regarding the task: “Please increase the PIN number code from 4 to 6 digits.”

    The requirement didn’t explicitly mention that the PIN must be exactly 6 digits. So, I just want to confirm: Do you want the PIN to always be exactly 6 digits, or should it support both 4-digit and 6-digit PINs?

    I am reviewing the order process again .

    Nishit Shan
    Participant
    Post count: 2089

    Additionally, I think there was some confusion due to the very small task description. I thought you were referring to the port-out PIN but i think you are explaining about different.

    Andrey
    Keymaster
    Post count: 1493

    Hello Nishit thanks for your reply, yes site admin wants pins to be autogenerated 6 digits not 4 see in this order https://webmaklay.com/wp-content/uploads/2026/11/pin.jpg it is still 4 but we need 6!

    Could you please ensure it works.
    Please let me know if you have done this job then why it is still 4 digits in the orders?

    Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    There was a misunderstanding. The requirement to change the PIN from 4 to 6 digits meant that it should always be 6 digits, but I initially interpreted it as allowing a minimum of 4 and a maximum of 6 digits.

    I have now made the necessary changes. Please test them and share your feedback as soon as possible.

    Andrey
    Keymaster
    Post count: 1493

    Hi Nishit could you please let me know one think is the pin for new orders going to generate 6 digits pin?

    Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    Yes, It should be , that’s why i am asking to test.
    Please check the video for reference :
    [video src="https://excellentnumbers.com/temp_vid/Screencast%20from%202026-11-30%2014-12-20.mp4" /]

    Andrey
    Keymaster
    Post count: 1493

    Oh cool thank you Nishit will check and get back to you, please could you also check the rest of the points mentioned in #16954 and #16959 so we can check it also and close this job!

    Andrey
    Keymaster
    Post count: 1493

    Hello Nishit, just to let you know that EN site admin checked your #16967, and said that now everything works incorrectly:(

    Please find some tetsing flow below:

    They have created one test order 30311 which is also real order so please do not change it:
    The order 30311 contains a few numbers some from EN data base and some En admin created as new manually.
    Then admin created order and clicked save and process payment.
    The order send an email saying that it has been created but at the admin side there was not any confirmation about the order created and usualy redirects to the order list page.

    Then admin clicked second time and then from admin could see order creation confirmation and after second time the order notification email sent to the customer and then we could see that page redirected to the orders and we could see an order.

    Now about the PIN genaration:
    the client we created order 30311 for has got his own 6 digits default PIN number set (account level) for those numbers which created manually (not from EN data base) system added customers default number 6 digit pin which is correct as it is customers chosen PIN code

    but for those numbers that added from EN data base the customers default 6 digits number did not applied but for some reason generated random 4 digits pin number.

    So in this particular order case if customer has got default set 6 digits PIN number (customer level) there suppose to be all numbers have same default 6 digits pin.

    If customer would not have any default PIN set from his customer level then system should AUTO generate 6 digits random PIN number.

    So there are three problems here,

    1. default customer PIN number not being applied to all numbers
    2. it generates 4 digits pin for customer who’s got his 6 digits pin set up by default but in order for some reason it did not work.
    3. system still generates 4 digits pin code not 6 for the orders picked from EN data base.

    BROKEN PART

    and lastly EN admin says that now something got broken with EN numbers reservation as customers can not reserve the numbers the reservation has been broken and they send us multiple complains.\

    Could you please fix it all asap,
    i will try to send you a video later on.

    Regards Andrey

    Andrey
    Keymaster
    Post count: 1493

    Hi Nishit please find the video to support you with your repairs?
    [video src="https://webmaklay.com/order.mp4" /]
    please let me know if any questions

    Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    Regarding the PIN, I haven’t completed the changes yet, which is why I requested you to test it.

    Please allow me some time to investigate these issues carefully, step by step, by reviewing the individual files related to order processing and number reservation.
    For the number reservation issue, I am seeing a cross-origin access (CORS) error. I need to investigate why this is happening, especially since I haven’t modified this particular file for quite some time, going back to when we were working on the Bootstrap design implementation.

    I will investigate everything thoroughly and update you once I have identified the cause.

    Andrey
    Keymaster
    Post count: 1493

    Hello Nishit sure please investigate it and let us know what has happened, what causing time to time errors appearing on the site? Please also try to fix it as soon as you can EN team getting very unhappy;(

    Kind regadrs Andrey

    Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    Please confirm this below so i can proceed without any confusion .
    Use the same PIN selection logic in both creation paths:
    1. Get the customer ID from the order.
    2. If the customer’s master port-out PIN is enabled and valid, use it for each number in the order.
    3. Otherwise, generate a random six digit PIN.
    4. Save that PIN in order_pin.
    confirm whether a saved master PIN should apply when its enable toggle is off

    Please ask the site admin if require .

    Reserved number issue is now solved , the file permission been changed that’s why the link was not enable to access the file .

    Andrey
    Keymaster
    Post count: 1493

    Hello Nishit thanks for your reply,

    your #16973 question sounds like you are going to do it from the scratch but it used to work before and now why it has changed, for
    1. Get the customer ID from the order. – not quite sure what you mean i would say stick to what has been there before only pin numbers increas should be applied. Im worried from your question as you starting foing somthing which never excisted on EN site.

    for 2. If the customer’s master port-out PIN is enabled and valid, use it for each number in the order. yes thats why the set it as a custom PIN.

    If customer pin not enabled then random 6 digit pin generated which is 3.

    if the master PIN toggle off then customer does not want to use it then random generated 6 digits

    Nishit Shan
    Participant
    Post count: 2089

    Hello Andrey,

    No, I think first point make you confuse , I am not doing any thing from scratch and everything is as it was just increasing the pin from 4 to 6 and also allowing to generate random number if pin is not available for customer or it’s disable.

    Andrey
    Keymaster
    Post count: 1493

    Thanks Nishit just one more favour could you please check everything before you left the site so everything works good and display correct see this screen shot here

    https://webmaklay.com/wp-content/uploads/2026/12/res.jpg

Viewing 15 posts - 31 through 45 (of 46 total)
  • You must be logged in to reply to this topic.