vinitabansal
Forum Replies Created
-
I am not sure how this can be a plugin and theme conflict issue when it occurred with twenty twenty four theme and only 2 plugins (woo and stripe). Can you please elaborate?
Hi,
Both these settings were the same even when the issue was reported. I had shared screenshot of the same earlier. So, I don’t believe it was a settings issue.
Thanks,
Vinita
Hi,
>> In the settings?of the?WooCommerce Stripe Payment Gateway?plugin
I don’t see stripelink as an option in my stripe plugin settings. Only gpay and apple are available. See this https://ibb.co/pR7vrWC.
>> In the related screen at dashboard.stripe.com
Shared earlier that this wasn’t enabled when I faced the issue.
What would be the next steps to identify the source of the issue so that we can prevent it from occurring again?
Thanks,
Vinita
Hi Shaheem,
Stripe link has always been disabled in stripe dashboard for me. I had shared a screenshot as well for it earlier. Sharing it again: https://ibb.co/0JyXKft
Is there something else to be done to disable it?
Thanks,
Vinita
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe error on billing details nameHi Shameem,
I did some debugging on the issue and I am getting the message even with a twenty twenty four theme and all plugins disabled except stripe payment and woocommerce. To make some progress on this issue, can you please help me understand what the error means and what is stripe expecting me to pass that’s not getting passed which is causing the error to occur.
Here’s the error message again for your reference:
“You specified “never” for fields.billing_details.name when creating the payment Element, but did not pass params.billing_details.name when calling stripe.createPaymentMethod(). If you opt out of collecting data via the payment Element using the fields option, the data must be passed in when calling stripe.createPaymentMethod().”
Can you also clarify what does it mean “You specified “never” for fields.billing_details.name when creating the payment Element.” I have not explicitly set “never” anywhere for billing_details.name. Is this the stripe default? Is there a way to change it?
Thanks,
Vinita
Hi Zubair,
I understand that there were no plugin updates. But please notice that no plugin or theme conflict could have occurred as well because I had shared screenshots showing the form fields not displaying with twenty twenty four theme and only 2 plugins enabled (woo and stripe payment).
Can you investigate into why stripe link was throwing the error that I had shared earlier even when it was disabled?
Unhandled payment Element loaderror Objecterror: message: “Link is not supported in your country.”param: “deferred_intent.payment_method_types”request_log_url: “https://dashboard.stripe.com/test/logs/req_DTr2dahIWi0Kqc?t=1719490390″status: 400type: “invalid_request_error”Prototype: ObjectPrototype: Object
Thanks,
Vinita
Please clarify the next steps on this issue.
Hi,
The issue resolved itself just like it happened 2 months back when I first reported it. Please see that I had faced this issue 2 months back as well and then one fine day it started working. This is the second time it has happened. 6 days ago when I checked and replied to this thread, it wasn’t working and today when I checked again, form fields are getting displayed and even button html in input field is not a problem anymore.
This is very weird behavior. Do you have A/B testing going on that could be causing it?
I need some clear understanding of what’s happening here and what could be the reason for it not working earlier. What do you think we can check to debug this further? My understanding is that it has to do with stripe link error that I was getting earlier. Were there any changes done on stripe link that resolved it?
To answer your earlier query, my store is in India, but I have tested it from NL, Japan and other countries and got the same behavior.
Thanks,
Vinita
Hi,
Do you want system status report with all plugins disabled except woo and stripe with twenty twenty four theme with the issue reproduced?
Thanks,
Vinita
Were you able to check this? Kindly update.
Found the root cause which appears to be a clear plugin issue, but need your confirmation.
Form fields display as expected once I disable the express checkout option in the stripe plugin. See https://ibb.co/K2sbT9Z.
This tells me that it’s link getting enabled by default under express checkout which not being supported for my country is throwing an unhandled error (see my previous reply for error details) and causing form fields to not display. Please check and confirm your understanding.
Thanks,
Vinita
Hi Shaheem,
Thank you for sharing the screenshot. As mentioned in my previous reply, the theme is already twenty twenty-four and all plugins except woocommerce and stripe are already disabled. The error persists even after clearing browser, site cache and following others steps in the status tools. Conflict plugin can’t happen because there are only 2 plugins on the site.
I noticed an additional error in console. See https://ibb.co/SRWGjJH:
Unhandled payment Element loaderror Objecterror: message: "Link is not supported in your country."param: "deferred_intent.payment_method_types"request_log_url: "https://dashboard.stripe.com/test/logs/req_DTr2dahIWi0Kqc?t=1719490390"status: 400type: "invalid_request_error"[[Prototype]]: Object[[Prototype]]: Object
Could this be the reason for form fields not displaying? As mentioned, link is not even enabled for me. See https://ibb.co/0JyXKft. So, I am not sure why it’s displaying this error. Can you please check this?
Thanks,
Vinita
Hi Zubair,
I have switched to twenty twenty-four theme, disabled all plugins except woocommerce and stripe.
To reproduce the issue, please follow these steps:
- Go to https://www.courses.techtello.com
- Click the buy now link with price $12.99. See this: https://ibb.co/Ln4yhnw
- You will be taken to cart page. Click proceed to checkout.
- Scroll down to the bottom of the checkout page. You will find that stripe form fields not being displayed. See this: https://ibb.co/w0N6XsP
Thanks,
Vinita
Hi,
SSR report shared earlier was without deactivating plugins. As mentioned earlier, the issue persists after deactivating all plugins except woocommerce and stripe.
Also, to clarify we are talking about 2 issues here:
- Stripe credit card form fields not dipslaying. Frame with card number, cvv etc renders empty.
- Button html text getting appended to label. (this issue is also reported by another user in another thread)
The image https://snipboard.io/Zwsr15.jpg shared does not have email address. Please confirm what test does it represent.
Can you please help with what can be done to fix issues #1 and #2.
Thanks,
Vinita
Hi,
Please find my response below:
>> Just to clarify, did you already test with a default theme active, like TT3, and see if the issue persists (always, with only WooCommerce and Stripe plugins active), or otherwise?
Yes, issue persists with even twenty twenty-four theme and only woocommerce and stripe enabled. See this screenshot: https://ibb.co/ZL7dW7V
>> Furthermore, feel free to peruse the related documentation (link here), on express checkouts, in order to customize Stripe Link at your site.
As mentioned earlier, stripelink is not even enabled in my account. There’s nothing else in the documentation that talks about why the html button code for stripelink is getting added to email label. https://ibb.co/HgX8QQL
See this file: https://github.com/woocommerce/woocommerce-gateway-stripe/blob/develop/woocommerce-gateway-stripe.php
It has this code that’s causing button html to be appended to label:
// Append StripeLink modal trigger button for logged in users.
$fields[‘billing_email’][‘label’] = $fields[‘billing_email’][‘label’]
. ‘ <button class=”stripe-gateway-stripelink-modal-trigger”</button>’;Could this be causing the issue?
Thanks,
Vinita