|
@@ -84,7 +84,7 @@ |
|
|
block discarded – undo |
|
84
|
84
|
* @todo Implement proper webhook signature validation. Ref https://stripe.com/docs/webhooks#signatures |
|
85
|
85
|
* @param string $request_headers The request headers from Stripe. |
|
86
|
86
|
* @param string $request_body The request body from Stripe. |
|
87
|
|
- * @return bool |
|
|
87
|
+ * @return null|boolean |
|
88
|
88
|
*/ |
|
89
|
89
|
public function is_valid_request( $request_headers = null, $request_body = null ) { |
|
90
|
90
|
if ( null === $request_headers || null === $request_body ) { |
Please login to merge, or discard this patch.