Skip to content

Stripe minimum charge amounts applied #4

@remcotolsma

Description

@remcotolsma

In MemberPress version 1.11.7 minimum charge amounts have been introduced:

1.11.7 – 2023-07-10

Fixed

  • Round up to Stripe's minimum charge for each currency if checkout amount is less than minimum allowed by Stripe

Unfortunately, as MemberPress applies these minimum amounts per currency, this change also applies to third-party gateways. This results in for example a payment of € 0,50 for a membership with a trial amount of only € 0,02.

memberpress-trial-amount

There is a filter mepr_minimum_charge_amounts in https://github.com/pronamic/memberpress/blob/v1.11.7/app/data/minimum_charge_amounts.php, but as far as I can see it is not possible or would be difficult to change the minimum charge based on the selected gateway — the product title in the screenshot for example is not updated when selecting a different payment method.

The easiest way to complete opt-out of the Stripe minimum charge amounts is by adding this filter:

\add_filter( 'mepr_minimum_charge_amounts', '__return_empty_array' );

Internal Help Scout ticket: https://secure.helpscout.net/conversation/2392565894/26308

Originally posted by @rvdsteege in pronamic/wp-pronamic-pay-memberpress#16

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    Status

    External

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions