-
Notifications
You must be signed in to change notification settings - Fork 4
SDK Migration guide
Wouter Jonker edited this page Jan 23, 2026
·
8 revisions
This documentation describes how to migrate from the old SDK to this PHP-SDK.
Each section focuses on a specific feature and is based on the official SDK samples.
Step-by-step migration of starting a payment. Start payment migration
How to migrate the exchange / webhook handling. Exchange migration
How to migrate capturing an authorized payment. Capture migration
How to migrate refunds. Refund migration
How to retrieve transaction or order details using the new SDK. Get transaction migration
How to retrieve available payment methods using the new SDK. Payment methods migration
- The old SDK uses
config.phpfor configuration. - The new SDK uses the global configuration via
Configorconfig/config.global.php. - The exception
\Paynl\Error\Errorno longer exists and is replaced byPayNL\Sdk\Exception\PayException.