• Dear plugin developer,

    At this moment the plugin doesn’t store the used payment method in the entry.
    Instead, it’s saving the string ‘Mollie’ as the used payment method.
    This is the payment provider, and not the method.

    I’ve got a few ideas for how to add the payment method to the entry.

    Option 1:
    Add an action after retreiving the payment details so users can perform their own action there.

    class-fg-mollie-.php
    public function callback()
    Line 367

    do_action( 'gform_mollie_payment_retreived', $entry, $payment );

    Option 2:
    Pass the payment method to the payment_method parameter, instead of the payment provider name.

    class-fg-mollie-.php
    public function callback()
    Line 381

    `
    $action[‘payment_method’] = $payment->method;
    `
    And could could still pass the payment provider using the following (just before returning the $action):

    gform_update_meta( $entry['id'], 'payment_provider', 'Mollie');

    I hope this can help you, if any more information is required feel free to ask!
    have a nice weekend!

    Menno

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Petra Blankwaard

    (@indigonl)

    Hi Menno,

    We will add this feature in the next plugin update. It is a small adjustment so we will combine this with other small adjustments. I expect we will finish the next upodate in +/- 4 weeks.

    Ciao, Petra

    Plugin Author Petra Blankwaard

    (@indigonl)

    Hi Menno,

    We added a gform_mollie_payment_retreived action in version 1.11.1

    Ciao,
    Petra

    Thread Starter Menno van den Ende

    (@mennoll)

    Hi Petra,

    Thank you for the update!
    I’m looking forward to using it.

    Have a nice day :).

    Menno

    Thread Starter Menno van den Ende

    (@mennoll)

    Hi Petra,

    I’m a little bit curious :), do you know if there is a release schedule available for this update?
    Then I can plan when I’m able tot test, implement and release this in the website of our customer. We would like to use this action to save more payment data as well, which we need to go live with the website.

    Thanks in advance, have a great weekend!

    Menno

    Plugin Author Petra Blankwaard

    (@indigonl)

    Hi Menno,

    We released the update today.

    Ciao,
    Petra

    Thread Starter Menno van den Ende

    (@mennoll)

    Hi Petra,

    Amazing, thank you!
    Have a nice weekend 😀

    Menno

Viewing 6 replies - 1 through 6 (of 6 total)

The topic ‘Add option to get used payment method’ is closed to new replies.