Answer the question
In order to leave comments, you need to log in
How in opencart, after clicking on the buy button, immediately transfer it to payment?
Good afternoon!
The opencart has an interkassa module installed.
It is necessary to make sure that after the buyer clicks on the buy button, bypassing all the steps of placing an order, the user is immediately transferred to the interkassa. An information product is being bought, so there is no need for full name, address, etc.
How can this be implemented? So far, only an imitation of a buyer's click on the button has come to mind. Checkout via $('button').trigger('click') What are your ideas?
Answer the question
In order to leave comments, you need to log in
if without changing the steps, then by imitation of a click, I only advise you to do it through a small setTimeout and wrap it in $ (document)
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question