email test
This commit is contained in:
@@ -1000,6 +1000,7 @@ function createPayStationToken(){
|
||||
"content-type: application/x-www-form-urlencoded",
|
||||
"accept: *",
|
||||
"accept-encoding: gzip, deflate",
|
||||
'Host: api.paystation.co.nz',
|
||||
],
|
||||
CURLOPT_POSTFIELDS => http_build_query($bodyParams)
|
||||
];
|
||||
@@ -1022,6 +1023,9 @@ function createPayStationToken(){
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
function postPayStationQuery($endpoint, $token, $body){
|
||||
$curlHandle = curl_init(Env::get("paystation.api_url") . '/' . $endpoint);
|
||||
$options = [
|
||||
|
||||
Reference in New Issue
Block a user