Repository navigation
v2.0.5
IpnSetupResponse Structure Correction
Updated IpnSetupResponse to match the actual Digistore24 API response structure.
Changed Properties:
created: Changed fromstringtobool(converts Y/N automatically)updated: Changed fromstringtobool(converts Y/N automatically)deleted: Changed fromstringtobool(converts Y/N automatically)
Added Properties:
domainId: Domain ID identifying the IPN connectionshaPassphrase: SHA passphrase for parameter signingipnConfigId: IPN configuration IDipnId: IPN ID
Removed Properties:
accountId: Not present in actual API responsefullResponse: Not present in actual API response
Implementation:
- Now uses
TypeConverterutility for Y/N to boolean conversion - Follows project conventions and utility class usage
created, updated, and deleted are now bool instead of string.
Migration:
// Before
if ($response->created === 'Y') { }
// After
if ($response->created) { }