Method |
Description |
|
build_response_html ( ) : string |
Process the request
- Find purchase data
- Generate response* |
|
get_customer_emails ( ) : array |
Get an array of emails belonging to the customer |
|
get_customer_emails_by_license_key ( ) : array |
get customer mail address by license key |
|
get_payment_method ( integer $payment_id ) : string |
Get the payment method used for the given $payment_id. Returns a link to the transaction in Stripe or PayPal if possible. |
|
parse_data ( ) : array | mixed |
|
|
query_customer_payments ( ) : array |
Query all payments belonging to the customer (by email) |
|
respond ( string $html, integer $code = 200 ) |
Set JSON headers, return the given response string |
|
validate ( ) : boolean |
Validate the request |
|