Skip to content

Fix undefined array key "giftcard" in /Helper/GiftcardPayment.php on line 116#2883

Merged
candemiralp merged 7 commits intoAdyen:mainfrom
dimitriBouteille:2882-giftcard-key-not-found
Mar 19, 2025
Merged

Fix undefined array key "giftcard" in /Helper/GiftcardPayment.php on line 116#2883
candemiralp merged 7 commits intoAdyen:mainfrom
dimitriBouteille:2882-giftcard-key-not-found

Conversation

@dimitriBouteille
Copy link
Contributor

Description

This PR fix : Warning: Undefined array key "giftcard" in /Helper/GiftcardPayment.php on line 116.

Something the key giftcard is undefined (e.i: with Zip money gateway ?). Also check if key state_data exist for more security :)

Fixes #2882

@candemiralp
Copy link
Contributor

Hello @dimitriBouteille,

Thank you for your contribution. We will review the PR and let you know.

Best Regards,
Can

@candemiralp candemiralp merged commit 413aa46 into Adyen:main Mar 19, 2025
12 of 13 checks passed
@candemiralp candemiralp added the Fix Indicates a bug fix label Mar 19, 2025
@dimitriBouteille dimitriBouteille deleted the 2882-giftcard-key-not-found branch March 19, 2025 09:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Fix Indicates a bug fix

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Warning: Undefined array key "giftcard" in /Helper/GiftcardPayment.php on line 116

4 participants