v3.0.2
Warning
v3.0.0 and v3.0.1 shipped with a broken composer.json: the SystemPay → Systempay rename
dropped the full namespace from extra.laravel.providers/aliases, so Laravel's package
auto-discovery silently failed to register the service provider and facade. If you're on
v3.0.0 or v3.0.1, upgrade to v3.0.2.
Fixed
- Fixed package auto-discovery by restoring the fully-qualified class names in
composer.json.
Breaking changes (since v2.1.0)
-
Classes renamed from
SystemPaytoSystempay(Systempay,Facades\Systempay,
SystempayServiceProvider, and allExceptions\*classes). TheSystemPayfacade alias itself
is unchanged — only direct class imports need updating. -
IPN webhook handling consolidated into a
WebhookPayloadobject.validateSignature(),
isValidPayment(),retrieveOrderAndTransaction(), andretrievePaymentAmountAndCurrency()are
removed from the facade. UseformatWebhookPayload()instead:// Before SystemPay::validateSignature($request); SystemPay::isValidPayment($request); [$orderId, $transId, $uuid] = SystemPay::retrieveOrderAndTransaction($request); [$amount, $currency] = SystemPay::retrievePaymentAmountAndCurrency($request); // After $payload = SystemPay::formatWebhookPayload($request); $payload->validateSignature(); $payload->isValidPayment(); $payload->orderId; $payload->transactionId; $payload->transactionUuid; $payload->amount; $payload->currencyCode;
-
Config: REST API password moved under
rest. Update your publishedconfig/systempay.php:// Before 'password' => env('SYSTEMPAY_REST_API_PASSWORD'), // After 'rest' => [ 'password' => env('SYSTEMPAY_REST_API_PASSWORD'), ],
Full Changelog: v2.1.0...v3.0.2