Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Frans Lammers 57 posts 400 karma points c-trib
    Jan 24, 2023 @ 13:51
    Frans Lammers
    0

    Vendr - passing paymentMethod to Mollie

    Hi Matt,

    We are upgrading a project from using TeaCommerce to Vendr 3.0.4 in Umbraco 10.2.1.

    When we first build the site there was no paymentprovider for Mollie available so we made our own. Now we would like to use the available paymentprovider.

    Normally when the customer is redirected to Mollie he starts on a page where the paymentmethod within Mollie is chosen, like Ideal or PayPal. In our project we wanted to avoid that extra paymentmethod selection. In order to do that we made a call to the Mollie-API before the checkout to get all available paymentmethods, so that after the checkout we could send the Id of the Molliepayment direct to Mollie.

    Can you tell me if the same is possible in the current paymentprovider for Mollie? If so, which field do I have to use to pass the Id of the chosen Mollie paymentmethod?

    Thanks,

    Frans

  • Matt Brailsford 4124 posts 22215 karma points MVP 9x c-trib
    Jan 24, 2023 @ 14:05
    Matt Brailsford
    100

    Hi Frans,

    Hmm I don’t think we go to that extent, however we do have a “Payment Methods” advanced setting you can configure to state which methods you want to support. The only thing I’m unsure of is if you just choose one, will Mollie skip the selection screen. You may need to test this.

    https://github.com/vendrhub/vendr-payment-provider-mollie/blob/v2/dev/src/Vendr.PaymentProviders.Mollie/MollieOneTimeSettings.cs#L69

    Failing this, the code for this provider is on our Github page if you need to customise it.

    https://github.com/vendrhub/vendr-payment-provider-mollie/

  • Frans Lammers 57 posts 400 karma points c-trib
    Mar 23, 2023 @ 14:20
    Frans Lammers
    0

    Hi Matt, a little late, but thanks for your answer. Passing a method in the advanced settings works indeed: Mollie skips the selection screen. That leaves me with one question that is sidely related to this, so I made a new entry for this: Is it possible to add a custom property to a paymentmethod?

    thanks! Frans

Please Sign in or register to post replies

Write your reply to:

Draft