Support » Plugin: Payment Plugins for Stripe WooCommerce » FPX doesn’t work with WC Subscriptions

  • Resolved michoscopic

    (@michoscopic)


    Hi, thank you for building this plugin, it’s much better than the official Stripe plugin lol.

    Anyway I was testing out the FPX function and though it works for one-off purchases, I can’t get it to work with WooCommerce Subscriptions. For example https://betweenthelines.my/product/test/ (pw 1234), trying to check out via FPX will result in the error:

    'setup_future_usage'cannot be used with one or more of the values you specified in 'payment_method_types'. Please remove 'setup_future_usage' or remove these types from 'payment_method_types': ["fpx"].

    I would super appreciate if you could add this functionality in your plugin. Happy to help beta test it for you! Thanks in advance 🙂

    • This topic was modified 1 year, 4 months ago by michoscopic. Reason: formatting
    • This topic was modified 1 year, 4 months ago by Yui.

    The page I need help with: [log in to see the link]

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author mr.clayton

    (@mrclayton)

    Hi @michoscopic,

    Thanks for contacting us. FPX doesn’t support recurring payments and so we are not able to add that functionality in the plugin.

    https://stripe.com/docs/payments/fpx

    The FPX Gateway does not register support for subscriptions so it should not be displayed on your checkout page when there is a subscription in the cart. On your site it does appear which would indicate you have added some custom code to bypass the support check. Because FPX doesn’t support recurring payments you should remove the custom code that is displaying FPX.

    Kind Regards,

    Thread Starter michoscopic

    (@michoscopic)

    I see, thanks for the super fast response. How do other payment gateways do auto-debit though? Are recurring direct bank transfers completely not possible in any way with Stripe?

    I enabled FPX on the test page by enabling Manual Renewals in the WC Subscriptions settings. No custom code.

    Plugin Author mr.clayton

    (@mrclayton)

    @michoscopic

    Other payment gateways such as Apple Pay or Google pay use credit cards and can be stored as a payment method in Stripe and used for recurring payments.

    Stripe’s integration with local payment methods like FPX result in one time use tokens. Therefore they cannot be saved and used multiple times for a recurring payment method.

    However manual renewals implies you would be sending a renewal order email to your Customer yes? Can you elaborate on what your business process will be using manual renewals?

    Kind regards,

    Thread Starter michoscopic

    (@michoscopic)

    The website is a subscription to a newsletter. Manual renewals would result in customers getting a renewal invoice every month, which they have to manually click Pay Now which brings them to the Checkout page for manual checkout.

    Thread Starter michoscopic

    (@michoscopic)

    Credit card users would still auto-renew.

    This Manual Renewal would only be for FPX transactions – when they get the renewal email every month, they click the Pay Now link and go to Checkout and initiate a fresh order checkout.

    Plugin Author mr.clayton

    (@mrclayton)

    @michoscopic,

    Thanks for the explanation on your business process. I will have to add some additional code to the plugin to account for this scenario.

    I’ll add that in the next release.

    Kind Regards,

    Thread Starter michoscopic

    (@michoscopic)

    That’s awesome! Thanks so much and I look forward to the next release 😀

    Thread Starter michoscopic

    (@michoscopic)

    Hi mr.clayton, just to check, is this what was added in v3.1.4?

    Plugin Author mr.clayton

    (@mrclayton)

    Yes

    Thread Starter michoscopic

    (@michoscopic)

    Awesome stuff, thanks so much! Will try it out!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘FPX doesn’t work with WC Subscriptions’ is closed to new replies.