Giter Site home page Giter Site logo

fontis / australia-mage2 Goto Github PK

View Code? Open in Web Editor NEW
11.0 6.0 19.0 117 KB

Fontis Australia extension for Magento 2

License: Open Software License 3.0

PHP 89.81% HTML 6.22% JavaScript 3.36% Less 0.62%
magento2-extension magento2 australia australia-post

australia-mage2's People

Contributors

arivazhaganark avatar chnorton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar

australia-mage2's Issues

Issue in import CSV tablerate file for eParcel

Hi there,

I have successfully installed the latest version and have an issue with import the tablerate for eParcel.

I exported the CSV file, and then made modification (tried all type of changes to the file (include not change at all)) and followed the guide for Magento 1 version.

However, every time i imported the modified CSV file, it shows

"Something went wrong while saving this configuration: Eparcel import file is not readable"

Please Help!

Steven

Magento 2.3.2 comes with Australian states

Hi

Just letting you know that I have found that Magento v2.3.2 comes with the Australian states/regions already included within the initial install. Looks like also added to Magento 2.2.8 magento/magento2#17514

As a result, by installing the Australia-Mage2 module you will end up with duplicate states in any dropdown.

As far as I can tell it looks like that only way to remove duplicate states is deleting via SQL?

Thanks

-Chad

Magento 2.4 support

Hi guys

first of all thanks for your efforts to develop this extension

A question - do you plan to support Magento 2.4 ?

Unable to install 2.3.0 because of fontis/customergroupaccess-mage2

I keep getting an error "fontis/customergroupaccess-mage2 1.0.1 requires php ~5.6.0|~7.0.0" when I try and get fontis/australia-mage2 for Magento 2.3.0.

If I try and individually install fontis/customergroupaccess-mage2 it is unable to get version 1.0.3 which allows 7.1.x

Your requirements could not be resolved to an installable set of packages.

Problem 1
    - fontis/customergroupaccess-mage2 1.0.0 requires php ~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - fontis/customergroupaccess-mage2 1.0.1 requires php ~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.15 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.14 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.13 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.12 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.20 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.11 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.10 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.19 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.18 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.9 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.8 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.17 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.16 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.7 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.6 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.15 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.5 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.14 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.4 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.13 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.3 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.2 requires php ~5.6.5|7.0.2|7.0.4|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.12 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.1 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.11 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.10 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.1.0 requires php ~5.6.0|7.0.2|~7.0.6 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.9 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.8 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.7 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.6 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.5 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.4 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.3 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - magento/framework 100.0.2 requires php ~5.5.0|~5.6.0|~7.0.0 -> your PHP version (7.1.26) does not satisfy that requirement.
    - Conclusion: don't install fontis/customergroupaccess-mage2 1.0.3
    - Conclusion: don't install magento/framework 100.1.16
    - Conclusion: don't install fontis/customergroupaccess-mage2 1.0.3|don't install colinmollenhour/php-redis-session-abstract v1.3.4|install magento/framework 101.0.0|install magento/framework 100.1.16
    - Conclusion: don't install magento/framework 101.0.0|install magento/framework 100.1.16
    - Conclusion: don't install fontis/customergroupaccess-mage2 1.0.3|don't install magento/framework 101.0.0|install magento/framework 100.1.16
    - Conclusion: don't install fontis/customergroupaccess-mage2 1.0.3|don't install colinmollenhour/php-redis-session-abstract v1.3.4|install magento/framework 101.0.0|install magento/framework 100.1.16
    - Installation request for fontis/customergroupaccess-mage2 1.0.* -> satisfiable by fontis/customergroupaccess-mage2[1.0.0, 1.0.1, 1.0.2, 1.0.3].
    - fontis/customergroupaccess-mage2 1.0.2 requires magento/framework 100.*|101.* -> satisfiable by magento/framework[100.0.2, 100.0.3, 100.0.4, 100.0.5, 100.0.6, 100.0.7, 100.0.8, 100.0.9, 100.1.0, 100.0.10, 100.0.11, 100.1.1, 100.0.12, 100.1.2, 100.1.3, 100.0.13, 100.1.4, 100.0.14, 100.1.5, 100.0.15, 100.1.6, 100.1.7, 100.0.16, 100.0.17, 100.1.8, 100.1.9, 100.0.18, 101.0.0, 100.0.19, 101.0.1, 100.1.10, 100.1.11, 101.0.2, 100.0.20, 100.1.12, 101.0.3, 100.1.13, 101.0.4, 101.0.5, 100.1.14, 100.1.15, 101.0.6, 100.1.16, 101.0.7].
    - magento/framework 101.0.1 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.2 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.3 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.4 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.5 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.6 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - magento/framework 101.0.7 requires colinmollenhour/php-redis-session-abstract 1.3.4 -> satisfiable by colinmollenhour/php-redis-session-abstract[v1.3.4].
    - Conclusion: don't install colinmollenhour/php-redis-session-abstract v1.3.4|install magento/framework 101.0.0|install magento/framework 100.1.16

