View Issue Details

IDProjectCategoryView StatusLast Update
0006097module PayPalmodule PayPal - subpublic2023-06-29 09:19
ReporterJaroslavHerber Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionopen 
Product Version3.2.1 
Summary0006097: Visibility of paypal-paying-method should depend on billing-country, not alternate delivery-country!!!
DescriptionAs I already described in 0004693 (last comment), the showed payment-methods should always depend on the billing-country, no matter if there is an alternate delivery-address!

The faulty behaviour should be fixed in ...
- oxPaymentList::getCountryId() and
- oePayPalPaymentValidator::_checkUserCountry()
Steps To ReproduceLook at 0004693 (last comment)
Additional InformationRelated to 0004693

Possible solution:
oePayPalPaymentValidator::_checkUserCountry():

...
if ($aCountries) {
  $blIsValid = false;
  $oUser = $this->getUser();
  foreach ($aCountries as $sCountryId) {
    if ($sCountryId === $oUser->oxuser__oxcountryid->value) {
      $blIsValid = true;
      break;
    }
  }
}
...
TagsPayment, PayPal

Relationships

related to 0004693 confirmedSvenBrunk OXID eShop (all versions) Wrong List of payment methods offered in Checkout - Bug 0002934 was closed but error persists 

Activities

SvenBrunk

2023-06-29 09:19

manager   ~0015328

Since the old PayPal module is now obsolete and succeeded by the PayPal Checkout module, we will unfortunately not implement new features or bugfixes for it. If you think this is also relevant for the new PayPal Checkout module, please create an according bug ticket in that category again.