Hi! Yeah, I know it’s painful, but lot of has happen in Woo scene and as well as on my side. The pkugin will be launched hopefully within a month, but if you wish (and confirm which plugin are you using), I can give you a snippet where you can set the plugin price that will work with the current version.
Let me know
Karolina
@vyskoczilova Hi,
Perfect, I’d like to try the code.
Do you need this data?
– Pay for Payment for WooCommerce 2.1.8
– WooCommerce Stripe Gateway 9.1.1
Saludos.
Hi this one? <span style=”box-sizing: border-box; margin: 0px; padding: 0px;”>https://ww.wp.xz.cn/plugins/woocommerce-gateway-stripe/ (the name does not match, so I would rather ask for it).</span>
Could you try to add these two filters (and adjust the price if you want)?
add_filter( "woocommerce_pay4pay_stripe_amount", function ( $amount , $calculation_base , $current_payment_gateway , $taxable , $include_taxes , $tax_class ) {
return 100; // Get the amount you want to charge the fee.
} , 10 , 6 );
add_filter( "woocommerce_pay4pay_applyfor_stripe", function ( $do_apply , $amount , $calculation_base , $current_payment_gateway ) {
return true;
} , 10 , 4 );
Hi @vyskoczilova,
Yes, that’s the plugin I’m using.
Where do I add the code? In functions.php?
Saludos.
I’ve added your code to functions.php, but the PPW options are not showing up in Stripe.
“Could you try to add these two filters (and adjust the price if you want)?“
Sorry, I didn’t understand this line…
So those fields won’t be visible in the Stripe plugin?
I need 20% to be added to the final sale amount in the Stripe plugin. I think this line adds a fixed amount, right?
Also, in which field do you enter the custom message for that cost?
Saludos.
Hi @boomerangz that’s a good question, but there is no way to achive this through snippets since it will colide with the Stripe settings 🙁
Back than, this plugin was compatible with my plugin https://ww.wp.xz.cn/plugins/woo-stripe-payment/ you can test it if you wish, ortherwise I’ll get back to you with the new release. I will understand that you will switch eventually to other plugin, but in the old setup, I cannot help you.
My appologies
Karolína
Hi @vyskoczilova,
I understand. Your plugin is a solution for all payment methods, the one you mentioned would only help me with Stripe.
In any case, I prefer to add (temporarily) a tax directly from woocommerce, and wait for you to update your plugin. Thanks anyway for the information.
Saludos.
I see! Thanks for letting me know.
If you want to get notification about the beta test, register here: https://kybernaut.cz/en/plugins/woocommerce-pay-for-payment/testing-v2/
Best regards,
Karolína
@vyskoczilova, registered.
Thank you.
Hi @vyskoczilova
Do you have any news about the new version?
Saludos.