The New JoomBoost: Joomla 6, Better Support and More Extensions
JoomBoost

AltaUserPoints (Pay with Points)

The Easy Services Booking - Payments Plugin - Pay With Points (AltaUserPoints) plugin lets logged-in clients pay for a booking with their points from AltaUserPoints, a separate Joomla component for user points. Each service has a price in points, and the points are taken from the client's balance when they pay.

Pay with Points works from 6.3.0. In older versions the button did not appear.

What you need

  • AltaUserPoints installed and set up on your site. Without it, the plugin shows nothing on the payment page.
  • Clients who pay with points must be logged in, so the points can be taken from their account.
  • The Payment Validation plugin enabled, see Payments.

Set it up

  1. Create a rule in AltaUserPoints. In AltaUserPoints, create a custom rule whose function name is plgaup_easyservicesbooking, and publish it. The plugin takes the points through this rule, so the points history in AltaUserPoints shows them under it. You can use another function name: enter the same name in the plugin in step 2.

  2. Set up the plugin. Go to System > Manage > Plugins, search for Pay With Points and open the plugin. It is installed disabled.

    Setting What it does
    Provider Name The name of this payment option on the payment page. Pay With Points by default
    AltaUserPoints rule function The function name of the AltaUserPoints rule used to take the points. plgaup_easyservicesbooking by default

    Set Status to Enabled and save.

  3. Give each service a points price. Go to Services, open a service and enter its Points Cost. Services with no points cost (empty or 0) cannot be paid with points.

  4. Enable Payment Validation. See Validation workflows.

How a payment works

  1. After Book now, the client sees the Pending Payment page. Next to the other payment buttons there is a button with the provider name and the points, for example "Pay With Points (50 points)", and the line "You have 120 points."
  2. A client who is not logged in sees "Log in to pay with points (50 points)." instead of the button.
  3. The client clicks the button. The points are taken from their AltaUserPoints balance, the booking is confirmed and the payment emails are sent, as with a card payment.

The points price is the Points Cost of the service. For a multiple slots booking it is the total of the points cost of every slot.

Points are taken only once. Clicking the button again, or reloading the page, does not take them twice.

Troubleshooting

What you see What to check
No Pay with Points button AltaUserPoints is installed, the plugin is enabled, and the service has a Points Cost above 0
"Log in to pay with points" The client is not logged in. Points can only be taken from a Joomla account
"Whoops, you don't have enough points for this." The client's balance is lower than the points price
"The points could not be taken. Please check the AltaUserPoints rule or contact us." The rule in AltaUserPoints does not exist, is not published, or its function name differs from AltaUserPoints rule function in the plugin
"AltaUserPoints API not found" AltaUserPoints was removed or is broken. Reinstall it, or disable the Pay with Points plugin

All Extensions