Support » Plugin: Paid Memberships Pro » Stripe Error Messages Localization

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Andrew


    Hi Marco,

    Thank you for using Paid Memberships Pro.

    Currently this is not supported and will require some custom coding to achieve, I have added this into our development schedule so it may be released in the near future.

    For the interim, here is a possible solution you may explore –



    Dear Andrew, thank you for answering,

    I have modified the function stripeResponseHandler(status, response) in the class.pmprogateway_stripe.php file, adding var errorMessages in my language end the line

    if ( response.error && response.error.type == ‘card_error’ ){

    alert(errorMessages[ response.error.code ] );
    jQuery(“.payment-errors”).text(errorMessages[ response.error.code ] );

    but if I upgrade the plugin I will loose everything, there is a filter for function.php file?
    Thank You, Marco

    Plugin Author Andrew


    Thank you for this Marco, unfortunately there is no filter for this at this point in time.

    I have added this to our development schedule available on GitHub

    Thank you for your understanding.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Stripe Error Messages Localization’ is closed to new replies.