[ad_1]
Hi @gamernamer
That error is indicating the JSON that’s rendered in the payment gateway HTML is not present. The Stripe plugin outputs that JSON when the payment button HTML is printed so something is up.
Can you please share a link to the product page where this can be re-created?
Kind Regards
Thanks for your detailed answer!
Kinda strange because we are using the code for a year now and it worked perfectly but the problem was in our code.
// Hide Google and Apple Pay if lumise or redirect button
jQuery(function($) {
if ($(".lumise-customize-button").length > 0 || (".redirect-add-to-cart-button").length > 0 ){
$('.wc-stripe-product-checkout-container').remove();
};
}); We forgot to add the $ in the second if parameter. That fixed the bug.
Thanks for your answer!
Best
Justus
