Express checkout error. | WordPress.org

[ad_1]

Hi @tarigs

Actually, you should then automatically go to the checkout page and agree to the terms and conditions and data protection. Instead you are redirected to the product page and the message appears at the top: “Please take note of cancellation policy to proceed with your order.” How can I solve the problem?

That is neither a validation nor a message that is coming from our PayPal plugin. It sounds like you have some plugin that’s triggering that message during the checkout process.

My recommendation would be to work your way through the active plugins on your site and track down which one is responsible for that notice.

Kind Regards

Thread Starter
tarigs

(@tarigs)

The error message comes from wordpress and is actually displayed directly in the checkout if the checkbox is not clicked. Actually, PayPal must redirect to the checkout, not to the product page. I think here is the problem.

Is it possible to reset the plugin?

  • This reply was modified 20 hours, 51 minutes ago by tarigs.

Actually, PayPal must redirect to the checkout, not to the product page. I think here is the problem.

Anytime there is a required field that a value is not provided for, the PayPal plugin will redirect the user to the checkout page. That’s because the checkout page is the only page in which a value for that required field can be provided.

It sounds like you have some custom checkbox on your checkout page. During the checkout process, WooCommerce validates that all required fields have a valid value. Your custom field is failing that validation since your product and cart page don’t have that checkbox. Thus, the PayPal plugin redirects to the checkout page so the customer can provide a value for that required field.

The same goes for the Express Checkout on your checkout page. If you are clicking that PayPal button before checking the required checkbox, then the validation will fail.

Kind Regards

Thread Starter
tarigs

(@tarigs)

OK thanks! How can I solve the problem?

How can I solve the problem?

I don’t believe this is a problem, it’s simply the result of you having a custom required checkbox on your checkout page.

You could make the field optional or just offer PayPal on the checkout page and not the product, cart, or express checkout sections.

It’s not the PayPal plugin that’s causing the validation to fail. Per my previous replies, WooCommerce validates that all required fields have a valid value during the checkout process.

Kind Regards

Thread Starter
tarigs

(@tarigs)

Thank you!! I have solved the problem now. There is now only the “normal” general terms and conditions checkbox. Everything works via the normal checkout and you have to activate the checkbox. With Express Checkout you can place the order without having to activate the checkbox afterwards. Can you give me a hint on how I can change this?

With Express Checkout you can place the order without having to activate the checkbox afterwards. Can you give me a hint on how I can change this?

The terms and conditions checkbox is checked if you use express checkout. If you don’t want that then I recommend not offering express checkout as an option on your checkout page since adding additional steps to your checkout defeats the purpose of an express option.

Thread Starter
tarigs

(@tarigs)

Perhaps this can be changed in the future. I agree with you that it is more practical in another way. But according to German law, unfortunately, it may not be applied that way.

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer