Jump to content

eternalone

Members
  • Posts

    10
  • Joined

  • Last visited

Profile Information

  • First Name
    U
  • Last Name
    G

Recent Profile Visitors

331 profile views

eternalone's Achievements

Newbie

Newbie (1/14)

6

Reputation

  1. you have to use FTP to access that file, it's not accessible via prestashop admin
  2. standard.txt Here is my version of the standard.tpl file, don't overwrite your own, or back up if you do, i am on v1.6.09, you can take a look at how i modified the file there. note that the country input is after State id_state input
  3. for you it's still not sending the country code and address2 is not fixed, make sure you modified the correct file
  4. you can put right after the address2 code on the next line
  5. check if your system is using paypal standard, express or advanced and modify the template that your system uses, in my system it was standard.tpl, what is the error you are getting?
  6. Glad it worked for you guys! You are welcome!
  7. I've resolved the issue, here is how, it seems PayPal became more strict about addresses, and what happens in Prestashop is this, it does not send the country code, hence people from Canada, Australia, etc having issues, to fix that if you are using PayPalUSA plugin, it does 2 wrong things sends "address2" variable as "undefined" and does NOT send the country code. So here is the fix: Go to /modules/paypalusa/views/templates/hooks/standard.tpl (if you are using standard paypal gateway, if you are using different one you have to edit payment-advanced.tpl or express-checkout.tpl) and edit these lines: line 28-29: {if ($paypal_usa_billing_address->address2 != '')}<input type="hidden" name="address2" value="{$paypal_usa_billing_address->address2|escape:'htmlall':'UTF-8'}" />{/if} to this: {if ($paypal_usa_billing_address->address2 != '')}{/if}<input type="hidden" name="address2" value="{$paypal_usa_billing_address->address2|escape:'htmlall':'UTF-8'}" /> this way the address2 will be in the paypal inputs even if it's empty, so you won't get "undefined" then also add this line for country iso_code to send to paypal, right after address2 line or after state, as you wish: <input type="hidden" name="country" value="{$paypal_usa_billing_address->country->iso_code|escape:'htmlall':'UTF-8'}" /> This will add the country parameters that will be sent to paypal, this way paypal will recognize the address and issue will be resolved. This has fixed the issue for me, hope it fixes it for you!
  8. We are lucky guys, I've resolved the issue, here is how, it seems PayPal became more strict about addresses, and what happens in Prestashop is this, it does not send the country code, hence people from Canada, Australia, etc having issues, to fix that if you are using PayPalUSA plugin, it does 2 wrong things sends "address2" variable as "undefined" and does NOT send the country code. So here is the fix: Go to /modules/paypalusa/views/templates/hooks/standard.tpl (if you are using standard paypal gateway, if you are using different one you have to edit payment-advanced.tpl or express-checkout.tpl) and edit these lines: line 28-29: {if ($paypal_usa_billing_address->address2 != '')}<input type="hidden" name="address2" value="{$paypal_usa_billing_address->address2|escape:'htmlall':'UTF-8'}" />{/if} to this: {if ($paypal_usa_billing_address->address2 != '')}{/if}<input type="hidden" name="address2" value="{$paypal_usa_billing_address->address2|escape:'htmlall':'UTF-8'}" /> this way the address2 will be in the paypal inputs even if it's empty, so you won't get "undefined" then also add this line for country iso_code to send to paypal, right after address2 line or after state, as you wish: <input type="hidden" name="country" value="{$paypal_usa_billing_address->country->iso_code|escape:'htmlall':'UTF-8'}" /> This will add the country parameters that will be sent to paypal, this way paypal will recognize the address and issue will be resolved. This has fixed the issue for me, hope it fixes it for you!
  9. Within the last week I started getting an error on paypal checkout the error is as follows from paypal. I am using PayPalUSA plugin, but my shop is in Canada, is this a problem with prestashop? With the plugin? or with PayPal itself? Here is the error: ------------------------------------------------------------------------------------------------------- There’s a problem with your shipping address. Please return to the merchant and update your information, including your city, state, and ZIP code. First LastName 1031 StreetName Rd undefined Haliburton ON L0ML20 -------------------------------------------------------------------------------------------------------- Note : I changed the names and address for discretion. Notice the "undefined" parameter above, maybe that's the cause of the problem but that seems to be generated by prestashop. Is it doing it wrong? Things I also tried, i tried to use another address for which I used address line number 2 but i put a space there only, no content, that way there is no "undefined" in the address, but still the problem happens.
  10. Hello, I am having the same problem! My shop is also operating in Canada, but the thing i noticed in PayPal that the message it gets is : ------------------------------------------------------------------------------------------------------- There’s a problem with your shipping address. Please return to the merchant and update your information, including your city, state, and ZIP code. First LastName 1031 StreetName Rd undefined Haliburton ON L0ML20 -------------------------------------------------------------------------------------------------------- Note : I changed the names and address for discretion. Notice the "undefined" parameter above, maybe that's the cause of the problem but that seems to be generated by prestashop. Is it doing it wrong?
  11. Hello, I am new to PrestaShop but not new to PHP development. I've seen in other versions of PrestaShop have "Display All Pictures" after you select the color for your product. But it does not work in my store, is it a bug? or new feature? You can see the bug here: http://shopgymnastics.ca/en/pastorelli-senior-gym-clubs-fig-approved/14-73-pastorelli-4520-cm-connectable-bicolour-clubs-mod-masha-fig-approved.html#/30-pastorelli_color-black_orange Should I try PrestaShop 1.6? Is 1.7 still to early to adopt to a real working online shop? Thank you
×
×
  • Create New...