Checkout Page (to post_code null) throws error

When a user gets to the checkout page without a postcode for ship to, the following error occurs:

Internal Error. Details are available in Magento log file. Report ID: webapi-5cf8ebbdf2c67

The logged error:
https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=4000&to_postcode=0&length=30&width=30&height=20&weight=0.1 at vendor/guzzle/guzzle/src/Guzzle/Http/Exception/BadResponseException.php:43)"} []

So the AusPost API is erroring out with a null postcode. How can we prevent the system fetching rates when no postcode?

About the Australia shipping method

After I chose the shipping method, let's say Parcel Post (Standard Service), then I process to checkout. But then when I place an order it stated no shipping method is selected but all the information of the shipping is displayed. Can anyone help me out here?

Northern Territory Postcodes return an error

Hi,

We're using version 1.0.4 of the extension and are not able to complete checkout using a postcode from the Northern Territory, such as 0800. We can enter the address, but no Shipping Methods appear.

The following error is logged when we use the postcode "0800":
[2019-08-16 04:36:05] main.CRITICAL: Report ID: webapi-5d5632b57258d; Message: Client error response
[status code] 404
[reason phrase] Not Found
[url] https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=5000&to_postcode=800&length=20&width=20&height=20&weight=0.0045 {"exception":"[object] (Exception(code: 0): Report ID: webapi-5d5632b57258d; Message: Client error response
[status code] 404
[reason phrase] Not Found
[url] https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=5000&to_postcode=800&length=20&width=20&height=20&weight=0.0045 at {MAGENTO ROOT}/vendor/magento/framework/Webapi/ErrorProcessor.php:205, Guzzle\Http\Exception\ClientErrorResponseException(code: 0): Client error response

From our investigation, it looks like Line #137 of australia-mage2/Model/Shipping/Carrier/AustraliaPost.php (https://github.com/fontis/australia-mage2/blob/master/Model/Shipping/Carrier/AustraliaPost.php#L137) converts the To Postcode to an integer, causing Northern Territory postcodes to drop the "0" at the front, changing it to "800".

EcgM2: The use of function basename() is forbidden

FILE: australia-mage2/Controller/Adminhtml/Eparcel/ExportOrders.php
------------------------------------------------------------------------------------
FOUND 2 ERRORS AFFECTING 1 LINE
------------------------------------------------------------------------------------
 90 | ERROR | The use of function basename() is forbidden
 90 | ERROR | The use of function basename() is forbidden
------------------------------------------------------------------------------------

More info here: https://magento.stackexchange.com/questions/144545/filesystem-best-practices

Issue while installation

I downloaded the package and trying to install it on dev server but it shows below error while installation:

[RuntimeException]
Source class "\Fontis\CustomerGroupAccess\AccessCheck" for "Fontis\CustomerGroupAccess\AccessCheckFactory" generation does not exist.

Please help me to get it install.

Error Trying to stall using Composer Magento 2.1.7

Hi Chris,

Have installed a clean copy of magento 2.1.7

Trying to install by composer, but its looking for the customergroup. I had a look and you have this, but reading the notes for that extension it says its not a magento 2 extension

image

thanks
Brendan

Cannot install

Heyo,

Not having much luck installing this.
Copied the files into app/code/Fontis/Australia
Ran the magento setup:upgrade but failing with
[Magento\Framework\Exception\LocalizedException]
Source class "\Fontis\CustomerGroupAccess\AccessCheck" for "Fontis\Customer
GroupAccess\AccessCheckFactory" generation does not exist.

This completely kills my local site - can't do any cli commands any more, or even login to the backend.
Manually deleted all cache, pub/static.
No luck.

This was a vanilla Magento2 instance.
Had used this deployment approach on two other branches with no problems.

Any suggestions?

Magento 2.3 setup:install

Under setup install with the module enabled, we're getting:

[RuntimeException] Source class "\Fontis\Australia\Model\Payment\BPAY\CustomerGroupAccessCheck" for "Fontis\Australia\Model\Payment\BPAY\CustomerGroupAccessCheckFactory" generation does not exist.

International Shipping

I cant seem to get the international shipping working , all Australian shipping methods are fine but the international has the error message Sorry, no quotes are available for this order at this time. Is anyone else having this trouble?

Error when accessing Store > Configuration > Sales > Payment Methods

Hi

I'm finding that Magento v2.1.6 is throwing these errors when I try to access Store > Configuration > Sales > Payment Methods in Admin.

main.CRITICAL: Recoverable Error: Argument 1 passed to Fontis\CustomerGroupAccess\Source\CustomerGroup::__construct() must implement interface Magento\Customer\Api\GroupManagementInterface, instance of Magento\Framework\ObjectManager\ObjectManager given, called in /public_html/vendor/magento/framework/ObjectManager/Factory/AbstractFactory.php on line 93 and defined in /public_html/vendor/fontis/customergroupaccess-mage2/src/Source/CustomerGroup.php on line 42 [] []

Thanks in advance for looking into this.

  • michael

Cant get it to work

Install went fine (Magento 2.1.7) and I have all the options in the admin but can't see anything on the frontend

ran the following sudo php bin/magento module:status and it is enabled

But when I go to the cart I get the following error -

Shipping Methods
Sorry, no quotes are available for this order at this time

Shipping Method Is Missing Please select Shipping MEthod and Try Agan

It does not allow ordering and gives shipping method error missing despite correct shipping method selected.

Obviously there is a bug that needs to be fixed. Has never worked actually. Previous versions also had some issues. Trying again and this has issue too.

Hope the issue can be fixed

No Aus Post Shipping

I don't get Aus Post in Config -> Sales ->Shipping Methods. I've reindexed and flushed the cache. Is there something else i need to do?

Any postage cannot be shown after the total weights of product exceed 20kg

I successfully installed the extension.

When I tested this extension, all postage including local pickup, flat rate and Australia Post was displayed if the total weight of selected items in the cart below 20kg.

However, all postage would not be shown with the message "Sorry, no quotes are available for this order at this time." when the total weight of goods in the cart exceeded 20kg.

I would like something like local pickup and flat rate to be shown even though the total weight of all selected item in the cart exceeds 20kg.

How can I do that?

Australia Post shipping method does not display - Forbidden error returned by API

I am using Magento 2.1.9 and get the below when loading the checkout page:

ext Exception: Report ID: webapi-5a3722f722a4c; Message: Client error response
[status code] 403
[reason phrase] Forbidden
[url] https://digitalapi.auspost.com.au/postage/parcel/domestic/service?from_postcode=3672&to_postcode=4519&length=0&width=0&height=0&weight=0.6 in /home/lionheart/public_html/vendor/magento/framework/Webapi/ErrorProcessor.php:195

I do not have a length or width configured on products but do have default values set in the plug-in settings (L=30cm W=15cm) though note those values don't seem to get passed through. Also, the weight I entered against this product was 0.3kg yet it appears to get passed to the API as 0.6.

Missing Height attribute in /australia-mage2/etc/adminhtml/system.xml

Hi,
Should there be a "Height Attribute" (height_attribute) and default values (default_height) in /australia-mage2/etc/adminhtml/system.xml ? (Somewhere around Line 328.

<field id="specificerrmsg" translate="label" type="textarea" sortOrder="30" showInDefault="1" showInWebsite="1" showInStore="1">

)
The Magento 1 extension does so I assume height is still used.

Thanks

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.