Skip to content

Commit

Permalink
Update class.gateway.php
Browse files Browse the repository at this point in the history
  • Loading branch information
maukoese authored Jun 13, 2022
1 parent e118d93 commit 4fd567b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion class.gateway.php
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@ public function compute_signature($parameters, $signed_fields, $request_timestam
return base64_encode(hash_hmac('sha256', $sign_data, $this->api_secret, true));
}

public function send_api_request($json, $authorization, $digest, $signed_fields, $timestamp, $endpoint = '')
public function send_api_request($json, $authorization, $digest, $signed_fields, $timestamp, $endpoint = '/checkout/wallet-payment')
{
$url = $this->api_url . $endpoint;
$headers = array(
Expand Down

0 comments on commit 4fd567b

Please sign in to comment.