202ecommerce / paypal

This repository is for developpers only. To install and upgrade the module in a production shop please install the package via PrestaShop Marketplace by following this link:
https://addons.prestashop.com/fr/paiement-carte-wallet/1748-paypal-officiel.html
Academic Free License v3.0
20 stars 31 forks source link

Payment Action configuration option is missing #264

Open cruftex opened 1 year ago

cruftex commented 1 year ago

Describe the bug and add screenshots

I don't have the option of "Payment Action" in my configuration menu, although it is described.

Screenshot_20230827_123559-paypal-setup

It might be that my configuration has issues, since I did the connect in "All shop" mode but switched then to a single shop, when I realised that the configuration options in "All shop" have no effect.

Expected behavior

Configuration option is present. If, for some reason, this option cannot be changed, there should be information about it and details about what mode/action is actually used.

Steps to reproduce

  1. Multi store setup
  2. connect to Paypal in All shop mode
  3. switch to single shop
  4. run through the setup wizard
  5. "Configure the module"

PrestaShop version(s) where the bug happened

8.0.4

PHP version(s) where the bug happened

No response

kgleizes commented 1 year ago

Hello @cruftex

Thank you for your feedback, the Payment Action is displayed depending the country.

This option is not available when the shop in the context (PS_COUNTRY_DEFAULT) is Germany.

It seems that this is the case here on your configuration, and the "All Shops" country default is different than the single shop mentionned.

I understand that it could be a little strange in this situation, but the final decision is to hide it for Germany and that's not an issue of the module but excepted behaviour for the configuration.

Perhaps the help text could be improved to not display this help or explain the default configuraton forced for germany.

cruftex commented 1 year ago

@kgleizes Although I cannot change it, I still don't know which behaviour is now happening.

If an option is not available, from a UX experience I would recommend printing the option in effect greyed out/unselectable and adding "Cannot be changed in this country"

Since type of payment action is quite fundamental, I find it crucial to know what the module is doing and seeing that it is correctly setup.