Post by straightlight » Sun Apr 14, 2019 4:17 am

@JNeuhoff: The Highlands zone name conflicts with the Eastern Highlands. This zone name will have to be excluded from the helper file since there's a conflict (EH).

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Apr 14, 2019 4:21 am

@JNeuhoff: Jersey conflicts with the US with the zone code: NJ . This zone code will have to be excluded from the helper file.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Apr 14, 2019 5:13 am

@JNeuhoff: Isles of Scilly is not on the OC database. A commit will have to be created.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Sun Apr 14, 2019 5:44 am

Package updated on the first post.

- Fixed Controller class names
- Added validations between ship to country code and ship to state for GB zone codes in the catalog controller
- Added UK list in helper file (Thanks to JNeuhoff)
- Added zone name database field in catalog model

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by JNeuhoff » Mon Apr 15, 2019 5:36 pm

@Straightlight: Please bear in mind that PayPal's SHIPTOSTATE simply don't have a proper matching with OpenCart's zone. I think that a SHIPTOSTATE can only be guaranteed to have a unique value within a given SHIPTOCOUNTRYCODE. In the case of the UK, the mappings between SHIPTOSTATE and OpenCart's zone were at times so conflicting that it was easier to find the UK OpenCart zones via postcodes.

MHC Web Design
Override Engine * Integrated VQMod * Multilingual SEO * Instant Option Price Calculator * TrustPilot Reviews * Google Rich Snippets * Google Tag Manager * Export/Import Tool * Template Switcher PHP/Twig


User avatar
Expert Member

Posts

Joined
Wed Dec 05, 2007 3:38 am


Post by straightlight » Mon Apr 15, 2019 6:11 pm

JNeuhoff wrote:
Mon Apr 15, 2019 5:36 pm
@Straightlight: Please bear in mind that PayPal's SHIPTOSTATE simply don't have a proper matching with OpenCart's zone. I think that a SHIPTOSTATE can only be guaranteed to have a unique value within a given SHIPTOCOUNTRYCODE. In the case of the UK, the mappings between SHIPTOSTATE and OpenCart's zone were at times so conflicting that it was easier to find the UK OpenCart zones via postcodes.
State codes: https://developer.paypal.com/docs/class ... tate_codes . As for the postcodes, indeed, I may have to look for those entries later on. For now, I have to stick on the objective with the zones among the countries where they are being restricted and which countries needs to be listed individually in the array from the controller while validating the zones versus those that are not required.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by straightlight » Tue Apr 16, 2019 7:57 am

Alright folks, the moment we've been expecting for where Business Users only! can use the AddressVerify method has arrived. I will not add these validations on the first post's ZIP file yet as it would be best to evaluate it first. In order to make this work, not only it would avoid all the zillions of postcodes being added on the database, it also requires PayPal service lines to activate this feature for store owners using these transactions in Production Mode as it is only available for Business Users with PayPal (Business Merchant Account); no choice on this one unfortunately.

To the users already fitting those requirements. Feel free to replace your catalog/controller/extension/payment/pp_express.php file with the one on the attachment and see if it works as expected.

The most generated errors being found on Opencart forum originates from contributed programming. The increased post counters are caused by redundancies of the same solutions that were already provided prior.

F. Rules:

- viewtopic.php?f=176&t=200480
- viewtopic.php?f=176&t=200804


Regards,
Straightlight


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON
Who is online

Users browsing this forum: No registered users and 4 guests