Hello all,
I have a question about calling some external php library.
I have to call some external (non modx) php code that is doing a credit card payment.
The workflow is as follows: First the user sets the amount in a form. When the Pay button it's pressed some external code should be called. The user is redirected to the payment institution website, they enter the credit card data, the payment is made or not and then I need to return to my modx website and modify some the payment status in my custom tables.
What would be the best approach to this matter? How can I call some external php code within modx and then modify some info based on the response from an external server?
Thank you,
Horia