Skip to content

Read the IPN payment method from the method field - #14

Merged
hegedustibor merged 1 commit into
mainfrom
fix-ipn-method
Dec 3, 2026
Merged

hegedustibor merged 1 commit into
mainfrom
fix-ipn-method

Conversation

@hegedustibor

Copy link
Copy Markdown
Contributor

Mi változott

  • Az IpnMessage::fromArray() a fizetési módot mostantól az IPN method mezőjéből olvassa. A SimplePay hivatalos fejlesztői dokumentációjának IPN-példája (3.14 ipn, angolul és magyarul is) ezen a néven küldi; a csomag eddig a paymentMethod kulcsot kereste, ezért az $ipn->paymentMethod a hivatalos alakú IPN-nél mindig null volt.
  • A régi paymentMethod kulcs továbbra is működik, a $paymentMethod tulajdonság neve nem változott.
  • Új tests/Unit/IpnMessageTest.php fedi a hivatalos alakú IPN-t, a régi kulcsot és a hiányzó mezőt; az IPN feature-teszt a method mezős esetben a fizetési módot is ellenőrzi.

@hegedustibor
hegedustibor marked this pull request as ready for review December 3, 2026 16:18
@hegedustibor
hegedustibor merged commit 2ca2d1b into main Dec 3, 2026
24 checks passed
@hegedustibor
hegedustibor deleted the fix-ipn-method branch December 3, 2026 16:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant