forked from pfpayments/woocommerce
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6c0d97f
commit 2b24aec
Showing
302 changed files
with
74,504 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
language: generic | ||
|
||
before_deploy: | ||
- if ! [ "$BEFORE_DEPLOY_RUN" ]; then | ||
export BEFORE_DEPLOY_RUN=1; | ||
mkdir build; | ||
mkdir build/src; | ||
rsync -r --exclude 'build' --exclude '.git' --exclude '.travis.yml' --exclude 'README.md' . build/src; | ||
perl -plne 'print "$ENV{'FEATURES'}" if(/== Installation ==/); print "$ENV{'FAQ_ENTRIES'}" if(/== Changelog ==/);' build/src/readme.txt > build/src/readme_mod.txt; | ||
rm build/src/readme.txt; | ||
mv build/src/readme_mod.txt build/src/readme.txt; | ||
mkdir build/$WORDPRESS_ORG_SLUG; | ||
rsync -r build/src/ build/$WORDPRESS_ORG_SLUG/; | ||
cd build; | ||
zip -r $TRAVIS_BUILD_DIR/$WORDPRESS_ORG_SLUG.zip $WORDPRESS_ORG_SLUG; | ||
cd ..; | ||
fi | ||
|
||
deploy: | ||
- provider: releases | ||
api_key: $GITHUB_API_KEY | ||
file: "$WORDPRESS_ORG_SLUG.zip" | ||
skip_cleanup: true | ||
on: | ||
tags: true | ||
- provider: wordpress-plugin | ||
edge: | ||
source: TypistTech/dpl | ||
branch: add-wordpress-plugin-deployment | ||
on: | ||
tags: true | ||
repo: pfpayments/woocommerce | ||
skip_cleanup: true | ||
slug: $WORDPRESS_ORG_SLUG | ||
username: $WORDPRESS_ORG_USERNAME | ||
password: $WORDPRESS_ORG_PASSWORD | ||
build_dir: build/src |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,24 @@ | ||
# woocommerce | ||
PostFinance Checkout integration for WooCommerce | ||
[](https://travis-ci.org/pfpayments/woocommerce) | ||
|
||
# PostFinance Checkout Woocommerce | ||
This repository contains the PostFinance Checkout WooCommerce plugin that enables WooCommerce to process payments with [PostFinance Checkout](https://www.postfinance.ch). | ||
|
||
##### To use this extension, a [PostFinance Checkout](https://www.postfinance.ch) account is required. | ||
|
||
## Requirements | ||
|
||
* [Wordpress](https://wordpress.org/) 4.4 or later | ||
* [Woocommerce](https://woocommerce.com/) 3.0 or later | ||
* [PHP](http://php.net/) 5.6 or later | ||
|
||
## Documentation | ||
|
||
* [Documentation](https://plugin-documentation.postfinance-checkout.ch/pfpayments/woocommerce/1.1.4/docs/en/documentation.html) | ||
|
||
## License | ||
|
||
Please see the [license file](https://github.com/pfpayments/woocommerce/blob/1.1.4/LICENSE) for more information. | ||
|
||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,162 @@ | ||
/** | ||
* PostFinance Checkout WooCommerce | ||
* | ||
* This WooCommerce plugin enables to process payments with PostFinance Checkout (https://www.postfinance.ch). | ||
* | ||
* @author customweb GmbH (http://www.customweb.com/) | ||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Software License (ASL 2.0) | ||
*/ | ||
/* Icons for status */ | ||
@font-face { | ||
font-family: 'woocommerce-wallee'; | ||
src: url('../font/woocommerce-wallee.eot?8310684'); | ||
src: url('../font/woocommerce-wallee.eot?8310684#iefix') format('embedded-opentype'), | ||
url('../font/woocommerce-wallee.woff2?8310684') format('woff2'), | ||
url('../font/woocommerce-wallee.woff?8310684') format('woff'), | ||
url('../font/woocommerce-wallee.ttf?8310684') format('truetype'), | ||
url('../font/woocommerce-wallee.svg?8310684#woocommerce-wallee') format('svg'); | ||
font-weight: normal; | ||
font-style: normal; | ||
} | ||
|
||
/* Status Icons */ | ||
.widefat .column-order_status mark.postf-redirected::after, .widefat .column-order_status mark.postf-waiting::after, | ||
.widefat .column-order_status mark.postf-manual::after { | ||
font-family: woocommerce-wallee; | ||
speak: none; | ||
font-weight: 400; | ||
text-transform: none; | ||
line-height: 1; | ||
-webkit-font-smoothing: antialiased; | ||
margin: 0; | ||
text-indent: 0; | ||
position: absolute; | ||
top: 0; | ||
left: 0; | ||
width: 100%; | ||
height: 100%; | ||
text-align: center; | ||
border-radius: 100%; | ||
} | ||
|
||
.widefat .column-order_status mark.postf-redirected:after { | ||
content: "\e800"; | ||
background-color: #ffba00; | ||
color: #ffffff; | ||
line-height: 1.2; | ||
font-size: 75%; | ||
} | ||
|
||
.widefat .column-order_status mark.postf-waiting:after { | ||
content: "\f252"; | ||
background-color: #baba00; | ||
color: #ffffff; | ||
line-height: 1.6; | ||
font-size: 65%; | ||
} | ||
|
||
.widefat .column-order_status mark.postf-manual:after { | ||
content: "\e801"; | ||
background-color: #ff2000; | ||
color: #ffffff; | ||
line-height: 1.4; | ||
font-size: 75%; | ||
} | ||
|
||
.order-status.status-postf-redirected{ | ||
|
||
} | ||
|
||
.order-status.status-postf-waiting{ | ||
background-color: #f8e8a7; | ||
color: #94790c; | ||
} | ||
|
||
.order-status.status-postf-manual{ | ||
background-color: #f8bfa7; | ||
color: #94340c; | ||
|
||
} | ||
|
||
/* Invoice & PackingSlip Download */ | ||
|
||
.order_actions .postfinancecheckout-button-download-invoice,.order_actions .postfinancecheckout-button-download-packingslip { | ||
display: block; | ||
text-indent: -9999px; | ||
position: relative; | ||
height: 1em; | ||
width: 1em; | ||
padding: 0!important; | ||
height: 2em!important; | ||
width: 2em | ||
} | ||
|
||
.order_actions .postfinancecheckout-button-download-invoice::after { | ||
font-family: woocommerce-wallee; | ||
speak: none; | ||
font-weight: 400; | ||
text-transform: none; | ||
-webkit-font-smoothing: antialiased; | ||
text-indent: 0px; | ||
position: absolute; | ||
top: 0px; | ||
left: 0px; | ||
width: 100%; | ||
height: 100%; | ||
text-align: center; | ||
content: "\f0f6"; | ||
line-height: 1.85; | ||
margin: 0px; | ||
} | ||
|
||
.order_actions .postfinancecheckout-button-download-packingslip::after { | ||
font-family: woocommerce-wallee; | ||
speak: none; | ||
font-weight: 400; | ||
text-transform: none; | ||
-webkit-font-smoothing: antialiased; | ||
text-indent: 0px; | ||
position: absolute; | ||
top: 0px; | ||
left: 0px; | ||
width: 100%; | ||
height: 100%; | ||
text-align: center; | ||
content: "\e802"; | ||
line-height: 1.85; | ||
margin: 0px; | ||
} | ||
|
||
/* Backend Transction info */ | ||
.order-postfinancecheckout-transaction-metabox { | ||
|
||
} | ||
|
||
.order-postfinancecheckout-transaction-metabox .postfinancecheckout-transaction-data-column-container | ||
{ | ||
overflow: auto; | ||
} | ||
|
||
.order-postfinancecheckout-transaction-metabox .postfinancecheckout-transaction-data-column-container .postfinancecheckout-transaction-column | ||
{ | ||
float: left; | ||
margin-right: 40px; | ||
} | ||
|
||
#woocommerce-order-items button.button-primary.postfinancecheckout-completion-show { | ||
float: left; | ||
margin-right: .25em; | ||
} | ||
|
||
/* Completion / Void in progess info */ | ||
.postfinancecheckout-action-in-progress { | ||
float: left; | ||
} | ||
|
||
.postfinancecheckout-refund-state-pending { | ||
background-color: rgba(255, 186, 0, 0.55); | ||
} | ||
|
||
.postfinancecheckout-refund-state-failue { | ||
background-color: rgba(170, 0, 0, 0.55); | ||
} |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Oops, something went wrong.