paypal_payment

Class of functions to validate a IPN response and provide details of the payment
Methods Summary
public
# isValid( )
This function returns true/false for whether this gateway thinks the data is intended for it.
public
# precheck( )
Post the IPN data received back to paypal for validation Sends the complete unaltered message back to PayPal. The message must contain the same fields in the same order and be encoded in the same way as the original message PayPal will respond back with a single word, which is either VERIFIED if the message originated with PayPal or INVALID If valid returns the subscription and member IDs we are going to process if it passes
public
# isRefund( )
Is this a refund?
public
# isSubscription( )
Is this a subscription?
public
# isPayment( )
Is this a normal payment?
public
# isCancellation( )
Is this a cancellation?
public
# performCancel( string $subscription_id , int $member_id , array $subscription_info )
Things to do in the event of a cancellation
public
# getCost( )
How much was paid?
public
# close( )
Record the transaction reference and exit