Closed AmityTek closed 1 year ago
Any idea ? its urgent ...
That error means that there is a MerchantCategoryCode
field in the webhook payload, that is not documented by Viva. What needs to be done is to add MerchantCategoryCode
property to the TransactionPaymentCreated
class. If it's urgent you can submit a PR and I will merge it ASAP.
You can check this commit for example: https://github.com/sebdesign/laravel-viva-payments/commit/54cb738570748f56ae3e4fa1f0c89a9c475fe12f
OK thanks Let me check
Fixed in v6.0.2
Hey,
I have one issue regarding transaction payment created.
local.ERROR: Unknown named parameter $MerchantCategoryCode {"exception":"[object] (Error(code: 0): Unknown named parameter $MerchantCategoryCode at /vendor/sebdesign/laravel-viva-payments/src/Events/TransactionPaymentCreated.php:92)
i have this error, but I followed all documentation; I have this
and this in my controller
and mywebhookListener:
Anyone has idea why isn't working ?