Skip to content

Commit

Permalink
fix: send at the specified base url
Browse files Browse the repository at this point in the history
  • Loading branch information
brokeyourbike committed Apr 7, 2022
1 parent ea51e0d commit 7e7f826
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/Client.php
Expand Up @@ -51,7 +51,7 @@ public function postPayment(PaymentInterface $payment): PaymentsResponse
$extraData['productCode'] = $payment->getProductCode();
}

$response = $this->performRequest(HttpMethodEnum::POST, '/', [
$response = $this->performRequest(HttpMethodEnum::POST, '', [
'countryCode' => $payment->getCountryCodeAlpha2(),
'function' => 'BEEP.postPayment',
'payload' => [
Expand Down Expand Up @@ -82,7 +82,7 @@ public function postPayment(PaymentInterface $payment): PaymentsResponse

public function queryPaymentStatus(PaymentInterface $payment): PaymentsResponse
{
$response = $this->performRequest(HttpMethodEnum::POST, '/', [
$response = $this->performRequest(HttpMethodEnum::POST, '', [
'countryCode' => $payment->getCountryCodeAlpha2(),
'function' => 'BEEP.queryPaymentStatus',
'payload' => [
Expand Down

0 comments on commit 7e7f826

Please sign in to comment.