cancel
Showing results for 
Search instead for 
Did you mean: 

Magento 2 Afterpay Module Installation

Magento 2 Afterpay Module Installation

Hi All,

 

I'm trying to activate the Afterpay extension for Magento 2 as per this documentation: https://github.com/afterpay/afterpay-magento-2#readme

 

The issue I'm having is with step 5 and onwards. I have SSH access and have changed the directory to the root folder that Magento is located in (i.e cd public_html). When i type 'php bin/magento module:enable Afterpay_AfterpayI get the following error message 'Unknown module(s): 'Afterpay_Afterpay'.

 

I've had minimal experience with SSH and Magento, any ideas what the issue might be?

 

Cheers,

Peter

4 REPLIES 4

Re: Magento 2 Afterpay Module Installation

Bump anyone? Doesn't seem to be any documentation on this

Re: Magento 2 Afterpay Module Installation

@peter_harden Any luck finding a solution? I am facing the same issue as well.

Re: Magento 2 Afterpay Module Installation

Actually, you will have to copy the first Afterpay folder which has another afterpay folder inside. That's why  we run the command "php bin/magento module:enable Afterpay_Afterpay".

Re: Magento 2 Afterpay Module Installation

Yes I did eventually figure it out, Afterpay put everything in a master folder which you have to discard then it has to be nested Afterpay/Afterpay in order to work. I also had php memory issues running the subsequent steps with I had to correct with our hosting provider.