-
Notifications
You must be signed in to change notification settings - Fork 132
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PayInRecurringId is missing in Payins (get) #546
Comments
Seems to me that all payin info specific to recurring pay-ins is missing from the API. Managed to avoid needing this by using hooks and performing CITs synchronously. |
Thank you for trying to help out here @chrs-myrs, and sharing your solution.
It's not missing from the API, only from the SDK. The API give you the all the information you need unless you looking for more than the RecurringPayinRegistrationId ?
I already have a system where I send an email to the customer warning him that his subscription is going to end, and that if he want to keep it, he need to renew it following the link or connecting to the platform. It's why I want to implement MIT in order to skip this step whenever a CIT is not required. I actually made a fork and made the changes I need to work with CIT / MIT, I just wanted to discuss what would be the best way to implement it to avoid updating my own code later, but this is just taking too much time. |
Hello @H4wKs, Thank you for the feedback. We are going to work on it this week. |
I just hope you're not making a first April fool joke here @fredericdelordm 😂 |
Any news / update / ETA about this @fredericdelordm / @SoloJr ? |
Hello @H4wKs, I was ooo these days. Let me circle back internally and get back to you regarding this |
Hi @H4wKs Feel free to create the pull request, and we'll decide together how we move on :) |
@SoloJr done :) |
Hey guyz,
While implementing recurring payment using the new CIT / MIT features, I noticed that MangoPay API return the PayInRecurringId on Payins (GET) calls, but unless I am wrong, this information is missing in the SDK for the payins_get function, and it would really nice to have this informations to avoid storing it earlier in the process before any valid payment have been done. I think it's also a problem that unless you store that information locally on creation, it's simply unavailable anywhere using the SDK.
The main reason of this behavious is that RecurringPayinRegistrationId was added to PayInRecurring which extend PayIn, but is therefore never returned on Payins get as this function return a PayIn object.
I am happy to help here, I can even make a PR, but I am not sure what would be the best way to go here.
What you think ? Any other idea @fredericdelordm @SoloJr of achieving this in a clean way ?
Cheers,
Marc.
The text was updated successfully, but these errors were encountered: