Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Updated copyrights #30

Merged
merged 1 commit into from
Oct 24, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,43 +1,43 @@
# Adyen Payment plugin for Prestashop
Use Adyen's plugin for Prestashop to offer frictionless payments online, in-app, and in-store.
# Adyen Payment plugin for PrestaShop
Use Adyen's plugin for PrestaShop to offer frictionless payments online, in-app, and in-store.

## Integration
The plugin integrates card component(Secured Fields) using Adyen Checkout for all card payments.

## Requirements
This plugin supports Prestashop version 1.6 or 1.7.
This plugin supports PrestaShop version 1.6 or 1.7.

## Collaboration
We commit all our new features directly into our GitHub repository.
But you can also request or suggest new features or code changes yourself!

## Installation
Copy the folders into the **/modules/adyen** folder of your main Prestashop environment.
Copy the folders into the **/modules/adyen** folder of your main PrestaShop environment.

Search for Adyen in the **Modules and Services**(1.6) / **Module Manager**(1.7) menu in the Prestashop admin panel and select Enable
Search for Adyen in the **Modules and Services**(1.6) / **Module Manager**(1.7) menu in the PrestaShop admin panel and select Enable

## Set up Adyen Customer Area

For authenticating API requests from your Prestashop platform, you need to provide an API key. 
For authenticating API requests from your PrestaShop platform, you need to provide an API key. 

To generate an API Key:

1. Log in to your [Adyen Customer Area](https://ca-test.adyen.com).
2. Go to **Account** > **Users**, and click the user **ws@Company.[YourCompanyAccount]**.
3. Under **Authentication**, click **Generate New API Key**. 

(\*) Don't forget to copy and securely store the API Key in your system – you will need it later when [Configuring the plugin in Prestashop]().
(\*) Don't forget to copy and securely store the API Key in your system – you will need it later when [Configuring the plugin in PrestaShop]().

4. Click **Save** at the bottom of the page.

## Configuring the plugin in Prestashop
The configuration window is the same for both Prestashop 1.6 and 1.7
## Configuring the plugin in PrestaShop
The configuration window is the same for both PrestaShop 1.6 and 1.7

Before you begin, make sure that you have set up your Adyen Customer Area.

Configure the Adyen plugin in your Prestashop admin panel: 
Configure the Adyen plugin in your PrestaShop admin panel: 

1. Log in to your Prestashop admin panel. 
1. Log in to your PrestaShop admin panel. 
2. In the left navigation bar, go to **Modules and Services**(1.6) / **Modules** > **Module Manager**(1.7). 
3. Search for Adyen in the search bar
4. Click on **Install** / **Enable Module**
Expand All @@ -56,7 +56,7 @@ Configure the Adyen plugin in your Prestashop admin panel: 
(\*) You noted this down when you Set up Adyen Customer Area.

## Support
You can create issues on our Prestashop Repository. In case of specific problems with your account, please contact <a href="mailto:[email protected]">[email protected]</a>.
You can create issues on our PrestaShop Repository. In case of specific problems with your account, please contact <a href="mailto:[email protected]">[email protected]</a>.

## API Library
This module is using the Adyen APIs Library for PHP for all (API) connections to Adyen.
Expand Down
4 changes: 2 additions & 2 deletions adyen.php
Original file line number Diff line number Diff line change
Expand Up @@ -502,7 +502,7 @@ public function displayForm()
}

/**
* Hook for header Prestashop 1.6 & > 1.7
* Hook for header PrestaShop 1.6 & > 1.7
*/
public function hookHeader()
{
Expand Down Expand Up @@ -686,7 +686,7 @@ public function hookPayment()

$this->context->smarty->assign(
array(
'locale' => $this->helper_data->getLocale($this->context->language), // no locale in Prestashop1.6 only languageCode that is en-en but we need en_EN
'locale' => $this->helper_data->getLocale($this->context->language), // no locale in PrestaShop1.6 only languageCode that is en-en but we need en_EN
'originKey' => $this->helper_data->getOriginKeyForOrigin(),
'environment' => Configuration::get('ADYEN_MODE'),
'paymentProcessUrl' => $this->context->link->getModuleLink($this->name, 'Payment', array(), true),
Expand Down
2 changes: 1 addition & 1 deletion controllers/admin/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen PrestaShop module
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion controllers/front/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion css/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion helper/Data.php
Original file line number Diff line number Diff line change
Expand Up @@ -440,7 +440,7 @@ public function startSession()
*/
public function getLocale($language)
{
// no locale in Prestashop1.6 only languageCode that is en-en but we need en_EN
// no locale in PrestaShop1.6 only languageCode that is en-en but we need en_EN
if ($this->isPrestashop16()) {
return $language->iso_code;
} else {
Expand Down
2 changes: 1 addition & 1 deletion helper/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion model/Hashing.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion model/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion service/CheckoutFactory.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen PrestaShop Module
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion service/adapter/classes/CustomerThreadAdapter.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* #############
* ############
*
* Adyen PrestaShop module
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion views/templates/front/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down
2 changes: 1 addition & 1 deletion views/templates/index.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
* #############
* ############
*
* Adyen Prestashop Extension
* Adyen PrestaShop plugin
*
* Copyright (c) 2019 Adyen B.V.
* This file is open source and available under the MIT license.
Expand Down