killbill / killbill-adyen-plugin

Kill Bill plugin for Adyen
https://killbill.io
Apache License 2.0
10 stars 31 forks source link

Plugin info is not available in the payment transaction when CHARGEBACK is received #89

Open ghost opened 6 years ago

ghost commented 6 years ago

I order for us to do some business logic when a CHARGEBACK is received, we would like to access the information contained in the notification from Adyen. Similar information is provided in the AUTHORIZED notification for the original transaction of the payment, but no plugin information is available in the transaction for the CHARGEBACK.

I don't know if this is a bug or an enhancement.

pierre commented 6 years ago

I'm not quite sure what you are referring to: do you need more information on chargebacks when getPaymentInfo is called? If so, I think a PR exposing more plugin properties would be acceptable.

ghost commented 6 years ago

I need access to the information contained in the chargeback notification from adyen. I can see it in the adyen_notifications table, but I don't want to have to do SQL to get it. It would be nice to get this from paymentTransaction.getPaymentInfoPlugin().

pierre commented 6 years ago

Makes sense - feel free to submit a PR, I'll review it.