D
D
Dmitry2019-01-20 15:35:39
JavaScript
Dmitry, 2019-01-20 15:35:39

How to execute an additional code upon successful payment of an order in Opencart?

I'm trying to connect Modulkassa to Opecnart 2.2
I'm new to opencart code, so I need your help.
I use this library: https://github.com/bigperson/modulpos-php-api-client
I successfully connected it to the engine (located in the vendor folder and connected via composer).
The situation is such that I need to send a check to the Modulkassa server at the moment when the payment system confirmed the debiting of money from the card. The question is, in which file, class and method, do I need to add my code for sending a check?

Answer the question

In order to leave comments, you need to log in

3 answer(s)
A
Alexey, 2016-05-14
@alsopub

I threw everything the same on codepen - codepen.io/anon/pen/VaNMgB
Everything works.

_
_ _, 2016-05-14
@AMar4enko

Add the novalidate attribute to the form to disable html5 validation

D
Dmitry, 2019-01-20
@liggth

checkout/success here

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question