TC-EVT-003: Event Registration — Paid PAY_NOW (Detailed)
USE REAL EVENTS + payment is PARKED. Wherever this guide names a
"QA Test …" event, use a real paid event (e.g. RCME Mid-Year Celebration 2026, 2026-06-13) — the fictional "QA Test …" events do not exist. You can exercise register → invoice → REGISTERED_UNPAID, but completing a real Paynamics payment is not testable on stage (no prod creds). Paid events display their price correctly (#166 fixed).
WARNING: Payment gateway integration (Paynamics) may be in sandbox mode or not yet deployed to staging. If payment redirects fail, document the error and skip the payment completion steps. The registration flow up to the payment redirect is still testable.
TC-REG-PAID-01: Member Registration with Payment
| Step | Action | Expected Result | Test Value |
|---|---|---|---|
| 1 | Open a browser and navigate to the login page. | Login page loads. | https://stg-rcme.membervu.com/login |
| 2 | Log in as the test member (Maria Cruz). | Dashboard loads. | testmember@rcme.membervu.com / Member123! |
| 3 | Navigate to "Events" and find "QA Test Fellowship Dinner". | Event appears in the list. Price shows PHP 3,000 (member rate). | QA Test Fellowship Dinner |
| 4 | Click on the event to open the detail page. | Event detail page loads. Shows: title, date (2 weeks from today), time (7:00 PM), venue (Diamond Hotel Ballroom), price (PHP 3,000). | — |
| 5 | Click the "Register" or "Buy Ticket" button. | You are taken to a payment/checkout page or a payment modal appears. The amount shown should be PHP 3,000. | PHP 3,000 |
| 6 | Select "Credit Card" as the payment method (if payment gateway is active). | Credit card form appears or you are redirected to the payment gateway. | — |
| 7 | Enter the test credit card details. | Card details are entered. |
Card: 4434 2600 0000 0008 CVV: 123 Expiry: 01/2039 |
| 8 | Click "Pay" or "Submit Payment". | Payment processes. On success: you are redirected back to the event page with a "Registration Confirmed" or "Payment Successful" message. | — |
| 9 | Check MailHog for confirmation and invoice emails. | You should receive: (1) a registration confirmation email with event details, and (2) an invoice/receipt email showing PHP 3,000 paid. | https://stg-webmail.membervu.com |
| 10 | Navigate to "My Invoices" or "Billing" in the sidebar. | An event invoice for "QA Test Fellowship Dinner" appears with amount PHP 3,000 and status "Paid". | — |
SKIP steps 6–8 if the payment gateway is not configured on staging. Instead, verify that clicking "Register" correctly initiates the payment flow (shows amount, payment method options). Document: "Payment gateway not available — flow initiated correctly up to payment step."
TC-REG-PAID-02: Alternative Payment — GCash
WARNING: GCash payment requires Paynamics sandbox to be active. If GCash option is not available, skip this section.
| Step | Action | Expected Result | Test Value |
|---|---|---|---|
| 1 | If testmember registration from TC-REG-PAID-01 succeeded, log out and log in as admin to cancel that registration first (to test a fresh payment). Otherwise, use a different paid event. | A clean registration attempt is possible. | — |
| 2 | Log in as testmember. Navigate to the paid event and click "Register". | Payment/checkout page appears. | testmember@rcme.membervu.com / Member123! |
| 3 | Select "GCash" as the payment method. | You are redirected to the GCash sandbox payment page. | — |
| 4 | Complete the GCash sandbox flow (enter test phone number, approve). | Payment approved. You are redirected back to the app with a success message. | — |
| 5 | Verify registration confirmation and invoice in MailHog. | Emails received. Invoice shows payment method as GCash. | https://stg-webmail.membervu.com |
SKIP this entire section if GCash is not available as a payment option. Note: "GCash payment method not available on staging."
TC-REG-PAID-03: Guest at Higher Price
| Step | Action | Expected Result | Test Value |
|---|---|---|---|
| 1 | Log out of testmember. Log in as the guest user (Roberto Mendoza). | Dashboard loads for guest. | guest@demo.membervu.com / Guest123! |
| 2 | Navigate to Events and find "QA Test Fellowship Dinner". | Event appears. Price shown to the guest should be PHP 3,500 (guest rate), NOT PHP 3,000. | PHP 3,500 |
| 3 | Click on the event to open the detail page. | Detail page shows the guest price: PHP 3,500. | — |
| 4 | Click "Register" or "Buy Ticket". | Payment/checkout page shows amount PHP 3,500 (not PHP 3,000). The system correctly applies the guest rate. | PHP 3,500 |
| 5 | Complete payment (if gateway is active) or note the amount displayed. | Payment amount is PHP 3,500. Registration confirmed at guest rate. | — |
TC-REG-PAID-04: Cancel Paid Registration — Refund Policy
| Step | Action | Expected Result | Test Value |
|---|---|---|---|
| 1 | While logged in (as testmember or guest — whoever completed a paid registration), navigate to the "QA Test Fellowship Dinner" event detail page. | Event detail page loads. Status shows "Registered". | QA Test Fellowship Dinner |
| 2 | Look for a "Cancel Registration" button. | The button may be present or may be absent (some paid events do not allow self-cancellation). Document what you see. | — |
| 3 | If the button exists, click "Cancel Registration". | A dialog appears with a refund policy message, such as: "Cancellations are subject to a refund policy" or "No refund for cancellations within X days of the event." You must confirm the cancellation. | — |
| 4 | Click "Confirm Cancellation". | Registration is cancelled. A refund may be initiated or a credit applied to the account. Check for a cancellation email in MailHog. | https://stg-webmail.membervu.com |
| 5 | Navigate to "My Invoices". | The invoice for "QA Test Fellowship Dinner" may show status "Refunded" or "Cancelled", or a separate credit note may appear. | — |
WARNING: If self-cancellation is not available for paid events, the member must contact the admin. Note: "Self-cancellation not available for paid events — admin action required."
CLEANUP
Registrations and payments created during this test:
- testmember@rcme.membervu.com — paid registration for "QA Test Fellowship Dinner" (PHP 3,000)
- guest@demo.membervu.com — paid registration for "QA Test Fellowship Dinner" (PHP 3,500)
If using sandbox payment gateway, these are test transactions and do not need reversal. If registrations need to be removed, use Admin > Events > Manage Registrations.