Hey Matlow99,
The logic would be:
if Payment = APPROVED then Pop-up Message: "payment processed" then Redirect to home screen /end.
First we need to find which Action Result stores the value if the payment was approved or declined. These actions all sit within the Process Payment button object. Within the Process Payment button actions take a look at the action: 'Credit Card Processing' and on the top it states: "Charges either a credit card or electronic check, and stores the value 'APPROVED' in the ‘Action Result Success or Fail’ if processed successfully."
In the bottom of that action you will need to take note of the Action Result name you have given for 'Action Result Success or Fail' (default is resultSucessFail).
Now create a conditional statement:
Action Result resultSucessFail Equal to Type In APPROVED. Within that conditional statement add the action:
> Show Message: “Payment Processed”
> Go To Screen: Choose your portal_Home screen. Also make sure it goes to that specific Customers screen.
Finally close the conditional statement.
I hope that helps, let me know how it goes.
- Mortaza