Real Estate PortalUser Manual Visit Real Estate Portal →
Admin panel

Portal Payments: Stripe and PayPal Setup

This is how your portal makes money. Choose a charge mode, connect a payment method and set the prices.

Payment settings page with charge mode, Stripe and PayPal
Payments › Payment settings.

Charge mode

ModeBehavior
freeListings are free
per_listingEach listing costs listing_price; the first free_listings are free
packagesAdvertisers buy credit packages

Other settings: listing_duration_days, featured_price, vat_rate (percent) and invoice_prefix.

Stripe

  1. Enable Stripe and paste the publishable and secret keys from your Stripe dashboard (use test keys first).
  2. In Stripe add a webhook endpoint https://your-site.com/payments/stripe_webhook.php for the events checkout.session.completed and checkout.session.async_payment_succeeded.
  3. Paste the webhook signing secret in the settings.
  4. Test with card 4242 4242 4242 4242, any future date and any CVC.

PayPal

  1. Create REST API credentials in PayPal Developer and paste client ID and secret.
  2. Choose sandbox or live.
  3. Optionally add a webhook to payments/paypal_webhook.php for PAYMENT.CAPTURE.COMPLETED.

Bank transfer

Enable it and type the bank instructions that are shown at checkout. The order stays pending until you confirm it in Pending payments.

Orders

Pending payments shows orders awaiting confirmation (mark as paid or cancel). Payments archive keeps the completed history.

Payments archive
Payments archive.

Packages

Package management
Packages.

Create packages with a name, price, number of listings, duration and featured credits. Purchased packages lists what users have bought and their remaining credits.

Always test the full payment cycle with test keys before switching to live keys.

Last updated