Skip to content

Releases: TS3Tools/paysafecard-rest_api-php

v1.0.5

06 Jun 21:56
891dbca
Compare
Choose a tag to compare

What's Changed

  • Fix deprecated PHP code since PHP 7.4
  • Enable peer/host SSL verification in payment/PaymentClass.php

Full Changelog: v1.0.4...v1.0.5

v1.0.4

08 May 19:16
7c654fb
Compare
Choose a tag to compare
  • Correction of error message: The error 3001 had a wrong error message
  • Fix variable name: payment_id does not exist, mtid is what is received

v1.0.3

07 Apr 23:04
bc3322b
Compare
Choose a tag to compare
  • Fixed wrong names for autoload folders

v1.0.2

20 Nov 09:55
6eb2524
Compare
Choose a tag to compare

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);

v1.0.1

19 Nov 15:37
980ec5b
Compare
Choose a tag to compare

Added autoload of classes to composer.json

v1.0.0

19 Nov 14:40
41f9daf
Compare
Choose a tag to compare

Initial release with Composer support