Jo?o Faria
Forum Replies Created
-
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe webhook failing@matiasmarchetti @fhweb2019 @adriangzz
I have tried looking a bit for what may have caused this but didn’t find anything. Pretty annoying though. Do you guys want to try to join forces and we can try to solve this?
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe is supported in INDIA@bling007 mine is production too and I tried and it worked, but for Brazil. I can’t guarantee just adding the country will be enough for India, but in my case even just trying was better than being stuck for who knows how long with an older version of the plugin so to not have a completely broken production site ??
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Alguem usando no Brasil?Eu uso. No geral roda bem liso. Recentemente tenho tido problemas com webhook, e o update do 4.5.1 desabilitou uso no BR mas é só editar o arquivo do plugin e adicionar o país na lista. Abs
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe is supported in INDIATry just editing the file wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php and add your country to the list of supported markets.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Getting Error After Updating to 4.5.1Try just editing the file wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php and add your country to the list of supported markets.
Try just editing the file wp-content/plugins/woocommerce-gateway-stripe/woocommerce-gateway-stripe.php and add your country to the list of supported markets.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe webhook failingI mean, as I mentioned in the first post, the error is calling the constructor of a Singleton when getting the list of payment gateways in the webhook endpoint, but I don’t know why it would do that — i don’t see any errors in the checkout for instance, and looking in the code for the stripe plugin it adds another class in the payment gateway list, which is not a Singleton.
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe webhook failingHello @treibalen, thanks for following up. I specifically wrote the error in my first post. Also it is available in the hook log as I enabled errors in my PHP settings. This is from the pastebin:
Response
<br><b>Uncaught Error</b>: Call to private WC_Stripe::__construct() from context ‘WC_Payment_Gateways’ in <b>/################/wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php</b> on line <b>94</b><br>- init()<br><span class=”qm-info qm-supplemental”>wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:70</span>
- __construct()<br><span class=”qm-info qm-supplemental”>wp-content/plugins/woocommerce/includes/class-wc-payment-gateways.php:43</span>
- instance()<br><span class=”qm-info qm-supplemental”>wp-content/plugins/woocommerce/includes/class-woocommerce.php:817</span>
- payment_gateways()<br><span class=”qm-info qm-supplemental”>wp-content/plugins/woocommerce/includes/class-wc-api.php:139</span>
- handle_api_requests()<br><span class=”qm-info qm-supplemental”>wp-includes/class-wp-hook.php:286</span>
- apply_filters()<br><span class=”qm-info qm-supplemental”>wp-includes/class-wp-hook.php:310</span>
- do_action()<br><span class=”qm-info qm-supplemental”>wp-includes/plugin.php:531</span>
- do_action_ref_array()<br><span class=”qm-info qm-supplemental”>wp-includes/class-wp.php:387</span>
- parse_request()<br><span class=”qm-info qm-supplemental”>wp-includes/class-wp.php:737</span>
- main()<br><span class=”qm-info qm-supplemental”>wp-includes/functions.php:1105</span>
- wp()<br><span class=”qm-info qm-supplemental”>wp-blog-header.php:16</span>
- require()<br><span class=”qm-info qm-supplemental”>index.php:17</span>
Does it give any hints?
Forum: Plugins
In reply to: [WooCommerce Stripe Payment Gateway] Stripe webhook failingHi @treibalen, thanks for the quick follow up!
Here is the system status pastebin: https://pastebin.com/mMda6C9p
Looking at te Stripe dashboar webhook data I see 100% failures. I did’t find the button to send a test webhook, but here is a live one for charge.succeeded: https://pastebin.com/A9cidFYW
Regards