\WorldpayPayment_Handler
Handler for responses from the WorldPay site
Synopsis
class WorldpayPayment_Handler
extends Controller
{
- // members
- public static string $URLSegment = 'worldpay';
- // methods
- public static void complete_link()
- public void paid()
- public void complete()
Hierarchy
Extends
- Controller
Members
public
- $URLSegment
Methods
public
- complete()
- complete_link()
- paid() — Get the Order object to modify, check security that it's the object you want to modify based off Worldpay confirmation, update the Order object to show complete and Payment object to show that it was received. Finally, send a receipt to the buyer to show these details.