mangopay2-python-sdk icon indicating copy to clipboard operation
mangopay2-python-sdk copied to clipboard

[Recurring Payments] total_amount has a wrong field type && event_type in Notification doesn't support the event hooks for Recurring payments

Open medea-learner opened this issue 2 years ago • 1 comments

Hello, Here are two problems I faced when I dealt with the recurring payments : 1 - When I set a value for frequency in a RecurringPayInRegistration object and try to save, the response from the mangopay api includes total_amount which is of type Money not integer but it seems not well treated in the RecurringPayInRegistration model (RecurringPayInRegistration/total_amount) 2 - When I tried to use Recurring PayIn Registration events to update the status of my corresponding objects in my db, I did get nothing, when I checked the Notification model I realized that the event type field doesn't support the events of Recurring PayIn Registration (Notification/event_type and EVENT_TYPE_CHOICES)

I hope you'll get to fix them very soon

medea-learner avatar May 25 '22 13:05 medea-learner

Hello @medea-learner,

We are looking into it. Have a nice day,

fredericdelordm avatar May 25 '22 13:05 fredericdelordm