Anyone know of anything happening with this yet? I presume every Uk user is going to be having this problem - that has to make it pretty high priority?
Anyone know of anything happening with this yet? I presume every Uk user is going to be having this problem - that has to make it pretty high priority?
As far as I am aware, this is still being worked on. Maybe DrByte could post an update when he gets a few moments?
Hopefully not long now, having to hold off on a few sites until this bug is fixed.
Jamie @ Fuzion
www.InkFuzion.co.uk
www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)
Are these normal products or downloadable products?
http://www.zen-cart.com/forum/showpo...82&postcount=4
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Hi DrByte,
These are all normal products.
J
Jamie @ Fuzion
www.InkFuzion.co.uk
www.FunFuzion.co.uk - now live (with a few bugs, but getting there!)
All normal products here too
Mine are normal products too.
On more testing I found that if i click the pre checkout EC link i can log into PayPal then when it returns me to my site it comes back with the country United States instead of United Kingdom. I checked my papal address and it is UK.
If i use the PayPal option at checkout i simply get the red box with the following
An error occurred when we tried to contact the payment processor. Please try again, select an alternate payment method, or contact the store owner for assistance. (7) 7 - Field format error: 10731-The field Shipping Address Country is required
![]()
Regards
Dave.
beauty is in the eye of the beer holder
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
For v1.3.8a:
/includes/modules/payment/paypal/paypal_curl.php
around line 114 you have a section of code that looks like the following.
Add the additional lines, as shown:Code:function SetExpressCheckout($amount, $returnUrl, $cancelUrl, $optional = array()) { $values = array_merge($optional, array('AMT' => $amount, 'RETURNURL' => urlencode($returnUrl), 'CANCELURL' => urlencode($cancelUrl))); if ($this->_mode == 'payflow') { $values = array_merge($values, array('ACTION' => 'S', /* ACTION=S denotes SetExpressCheckout */ 'TENDER' => 'P', 'TRXTYPE' => $this->_trxtype, 'RETURNURL' => $returnUrl, 'CANCELURL' => $cancelUrl)); } elseif ($this->_mode == 'nvp') { if (!isset($values['PAYMENTACTION'])) $values['PAYMENTACTION'] = ($this->_trxtype == 'S' ? 'Sale' : 'Authorization'); } // convert country code key to proper key name for paypal 2.0 (needed when sending express checkout via payflow gateway, due to PayPal field naming inconsistency) if ($this->_mode == 'payflow') { if (!isset($values['SHIPTOCOUNTRY']) && isset($values['SHIPTOCOUNTRYCODE'])) { $values['SHIPTOCOUNTRY'] = $values['SHIPTOCOUNTRYCODE']; unset($values['SHIPTOCOUNTRYCODE']); } } // allow page-styling support -- see language file for definitions if (defined('MODULE_PAYMENT_PAYPALWPP_PAGE_STYLE')) $values['PAGESTYLE'] = MODULE_PAYMENT_PAYPALWPP_PAGE_STYLE;
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Thank you very much.
I still have the wrong shipping country though. I can now succesfully complete checkout using both the pre checkout link and the link on the payment page.
However i still get the incorrect country on the shipping address. I have only 1 address book entry allowed in the cart. My address in my cart and on my buyer paypal account are as follows
My Name
Street Address
Area
City
Post Code
United Kingdom
After completing either of the paypal payment links the shipping address in the cart is
My Name
Street Address
Area
City, City Post Code <---------------- City listed twice
United States <---------------- Wrong Country
When the cart takes me to the PayPal page it does show the postal address with the correct country before returning me to the cart.
I am testing this with a Live Buyer and Live Seller account.
I am using 1.3.8a with the code you just posted added into /includes/modules/payment/paypal/paypal_curl.php.
I have tried this while being logged in on our shop and logged out on our shop.
Regards
Dave.
beauty is in the eye of the beer holder
MANY THANKS!! Works fine now.
Contribution on it's way.