You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
but if the notification is for example for a refund issued manually from the web Payu Manager Panel the POST data sent to the notifyUrl script is in this format:
It's a mess. I cannot use the same logic because the $response from the consumeNotification() returns an object with different methods and properties.
Is this intentionally and if so how to handle refunds like this using the notification handler script? Or the only way is a hardcoded POST data analyzer which will decide if this is a refund notification sent in different format than expected.
The text was updated successfully, but these errors were encountered:
I'm testing using the sandbox and for a finalized transaction the notification script passed as
notifyUrl
receives data POST data as array e.g.:In my notifications handler I can now check the status using e.g.
as mentioned in the readme.
but if the notification is for example for a refund issued manually from the web Payu Manager Panel the POST data sent to the
notifyUrl
script is in this format:It's a mess. I cannot use the same logic because the
$response
from theconsumeNotification()
returns an object with different methods and properties.Is this intentionally and if so how to handle refunds like this using the notification handler script? Or the only way is a hardcoded POST data analyzer which will decide if this is a refund notification sent in different format than expected.
The text was updated successfully, but these errors were encountered: