IpnValidation
class IpnValidation (View source)
Properties
protected | $postData | ||
protected | $serverData | ||
protected | $credentials |
Methods
checkRequiredData()
Checks $_POST data for required statuses https://www.coinpayments.net/merchant-tools-ipn
bool
checkOrderSuccess()
If $order_status is >100 or is 2, return true
bool
validate()
Validate the IPN request and payment.
array|mixed|null
getPostData(null $key = null)
No description
array|mixed|null
getServerData(null $key = null)
No description
setPostData(array $postData)
No description
setServerData(array $serverData)
No description
Details
at line 14
__construct(array $postData, array $serverData, Credentials $credentials)
at line 27
checkRequiredData()
Checks $_POST data for required statuses https://www.coinpayments.net/merchant-tools-ipn
at line 44
bool
checkOrderSuccess()
If $order_status is >100 or is 2, return true
at line 61
bool
validate()
Validate the IPN request and payment.