repeat order number

Hello,

I don’t know the Redsys plugin you are using. try to change

$ordernum = str_pad($params->id, 12, ‘0’, STR_PAD_LEFT);

for this other:

$ordernum = str_pad($params->id, 10, ‘0’, STR_PAD_LEFT).date(‘s’);

This will pass the seconds in the order number.

However, this change could cause notifications to fail, depending on how the validation process goes to get the order number.

One option would be to try changing the Redsys module you are currently using for the one you can download from the following link:

Content only visible to registered users

The steps to follow would be:

– Deactivate your current Redsys module.
– Delete the current Redsys module.
– Install the new Redsys module.
– Configure the new Redsys module.
– Make a purchase test to verify that everything is going well.

AnswerQuote

Answered: 11/26/2015 5:31 pm

See also  I can't remove the main menu from the landing page
Loading Facebook Comments ...
Loading Disqus Comments ...