Change WooCommerce Stripe Gateway description text - wordpress

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

Related

Change accepted payment icons after each payment method

I'm trying to add an image after the Stripe payment method inside woocommercein a similar fashion to paypal.
I've found a possible duplicate question - Change payment card icons for WooCommerce Stripe in checkout
But this question appears out of date as it suggests there are some card icons available & they just need re-ordering.
I have tried the code in this question but it has no effect.
I've read that Stripe have removed the icons & replaced it with a single icon which appears as you begin to enter your card details, which seems to be true:
Can anyone please advise how to add a similar graphic after Credit Card (Stripe)?

WooCommerce - Paypal Amount Error after shipping costs discount

Good morning.
Thanks to the code provided here WooCommerce - get shipping country for non registered user I managed to add the correct discount to my checkout.
A brief resume: I had to discount the full shipping cost in case the order comes from specific country. But I cannot use the standard free shipping procedure, because I have to know the amount of the shipping costs to use it somewere after the checkout. That's why I added the some code to apply a negative fee to the woocommerce_cart_calculate_fees hook.
When I try to pay via PayPal I receive this error "https://www.paypal.com/webapps/shoppingcart/error?flowlogging_id=IDd&code=AMOUNT_ERROR&mfid=MFID"
I believe that PayPal does not evaluate the new total amount.
I tried to echo the $cart->total value inside woocommerce_after_calculate_totals hook, and it's OK.
So Paypal is looking at another value...
What can I do?
This is what I get (sorry for the partial translation)
Thanks!
PayPal evaluates what you send it -- so, review a log of what your browser is actually sending in the request. Use the Dev Tools 'Network' tab.
And try the latest PayPal for WooCommerce plugin, which has an option to enable Smart Buttons that use an API instead of redirecting with the amount, among other things: https://woocommerce.com/products/woocommerce-gateway-paypal-checkout/

Order send to email rather than checking out

I am using WordPress woo commerce on my website. I want my orders sent to email rather than checking out to paypal. I am selling medicine and paypal doesn't allow their services for websites that are dealing with medicine. So I want my orders straight to my email and where I can contact users.
I want to know Is it possible to do it with woocommerce?
Is there any plugin which can do that?
Any help would be appreciated.
Thanks in advance. :)
In WooCommerce->Settings->Checkout, disable all payment options except for "Cash on Delivery".
Then change the title to something like "Pay by Phone" and in the Description and Instructions fields something like "Call 123-456-7890 to complete your order." then the order will be placed, but they have to call to complete payment.
Or you can change the wording to indicate that you'll call them. Just make sure that the phone number field is required if you take that route.

Embedding pay now button

I currently use Big Cartel for my online shop. Big Cartel is a web-based eCommerce solution specifically designed to help artists, whether musicians or crafters, sell their merchandise online easily. So when customers order my products online they can checkout through big cartel which they have an option to use PayPal after trying name, address, email address, etc, however, to add a more efficient/speedy checkout so they don't have to type out all of their info, I embedded a PayPal express button. The problem is when they order by clicking the pp button, it doesn't take away from my current stock resulting in overselling. It's acting like a separate entity and I can't see what they actually purchased- Only a PayPal message that they sent me funds. Obviously I want to avoid overselling and need to know how to get the PayPal button to collaborate with my big cartel shop when someone purchases with the "pay now" PayPal button. Is there an additional code I'm missing? Any advice and help with this issue is very appreciated! (This is the first time I've used code and inserted anything before so I'm not tech lingo savvy)
You must verify that you have entered your PayPal API information in Big Cartel settings. You should also add "Return URL" in your Admin Panel.
I would also suggest you to use Sandbox and test it yourself so you don't have to worry when real orders come in.
The API login credentials look like this:
USER=API_username
PWD=API_password
SIGNATURE=API_signature

wooCommerce wirecard plugin giving issues

When after selecting wired card as a payment option in the checkout page,
instead of redirecting to the wiredcard checkout page. I get an incomplete form error saying please select a payment type.
Any idea what's wrong?
on the wirecard checcout settings i have selected two types of payments . i.e credit card and maestro
Also one more thing when I used the iDeal Payment option it will give me the error: payment type is not activated.
Please add the secret key and customer id number in backend side.

Resources