• Resolved mtxz

    (@mtxz)


    Hello,

    I’m using, along with your plugin features, the included MangoPay PHP SDK (\plugins\mangopay-woocommerce\sdk\MangoPay) to make custom actions with the MangoPay API.

    I now want to create mandates, but the plugin integrated SDK does not have the ApiMandates.php file.

    Furthermore, the included SDK also use the \MangoPay\XX namespace: when including the latest (GitHub) version of the SDK (autoloader.php) it conflicts with the plugin SDK.
    Is so get the error “No HTTP resource was found that matches the request URI” as the mandates (\MangoPay\ApiMandates::Create()) and related configuration is not available in the plugin included SDK.

    Strangely, it seems the ApiMandates.php file has been added a long time ago.

    Is there any way to correctly update/override the SDK?
    – should I override the entire new SDK namespaces to be able to import it and use it along with the one of the plugin (would be a bad solution still..).
    – should I use composer to update the sdk version in the plugin, and prevent future plugin update to prevent bugs? (It would change files in the plugin folder)

    Thanks

    • This topic was modified 6 years, 2 months ago by mtxz.
    • This topic was modified 6 years, 2 months ago by mtxz.
    • This topic was modified 6 years, 2 months ago by mtxz.
    • This topic was modified 6 years, 2 months ago by mtxz.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author mangopay

    (@mangopay)

    Hello,

    The plugin doesn’t support mandates.
    We will have a look at it with the agency in charge of the plugin. But you might have to see with them for customised dev.

    All the best,

    Thread Starter mtxz

    (@mtxz)

    Hello,

    thanks.
    Do you know where I could contact them? I thought it would be you.

    Thanks

    Thread Starter mtxz

    (@mtxz)

    Note: this plugin prevents me to use the latest version of the PHP MangoPay SDK.

    Hi.
    Thanks for your answer.
    Though, that is not a question of supporting the mandates, as Mathieu explained above.
    We did develop custom code to integrate mandates into our platform.

    The problem is that you are using an outdated sdk that prevent us from using the new mangopay’s sdk to develop mandates.

    We would like you tu update the new version of the mangopay’s sdk (which will not change anything to what’s actually working well).

    Can we get in touch as soon as possible since it is an urgent query ?

    Many thanks

    Hi.
    It has been more than five days that we are waiting for an answer.
    Can you answer us asap please, so that we can keep going on implementing mandates by our own code ?

    We just need a solution on your side.
    Solution A : You can update the plugin with the updated version of the sdk.
    Solution B : You have another solution so that we can implement our own custom code.

    Many Thanks

    Hi.
    Can you please give us an answer on that point ?
    I do not understand that you do not reply to our questions.
    Thanks

    Plugin Author mangopay

    (@mangopay)

    Hi,

    As we have said already, we don’t do custom development. You can do some but neither MANGOPAY or the agency developing the plugin is responsible for doing so.
    We don’t officialy support the mandate feature, and we won’t in the coming release.
    Therefore if you want to use this feature you have to develop it yourself.

    Regarding the SDK update
    So far, we decided not to update the SDK as the previous version works perfectly. Updating an SDK is a long operation as it entails a long testing process.We won’t take the risk of affecting all our communities of user just for your personal needs.
    Therefore we invite you to update the SDK yourself.

    All the best

    Plugin Author mangopay

    (@mangopay)

    Please contact us directly for more enquiry

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Integrated MangoPay SDK seems outdated (Mandates)’ is closed to new replies.