WooCommerce stripe payment form not translating on checkout page - woocommerce

I am using WooCommerce payment method Stripe for checkout Credit card and for translation I am using Weglot https://weglot.com/ Plugins everything is translating and working fine except the Stripe Fields Labels Like
Carte bancaire = credit card
Giropay = giropay
Numéro de carte =Card number
Expire le = Expires on
I also tried using Jquery But it's not working for more detail please check the attached screenshot.

The Stripe Payment Element is in an iframe and is not meant to be manipulated programmatically. While it supports localization, you'll need to work with WooCommerce for help with how to make that work in your own integration.

Related

Woocommerce: How to customize Pay Page "order-pay endpoint" content

I'm using a payment gateway that sends me to the checkout payment end point of woocommerce. But woocommerce presents its content in a very simplified way and I need to add some additional information like custom text, summary of ordered products.
I'm using Elementor Pro for the checkout page, but it only allows me to customize the "Order received (thanks)" endpoint!
I've searched a lot for a solution, but I can't find how to do it!
Can anyone help me please?
Thank you!

How to change Paypal item name from WooCommerce order?

I am using WooCommerce and Paypal gateway. I would like the Paypal order details to be different (best would be just the order number) from the item on the WooCommerce store. I tried codes i found on this website from 2+ years ago but they are not working.
There might be an invoice prefix setting, within the settings of the PayPal payment method you are using in WooCommerce.
If there isn't such a setting, you will need to edit code to change it. What exactly will depend on what PayPal payment method for WooCommerce you are using. There are many available.

build REST API for WooCommerce for mobile apps

we are building the REST API for WooCommerce and we want to add a product to user's cart. For that we have used Cart API for WooCommerce but it doesn't seems to working for us as it doesn't giving any option to set user_id along with the data so we are facing issues with mobile app and website syncing. We want to make it generalize like if user is using mobile and adds product to cart, it should be remain in the cart if login from web too and it's seems not working for us
Any help will be appreciated for it
Thanks in advance
Woo-commerce cart items is temporary store in session so you can not get items using REST API, for that you have to make a custom table of cart then store details in your custom cart table using REST API.

Change WooCommerce Stripe Gateway description text

I have a site that's using WooCommerce & the WooCommerce Stripe Gateway plugin to handle payments through Stripe.
Currently when Stripe is selected at the checkout stage a message shows saying "Pay with your credit card via Stripe", is there a way of changing this message? I basically want it to say "Pay with your debit or credit card via Stripe" so it's clear it's not just credit card payments that are taken.
The best way I've come up with is to add an if statement into the /checkout/payment-method.php file that will output $gateway->payment_fields(); for all payment methods except Stripe & hard code the output for Stripe instead.
Is there anyway of just altering the output of $gateway->payment_fields(); instead? As that would be a 'cleaner' way of doing it. I've tried storing $gateway->payment_fields(); to a variable then outputting it using a str_replace() but it appears $gateway->payment_fields(); just echos out its contents rather than returns it.
It's an admin setting. WooCommerce>Settings>Checkout>Stripe

WooCommerce add delivery date as hidden product in checkout (Third party payment gateway)

Im developing an e-commerce site with wordpress and woocommerce 2.1. Im using a third party payment gateway (Klarna Checkout) which doesn't offer the customer to specify a delivery date/time. I need to make this feature available but the problem is that the gateway only sends the order-meta from their form, which doesn't offer a date field, when the order is completed. In other words, the standard checkout fields in woocommerce won't be passed to the final order.
My idea of solution is to add a hidden free product called Time, with variations for different time spans, on the checkout page and automatically add this product(with selected variation) to the cart when a customer selects a variation. The specified time would then show as a ordered product when viewing the order in wordpress. How could i do this?
If anyone has a better idea of how to solve this problem feel free to contribute :)
Thanks!
Try this free plugin that adds a delivery date on the checkout page: http://wordpress.org/plugins/order-delivery-date-for-woocommerce/

Resources