My script runs 4 sub routines.
The fourth of these sends data to a payment gateway, which in turn, directs to a response page.
The first three subs run in a transaction, which is good. But how do I best ensure that the fourth sub will also run. If it doesn't, I may have made sales, without payment.
Is there some script logic, that my illogical brain isn't realising, which would resolve this?
is the likelihood of the fourth sub not running, even an issue?