• Resolved ITSPaul

    (@itspaul)


    Hello,

    I am trying to implement some code in my function.php where it adds a a 2.9% fee if paid by credit card via this plugin. In order to do this I will need to obtain the exact ID used by this Stripe payment plugin. Would you happen to know this?

    Thank you

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @itspaul,

    Greetings from WebToffee support. Thank you for reaching out to us.

    You may use this hook to alter the charge parameters that are being sent to Stripe: eh_stripe_payment_intent_args.

    Let us know if you require any further information.

    Thread Starter ITSPaul

    (@itspaul)

    Hello there,

    Thank you for the information. Would you happen to know how I can accomplish this with the given hook? I was hoping to get the plugin ID instead but I guess thats not the right way to do it?

    Thank you

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @itspaul,

    We can look into the possibility of adding the 2.9% fee to the credit card payment method. We will get back to you soon.

    Thanks in advance for your patience.

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @itspaul,

    Thank you for your patience. We have made a code snippet to add a fee of 2.9% when the Stripe card payment method is used. 

    Please copy the code snippet from here and paste it into your active theme’s function.php file (WordPress Dashboard > Appearance > Theme Editor > functions.php) or you can use a?Code Snippet plugin to do that for you.

    Kindly check using the code snippet and let us know how it goes.?

    Plugin Support WebToffee Support

    (@webtoffeesupport)

    Hi @itspaul,

    This thread has been inactive for a bit. We believe your issue is resolved, so we are going to mark it as resolved now. Please feel free to open a new thread or follow up if you have any further questions or still need help.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Obtaining payment ID for use in function.php’ is closed to new replies.