Skip to content

Commit

Permalink
Merge pull request #537 from takayukister/dev/5.5
Browse files Browse the repository at this point in the history
Update api.php
  • Loading branch information
takayukister authored Aug 30, 2021
2 parents 915726f + c5680ab commit 5ea40c1
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions modules/stripe/api.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,23 @@ class WPCF7_Stripe_API {
private $secret;


/**
* Constructor.
*
* @param string $secret Secret key.
*/
public function __construct( $secret ) {
$this->secret = $secret;
}


/**
* Sends a debug information for a remote request to the PHP error log.
*
* @param string $url URL to retrieve.
* @param array $request Request arguments.
* @param array|WP_Error $response The response or WP_Error on failure.
*/
private function log( $url, $request, $response ) {
wpcf7_log_remote_request( $url, $request, $response );
}
Expand Down

0 comments on commit 5ea40c1

Please sign in to comment.