Verifying admin accessβ¦
β
Step 1: Go to payfast.co.za β Settings β Merchant Details. Copy your Merchant ID and Merchant Key into js/firebase-config.js (PAYFAST_MERCHANT_ID / PAYFAST_MERCHANT_KEY).
β
Step 2: Set your Notify URL (ITN) to your Firebase Cloud Function URL: https://us-central1-stackd-c9914.cloudfunctions.net/payfastITN
β
Step 3: Set Return URL β https://stackd-c9914.web.app/payment-success.html and Cancel URL β https://stackd-c9914.web.app/payment-cancel.html
β Step 4: Enable Recurring Billing in your PayFast account settings for subscription plans (Tier 1 & 2).
β
Step 5: Test with sandbox first β set PAYFAST_SANDBOX = true in firebase-config.js. Switch to false when going live.
| Title | Seller | Category | Campus | Price | Status | Actions |
|---|
| Name | Campus | Plan | Listings/mo | Joined | Actions |
|---|
| Code | Plan | Months free | Uses left | Expires | Status | Actions |
|---|
| Code | Creator | Commission | Users referred | Revenue generated | Status | Actions |
|---|
Applications come in via the Google Form. Review them here and create referral codes for approved creators on the Referral Codes tab.
View form responses β| Creator | Code | Users | Revenue earned | 30% payout | Payout status | Actions |
|---|