Use Case: Payment Result Check After Online Course Purchase

On an online education platform, users purchase a course package. After the payment process is completed, the system wants to verify whether the user has actually made the payment.

Scenario Flow

  1. Course Selection and Payment: The user selects the “Pro Education Package” and proceeds to the payment step. The payment is made with Param Payment Pay 3D and a unique Order ID is created.
  2. Post-Payment Check: Once the payment is complete, the system automatically triggers the Get Param Payment Result action or does so via a button. The relevant Order ID parameter is dynamically sent to the action.
  3. Redirection Based on Result:
    • If the payment is successful:
      • The user is shown a “Payment successful” message.
      • Access to the course is granted, and the “Student” role is assigned.
      • A confirmation email or SMS is sent to the user.
    • If the payment is unsuccessful:
      • An error message is displayed to the user.
      • If necessary, the payment can be retried.