Daniel Chase
Forum Replies Created
-
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] Ver 1.7.0 Issues1) Every time the checkout page is visited, the wc-poynt-checkout-block notice appears in the error log.
2) I do not use checkout blocks. My pages use the standard shortcodes (like [woocommerce_cart]).
3) If the FedEx plugin is disabled, that error goes away. See my posts above for more details.
4) This does not prevent the payment option from showing. Note that I do not use the pay-in-person option, nor have it enabled. If you are referring to the pay-in-person option not showing, I have no idea because I don’t use it.Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] Ver 1.7.0 IssuesSure. Ask away.
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] Ver 1.7.0 IssuesHere is the screenshot. https://ibb.co/FVJZYzS Note that the underlined links create a critical error message.
I have disabled the WooCommerce Fedex Shipping plugin and the error went away. The multiple configure links still remained.
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] GoDaddy Payments Payment FailedWonderful. Thanks 👍
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] GoDaddy Payments Payment FailedThanks, Kari. I do have the box checked for “show detailed declined messages.” I did a test entering the wrong billing address, and the error message is not detailed, “An error occurred, please try again or try an alternate form of payment.”
I will look at the Say What Plugin option.
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] GoDaddy Payments Payment FailedThis is the message it shows on the front end of the website, “An error occurred, please try again or try an alternate form of payment.”
Is it possible to change this message? For example: “An error occurred processing your payment. Please double-check that your billing address and zip code match what the bank has on file for this credit card. Then try again or try an alternate form of payment.”
Forum: Plugins
In reply to: [GoDaddy Payments for WooCommerce] GoDaddy Payments Payment FailedKari,
Thank you for the information!Thanks!
Forum: Fixing WordPress
In reply to: No longer can I use Edit Media to save thumbnail cropPerfect. Thank you for this.
Forum: Plugins
In reply to: [The Events Calendar] Change Events Category Archive- TitleAs far as the Yoast SEO integration. I noticed this not only affects the category list pages, but the archive list page as well. Is this a bug? Should I reach out to Yoast SEO to fix this?
Forum: Plugins
In reply to: [The Events Calendar] Change Events Category Archive- TitleThis plugin recently started overwriting Yoast SEO title tags in Event Categories. Using the supplied function, I have modified it to work for Yoast SEO:
// The Events Calendar Category Title Tag Fix to Show Yoast SEO Title function events_category_title_yoast( $title ) { if ( tribe_is_event_category() ) { $term = get_queried_object(); // Check if Yoast SEO is activated if ( is_plugin_active( 'wordpress-seo/wp-seo.php' ) ) { $options = get_option( 'wpseo_taxonomy_meta' ); // Check if the keys exist in the options array if ( isset( $options[$term->taxonomy][$term->term_id]['wpseo_title'] ) ) { $yoast_title = $options[$term->taxonomy][$term->term_id]['wpseo_title']; // If Yoast title exists, use it if ( ! empty( $yoast_title ) ) { return $yoast_title; } } } } return $title; } add_filter( 'tribe_events_title_tag', 'events_category_title_yoast' );
- This reply was modified 5 months, 3 weeks ago by Daniel Chase. Reason: found my own solution
WooCommerce version 8.1.1
WordPress version 8.1.1
Php version 7.4.33
Sorry no I have another plugins activated as well.
I like the staging site idea, but this does not occur with all transactions. That seems like a lot of work creating a bunch of test orders.
Another hint is that these errors do not correspond with completed orders. The timestamps of the errors are not even within 1 hour of a logged WooCommerce order.
Perhaps in the plugin code, you could add a null check before calling get_payment_method().
E.g. change line 143 from:
if (Plugin::PAYINPERSON_GATEWAY_ID === $order->get_payment_method()) { //Line of error
to
if ($order && Plugin::PAYINPERSON_GATEWAY_ID === $order->get_payment_method()) {
I also noticed that the toggle for “GoDaddy Payments – Selling in Person – Pay in Person” is greyed out, and I could not enable it even if I tried.
All of these fields are filled on the GoDaddy Payments settings page (wp-admin/admin.php?page=wc-settings&tab=checkout§ion=poynt_credit_card) with no notices or error messages. Payments have gone through, and it seems to work fine.
In response to the error, here is line 100 from “thankyou.php”/public_html/wp-content/themes/classter/woocommerce/checkout/thankyou.php”. Nothing that could cause the issue here:<p class="woocommerce-notice woocommerce-notice--success woocommerce-thankyou-order-received"><?php echo apply_filters( 'woocommerce_thankyou_order_received_text', esc_html__( 'Thank you. We have emailed you a receipt for this transaction.', 'woocommerce' ), null ); ?></p>
Thank you, Kari.
I do see “GoDaddy Payments – Selling in Person – Pay in Person” as an option in the WooCommerce settings. But I have NEVER enabled it.I don’t know about the Pay In Person setting in my GoDaddy Payments account, but it could be possible that it is enabled. However it is not something I remember enabling or nor do I need it.
The error is now reappearing again.
[13-Sep-2023 06:11:51 UTC] PHP Fatal error: Uncaught Error: Call to a member function get_payment_method() on null in xyz/public_html/wp-content/plugins/godaddy-payments/src/Gateways/PayInPersonGateway.php:143 Stack trace: #0 xyz/public_html/wp-includes/class-wp-hook.php(310): GoDaddy\WooCommerce\Poynt\Gateways\PayInPersonGateway->maybe_render_held_order_received_text('Thank you. We h...', NULL) #1 xyz/public_html/wp-includes/plugin.php(205): WP_Hook->apply_filters('Thank you. We h...', Array) #2 xyz/public_html/wp-content/themes/classter/woocommerce/checkout/thankyou.php(100): apply_filters('woocommerce_tha...', 'Thank you. We h...', NULL) #3 xyz/public_html/wp-content/plugins/woocommerce/includes/wc-core-functions.php(345): include('/home/customer/...') #4 xyz/public_html/wp-content/plugins/woocommerce/ in /home/customer/www/americanlaserstudyclub.org/public_html/wp-content/plugins/godaddy-payments/src/Gateways/PayInPersonGateway.php on line 143