Answer the question
In order to leave comments, you need to log in
Where can I get the product id for the Sberbank payment gateway?
Sberbank checkout requires an order ID in the store: $vars['orderNumber'] = $order_id;
Where to take it from? If manually entered, then the operation is performed only once and the next time it says "An order with this number has already been processed"
You need to somehow generate this ID, product data is taken from a JSON file (name, description, price)
Answer the question
In order to leave comments, you need to log in
If there is nowhere to take it from and you don’t need this id, then you can simply generate it$vars['orderNumber'] = uniqid();
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question