Skip to content
This repository has been archived by the owner on Oct 10, 2022. It is now read-only.

Commit

Permalink
Rebranding (#12)
Browse files Browse the repository at this point in the history
* rebranding checkout to op payment services

* added readme.txt
  • Loading branch information
traone authored Oct 22, 2019
1 parent 1fee790 commit f592d0e
Show file tree
Hide file tree
Showing 21 changed files with 2,254 additions and 2,170 deletions.
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -4,3 +4,5 @@ node_modules
# Libraries installed by Composer
vendor/*
!vendor/.gitkeep

.idea
18 changes: 10 additions & 8 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,23 +1,25 @@
# Checkout Finland WooCommerce Payment Gateway Plugin
# OP Payment Service Payment Gateway plugin for WooCommerce

**Contributors:** [Nomafin](https://github.com/nomafin) and [villesiltala](https://github.com/villesiltala)

**Required WordPress version:** 4.9

**Required PHP version:** 7.1

A WooCommerce extension to add support for Checkout Finland payment methods.
A WooCommerce extension to add support for OP Payment Service (formerly Checkout Finland) payment methods.

## Installation

### Manually

_Manual installation is not yet supported. Please use Composer._
Go to the [Releases](https://github.com/OPMerchantServices/op-payment-service-for-woocommerce/releases) page and download
the ready to install version numbered zip-file from the Assets-section.

### Via Composer

1. If you have Composer installed:
- You can use the command line or add json in your `composer.json` file:
- You can use the command line to install the plugin
- Or you can add the following json to your `composer.json` file:

```
$ composer require checkoutfinland/woocommerce-gateway-checkout-finland
Expand All @@ -32,21 +34,21 @@ $ composer require checkoutfinland/woocommerce-gateway-checkout-finland
```
2. Activate the plugin.
3. Go to WooCommerce Settings and open Payments tab.
4. Enable Checkout Finland with the switch.
5. Configure your own Checkout Finland settings.
4. Enable OP Payment Service for WooCommerce with the toggle switch.
5. Configure your own OP Payment Service settings.

## Configuration

There are several settings you can configure via the payment gateway options page.

### Test mode

If test mode is enabled, your store will automatically use Checkout Finland's test credentials.
If test mode is enabled, your store will automatically use OP Payment Service's test credentials.

### Title and description

These texts will be shown on the front-end to the end-user.

### Merchant ID and Secret key

Your Checkout Finland credentials.
Your OP Payment Service credentials.
2 changes: 1 addition & 1 deletion assets/dist/main.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

93 changes: 1 addition & 92 deletions assets/dist/main.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion assets/scss/payment_fields.scss
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
$shadow-color: rgba(8, 19, 31, .12);

.woocommerce-gateway-checkout-finland-payment-fields {
.op-payment-service-woocommerce-payment-fields {

margin: 0;

Expand Down
6 changes: 3 additions & 3 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,15 +19,15 @@
"repositories": [
{
"type": "vcs",
"url": "git@github.com:CheckoutFinland/cof-api-php.git"
"url": "git@github.com:OPMerchantServices/op-payment-service-php-sdk.git"
}
],
"keywords": [
"wordpress", "woocommerce", "payment gateway", "checkout finland"
"wordpress", "woocommerce", "payment gateway", "op payment service finland"
],
"license": "MIT",
"autoload": {
"psr-4": {"CheckoutFinland\\WooCommercePaymentGateway\\": "src/"}
"psr-4": {"OpMerchantServices\\WooCommercePaymentGateway\\": "src/"}
},
"require": {
"php": ">=7.1",
Expand Down
Binary file not shown.
Loading

0 comments on commit f592d0e

Please sign in to comment.