Releases: TS3Tools/paysafecard-rest_api-php
Releases · TS3Tools/paysafecard-rest_api-php
v1.0.5
v1.0.4
v1.0.3
v1.0.2
Renamed $environment
variable to $sandbox
and updated the type from string
to boolean
.
Setting the $sandbox
variable to true
, will activate the Sandbox API for testing purposes.
Before:
$pscpayment = new PaysafecardPaymentController($key, "TEST");
$pscpayout = new PaysafecardPayoutController($key, "TEST");
$pscrefund = new PaysafecardRefundController($key, "TEST");
Now:
$pscpayment = new PaysafecardPaymentController($key, true);
$pscpayout = new PaysafecardPayoutController($key, true);
$pscrefund = new PaysafecardRefundController($key, true);
The second parameter isn't required for the Sandbox / Testing API. By default, this value is set to true
.
If you want to use the production API, please set the second parameter to false
:
$pscpayment = new PaysafecardPaymentController($key, false);
$pscpayout = new PaysafecardPayoutController($key, false);
$pscrefund = new PaysafecardRefundController($key, false);