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

Update-readme-with-composer-package #12

Merged
merged 3 commits into from
Dec 4, 2023
Merged
Show file tree
Hide file tree
Changes from 2 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
2 changes: 2 additions & 0 deletions Model/Magewire/Payment/PlaceOrderService.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,8 @@ private function getResponse()
private function hasRedirect(): bool
{
$response = $this->getResponse();

dd($response);
return !empty($response->RequiredAction->RedirectURL);
}
}
28 changes: 4 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,37 +15,17 @@ Buckaroo has developed a cutting-edge Hyvä Checkout module as an extension for

## Requirements
* [Buckaroo Magento 2 plugin](https://github.com/buckaroo-it/Magento2/releases) version 1.46 or higher
* Hyvä Checkout version 1.1.3 or higher
* Hyvä Checkout version 1.1.8 or higher
<br>

## Installation
**Install the module by using composer with the following commands:**

1. Create the plugin directory:
1. Require the composer package:
```
mkdir app/code/Buckaroo
composer require buckaroo/magento2-hyva-checkout
```
2. Navigate to the created directory:
```
cd app/code/Buckaroo
```
3. Clone this repository:
```
git clone https://github.com/buckaroo-it/Magento2_Hyva_Checkout.git
```
4. Swich to the latest version:
```
git checkout 1.0.0
```
5. Rename resulting directory:
```
mv Magento2_Hyva_Checkout HyvaCheckout
```
7. Navigate to root directory:
```
cd ../../../../
```
8. Enable the magento module, run setup upgrade & deploy static content:
2. Enable the magento module, run setup upgrade & deploy static content:
```
php bin/magento module:enable Buckaroo_HyvaCheckout
php bin/magento setup:upgrade
Expand Down
Loading