Perfect, thanks! The only other thing along this line I’m struggling with is in my authorize() function, rendering the payment as pending rather than complete.
Currently, for a pending payment I’m returning this array:
But it seems that if is_authorized or is_success are false, the payment is marked as failed, and there’s no in between…?
Whereas if i mark them as true then change the payment status, I’m going to trigger both the payment complete and payment pending notification actions… I think?
I hope I’m making sense