Background of the issue:
I am trying to show the default PayPal checkout buttons from the WooCommerce PayPal Payments plugin while limiting the payment method to only Germany. The issue can be seen on this page: hidden link if you check out and choose to ship to Germany. You can choose the payment method but there are no checkout button.
Symptoms:
The PayPal checkout buttons are not showing when I limit the payment method to a specific country, in this case, Germany. I expected to see the buttons, but instead, I got no buttons.
Questions:
Why are the PayPal checkout buttons not showing when limiting the payment method to Germany?
You are almost there! Please select "Germany" as the customer country. After that, you will get a PayPal payment method. Please select the method and see that the checkout/pay button is missing.
Good to hear that it is the same at your end. So.. How do I get the button back? As I said, if I do not limit the payment method to countries, the button is showing correctly ad shown in the attached image.
I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified.
Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements.
Your upcoming reply will be treated with confidentiality and will only be visible to you and me.
✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup.
I will not be able to give you that. The site is 40GB+ and I have tried several times to make a test site, but it will always fail. Additionally, I cannot give you access to a server with thousands of customer information.
Could you please test the plugin in your own end and see if the problem also happens on a dummy site?
Thanks for your reply. I've prepared a sandbox site for you here hidden link and could you please replicate the issue over there so that I can troubleshoot this further for you?
1. Start using incognito mode.
2. Please go to the product: hidden link
3. Add it to the cart
4. Go to checkout: hidden link
5. Choose Germany/Deutschland as Shipping Country
6. Choose PayPal as the payment method.
7. Realize that there is no button to proceed.
Only happens when the payment method is limited to a specific country.
Thanks for your reply. I've edited the payment method in the German language as shown in the attached screenshot, and now I can see the PayPal button in the German checkout page. Is this what you're trying to achieve?