Home › Forums › Space themes support forum › checkout page payment error
checkout page payment error
- This topic has 2 replies, 2 voices, and was last updated 3 weeks ago by
Luke Nielsen.
-
AuthorPosts
-
August 19, 2025 at 11:30 am #681020
JohnParticipantHello guys,
We are using Vega theme from you and we have an issue on checkout page.
When I m trying to make an order we receive this error message. https://imgur.com/a/H2ZiZU8
“There was an error processing your order. Please check if there are any receipts from your payment method and review”
On some websites we have the same issue but for woodmart theme and it’s fixing by modify the code to: woodmart/inc/integrations/woocommerce/functions.php
And the issue it’s at line 3001. I have fixed with the code below./**
* Add custom CSS for Woodmart emails.
*
* @param string $css WooCommerce email CSS code.
* @param WC_Email|null $email Email object or null.
*
* @return string
*/
function woodmart_enqueue_emails_styles( $css, $email = null ) {
$woodmart_emails_list = apply_filters( ‘woodmart_emails_list’, array() );if ( $email && in_array( get_class( $email ), $woodmart_emails_list, true ) ) {
ob_start();
wc_get_template( ’emails/wd-email-styles.php’ );
$css .= ob_get_clean();
}return $css;
}add_filter( ‘woocommerce_email_styles’, ‘woodmart_enqueue_emails_styles’, 10, 2 );
}Can you please check and help me with this?
I can t find this code in vega theme. And also can t fix this https://imgur.com/a/B4MUdXuThank you!
August 19, 2025 at 11:57 am #681034
JohnParticipantI have managed to solve the issue with this function:
function xts_enqueue_emails_styles( $css, $email = null ) {
$xts_emails_list = apply_filters( ‘xts_emails_list’, array() );if ( $email instanceof WC_Email && in_array( get_class( $email ), $xts_emails_list, true ) ) {
ob_start();
wc_get_template( ’emails/xts-email-styles.php’ );
$css .= ob_get_clean();
}return $css;
}
add_filter( ‘woocommerce_email_styles’, ‘xts_enqueue_emails_styles’, 10, 2 );
}I have modified in themes/xts-vega/framework/integration/woocommerce/functions/global.php the last function from the file.
Maybe you can make a fix for the space themes and woodmart.
Thank you!
August 19, 2025 at 12:47 pm #681050
Luke NielsenKeymasterHello,
1. First, disable all plugins that are not related to the theme, then check this post – https://satisfyhost.com/blog/fix-there-was-an-error-processing-your-order/ , install an SMTP Plugin and specify what errors you receive when creating a new order to understand the cause of the error.
2. Errors in WC status regarding template versions will be fixed after accepting patches numbered –
675855
and681042
, after which you need to go to Woocommerce -> Status -> Tools -> Clear system status theme info cache – https://monosnap.com/file/Nohf5YCa01cQfO8mXQsOALjI5sczirKind Regards
-
AuthorPosts
- You must be logged in to create new topics. Login / Register