Update to 1.0.0

This commit is contained in:
Alexander
2014-12-17 03:36:41 +01:00
parent a3cf985396
commit 9d6c801b31
15 changed files with 248 additions and 142 deletions
+7 -2
View File
@@ -1,9 +1,11 @@
WooCommerce Payment Methods 0.3.0 WooCommerce Payment Methods 1.0.0
================================= =================================
Easily display your accepted payment methods Easily display your accepted payment methods
![alt tag](https://github.com/vendocrat/WooCommerce-Payment-Methods/blob/master/screenshot-1.png) ![WooCommerce Payment Methods Screenshot 1](https://github.com/vendocrat/WooCommerce-Payment-Methods/blob/master/screenshot-1.png)
![WooCommerce Payment Methods Screenshot 4](https://github.com/vendocrat/WooCommerce-Payment-Methods/blob/master/screenshot-4.png)
##Description ##Description
@@ -28,6 +30,7 @@ Translations included:
* English * English
* German * German
* Italian * Italian
* Portoguese (thanks to [Luis Martins](https://github.com/lmartins).
Please contact us via [Twitter](https://twitter.com/vendocrat) or hit us on [GitHub](https://github.com/vendocrat/), if you have a translation you want to contribute! Please contact us via [Twitter](https://twitter.com/vendocrat) or hit us on [GitHub](https://github.com/vendocrat/), if you have a translation you want to contribute!
@@ -38,3 +41,5 @@ See "readme.txt".
**Handcrafted with love by [vendocrat](http://vendocr.at/) in Vienna & Rome.** **Handcrafted with love by [vendocrat](http://vendocr.at/) in Vienna & Rome.**
Follow us on [Twitter](https://twitter.com/vendocrat), like us on [Facebook](https://www.facebook.com/vendocrat), circle us on [Google+](https://plus.google.com/+vendocrat) or fork us on [GitHub](https://github.com/vendocrat)! Follow us on [Twitter](https://twitter.com/vendocrat), like us on [Facebook](https://www.facebook.com/vendocrat), circle us on [Google+](https://plus.google.com/+vendocrat) or fork us on [GitHub](https://github.com/vendocrat)!
[![Analytics](https://ga-beacon.appspot.com/UA-57742328-1/vendocrat/WooCommerce-Payment-Methods)](https://github.com/igrigorik/ga-beacon)
+10 -1
View File
@@ -5,7 +5,7 @@
* @subpackage Payment Methods * @subpackage Payment Methods
* *
* @since 2014-09-08 * @since 2014-09-08
* @version 2014-10-21 * @version 2014-12-17
* *
* @author Poellmann Alexander Manfred <alex@vendocr.at> * @author Poellmann Alexander Manfred <alex@vendocr.at>
* @copyright Copyright 2014 vendocrat. All Rights Reserved. * @copyright Copyright 2014 vendocrat. All Rights Reserved.
@@ -62,6 +62,9 @@
#payment ul.payment_methods .payment_method_stripe label img, #payment ul.payment_methods .payment_method_stripe label img,
#payment ul.payment_methods .payment_method_wirecard label img, #payment ul.payment_methods .payment_method_wirecard label img,
#payment ul.payment_methods .payment_method_wirecard_checkout_page label img, #payment ul.payment_methods .payment_method_wirecard_checkout_page label img,
#payment ul.payment_methods .payment_method_amazon > label img,
#payment ul.payment_methods .payment_method_amazon_fps > label img,
#payment ul.payment_methods .payment_method_pbx > label img,
#payment ul.payment_methods .payment_method_ClickAndBuy label img, #payment ul.payment_methods .payment_method_ClickAndBuy label img,
#payment ul.payment_methods .payment_method_sofortgateway label img, #payment ul.payment_methods .payment_method_sofortgateway label img,
#payment ul.payment_methods .payment_method_cash_on_delivery label img, #payment ul.payment_methods .payment_method_cash_on_delivery label img,
@@ -78,6 +81,8 @@
#payment ul.payment_methods .payment_method_wirecard > label:before, #payment ul.payment_methods .payment_method_wirecard > label:before,
#payment ul.payment_methods .payment_method_wirecard > .payment_method_select > label:before, #payment ul.payment_methods .payment_method_wirecard > .payment_method_select > label:before,
#payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before, #payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before,
#payment ul.payment_methods .payment_method_amazon > label:before,
#payment ul.payment_methods .payment_method_amazon_fps > label:before,
#payment ul.payment_methods .payment_method_pbx > label:before, #payment ul.payment_methods .payment_method_pbx > label:before,
#payment ul.payment_methods .payment_method_ClickAndBuy > label:before, #payment ul.payment_methods .payment_method_ClickAndBuy > label:before,
#payment ul.payment_methods .payment_method_sofortgateway > label:before, #payment ul.payment_methods .payment_method_sofortgateway > label:before,
@@ -124,6 +129,10 @@
#payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before { #payment ul.payment_methods .payment_method_wirecard_checkout_page > label:before {
content:'\f049';} content:'\f049';}
#payment ul.payment_methods .payment_method_amazon > label:before,
#payment ul.payment_methods .payment_method_amazon_fps > label:before {
content:'\f000';}
#payment ul.payment_methods .payment_method_pbx > label:before { #payment ul.payment_methods .payment_method_pbx > label:before {
content:'\f031';} content:'\f031';}
+10
View File
@@ -0,0 +1,10 @@
/**
* vendocrat Payment Methods styles by @vendocrat/@AMPoellmann
* http://vendocr.at or @vendocrat
* @author Poellmann Alexander Manfred <alex@vendocr.at>
* @copyright Copyright 2014 vendocrat. All Rights Reserved.
*/
.payment-methods{padding-left:0;list-style:none;margin-left:-2px}.payment-methods>li{display:inline-block;padding:2px;vertical-align:top}.payment-methods>li>i{display:block!important;cursor:default;padding:4px;border-radius:4px;background:0 0;border:1px solid transparent}.payment-methods-i>li>i,.payment-methods-inverse>li>i{color:#fff;background:#333;border-color:#333}.payment-methods-o>li>i,.payment-methods-outline>li>i{border-color:#777}.payment-methods>li>i{font-size:1.5em;line-height:1}.widget_vendocrat_payment_methods ul{margin-bottom:0}#payment ul.payment_methods .payment_method_ClickAndBuy label img,#payment ul.payment_methods .payment_method_amazon>label img,#payment ul.payment_methods .payment_method_amazon_fps>label img,#payment ul.payment_methods .payment_method_bacs label img,#payment ul.payment_methods .payment_method_bitpay label img,#payment ul.payment_methods .payment_method_cash_on_delivery label img,#payment ul.payment_methods .payment_method_cheque label img,#payment ul.payment_methods .payment_method_coinbase label img,#payment ul.payment_methods .payment_method_mijireh_checkout label img,#payment ul.payment_methods .payment_method_paypal label img,#payment ul.payment_methods .payment_method_pbx>label img,#payment ul.payment_methods .payment_method_sofortgateway label img,#payment ul.payment_methods .payment_method_stripe label img,#payment ul.payment_methods .payment_method_wirecard label img,#payment ul.payment_methods .payment_method_wirecard_checkout_page label img{display:none}#payment ul.payment_methods .payment_method_ClickAndBuy>label:before,#payment ul.payment_methods .payment_method_amazon>label:before,#payment ul.payment_methods .payment_method_amazon_fps>label:before,#payment ul.payment_methods .payment_method_bacs>label:before,#payment ul.payment_methods .payment_method_bitpay>label:before,#payment ul.payment_methods .payment_method_cash_on_delivery>label:before,#payment ul.payment_methods .payment_method_ccard>label:before,#payment ul.payment_methods .payment_method_cheque>label:before,#payment ul.payment_methods .payment_method_coinbase>label:before,#payment ul.payment_methods .payment_method_mijireh_checkout>label:before,#payment ul.payment_methods .payment_method_paypal>label:before,#payment ul.payment_methods .payment_method_pbx>label:before,#payment ul.payment_methods .payment_method_sofortgateway>label:before,#payment ul.payment_methods .payment_method_sofortueberweisung>label:before,#payment ul.payment_methods .payment_method_stripe>label:before,#payment ul.payment_methods .payment_method_wirecard>.payment_method_select>label:before,#payment ul.payment_methods .payment_method_wirecard>label:before,#payment ul.payment_methods .payment_method_wirecard_checkout_page>label:before{display:inline;margin-right:10px;padding:2px 6px;vertical-align:middle;border-radius:3px;color:#fff;background:#333;font-family:PaymentFont;font-size:1.5em;font-style:normal;font-weight:400;line-height:1;text-decoration:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#payment ul.payment_methods .payment_method_bacs>label:before{content:'\f005'}#payment ul.payment_methods .payment_method_cheque>label:before{content:'\f00a'}#payment ul.payment_methods .payment_method_ccard>label:before,#payment ul.payment_methods .payment_method_mijireh_checkout>label:before{content:'\f012'}#payment ul.payment_methods .payment_method_paypal>label:before{content:'\f033'}#payment ul.payment_methods .payment_method_stripe>label:before{content:'\f03e'}#payment ul.payment_methods .payment_method_wirecard>.payment_method_select>label:before,#payment ul.payment_methods .payment_method_wirecard>label:before,#payment ul.payment_methods .payment_method_wirecard_checkout_page>label:before{content:'\f049'}#payment ul.payment_methods .payment_method_amazon>label:before,#payment ul.payment_methods .payment_method_amazon_fps>label:before{content:'\f000'}#payment ul.payment_methods .payment_method_pbx>label:before{content:'\f031'}#payment ul.payment_methods .payment_method_ClickAndBuy>label:before{content:'\f011'}#payment ul.payment_methods .payment_method_sofortgateway>label:before,#payment ul.payment_methods .payment_method_sofortueberweisung>label:before{content:'\f03c'}#payment ul.payment_methods .payment_method_cash_on_delivery>label:before{content:'\f00d'}#payment ul.payment_methods .payment_method_bitpay>label:before,#payment ul.payment_methods .payment_method_coinbase>label:before{content:'\f006'}
/*
* E fatto!
*/
+64 -3
View File
@@ -1,8 +1,8 @@
/** /**
* PaymentFont Styles 0.1.0 * PaymentFont Styles 1.0.0
* *
* @since 2014-09-21 * @since 2014-09-21
* @version 2014-09-22 * @version 2014-12-17
* *
* @author Poellmann Alexander Manfred <alex@vendocr.at> * @author Poellmann Alexander Manfred <alex@vendocr.at>
* @copyright Copyright 2014 vendocrat. All Rights Reserved. * @copyright Copyright 2014 vendocrat. All Rights Reserved.
@@ -113,7 +113,8 @@
.pf-giropay:before { .pf-giropay:before {
content: "\f01b"; content: "\f01b";
} }
.pf-gittip:before { .pf-gittip:before,
.pf-gratipay:before {
content: "\f01c"; content: "\f01c";
} }
.pf-google-wallet:before { .pf-google-wallet:before {
@@ -251,6 +252,66 @@
.pf-wirecard:before { .pf-wirecard:before {
content: "\f049"; content: "\f049";
} }
.pf-sepa:before {
content: "\f04a";
}
.pf-sepa-alt:before {
content: "\f04b";
}
.pf-apple-pay:before {
content: "\f04c";
}
.pf-interac:before {
content: "\f04d";
}
.pf-paymill:before {
content: "\f04e";
}
.pf-dankort:before {
content: "\f04f";
}
.pf-bancontact-mister-cash:before {
content: "\f050";
}
.pf-moip:before {
content: "\f051";
}
.pf-pagseguro:before {
content: "\f052";
}
.pf-cash-on-pickup:before {
content: "\f053";
}
.pf-sage:before {
content: "\f054";
}
.pf-elo:before {
content: "\f055";
}
.pf-elo-alt:before {
content: "\f056";
}
.pf-payu:before {
content: "\f057";
}
.pf-mercado-pago:before {
content: "\f058";
}
.pf-mercado-pago-sign:before {
content: "\f059";
}
.pf-payshop:before {
content: "\f05a";
}
.pf-multibanco:before {
content: "\f05b";
}
.pf-gratipay-sign:before {
content: "\f05c";
}
.pf-six:before {
content: "\f05d";
}
/* /*
* E fatto! * E fatto!
+2 -2
View File
@@ -1,9 +1,9 @@
/** /**
* PaymentFont Styles 0.1.0 by @vendocrat/@AMPoellmann * PaymentFont Styles 1.0.0 by @vendocrat/@AMPoellmann
* http://vendocr.at or @vendocrat * http://vendocr.at or @vendocrat
* License Font: SIL OFL 1.1, CSS: MIT License * License Font: SIL OFL 1.1, CSS: MIT License
*/ */
@font-face{font-family:PaymentFont;src:url(../fonts/paymentfont-webfont.eot);src:url(../fonts/paymentfont-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/paymentfont-webfont.woff) format('woff'),url(../fonts/paymentfont-webfont.ttf) format('truetype'),url(../fonts/paymentfont-webfont.svg#paymentfont-webfont) format('svg');font-weight:400;font-style:normal}.pf{display:inline-block;font:normal normal normal 14px/1 PaymentFont;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pf-amazon:before{content:"\f000"}.pf-american-express:before{content:"\f001"}.pf-american-express-alt:before{content:"\f002"}.pf-atm:before{content:"\f003"}.pf-bankomat:before{content:"\f004"}.pf-bank-transfer:before{content:"\f005"}.pf-bitcoin:before{content:"\f006"}.pf-bitcoin-sign:before{content:"\f007"}.pf-braintree:before{content:"\f008"}.pf-btc:before{content:"\f009"}.pf-card:before{content:"\f00a"}.pf-carta-si:before{content:"\f00b"}.pf-cash:before{content:"\f00c"}.pf-cash-on-delivery:before{content:"\f00d"}.pf-cb:before{content:"\f00e"}.pf-cirrus:before{content:"\f00f"}.pf-cirrus-alt:before{content:"\f010"}.pf-clickandbuy:before{content:"\f011"}.pf-credit-card:before{content:"\f012"}.pf-diners:before{content:"\f013"}.pf-discover:before{content:"\f014"}.pf-ec:before{content:"\f015"}.pf-eps:before{content:"\f016"}.pf-eur:before{content:"\f017"}.pf-facture:before{content:"\f018"}.pf-fattura:before{content:"\f019"}.pf-flattr:before{content:"\f01a"}.pf-giropay:before{content:"\f01b"}.pf-gittip:before{content:"\f01c"}.pf-google-wallet:before{content:"\f01d"}.pf-google-wallet-alt:before{content:"\f01e"}.pf-gpb:before{content:"\f01f"}.pf-ideal:before{content:"\f020"}.pf-ils:before{content:"\f021"}.pf-inr:before{content:"\f022"}.pf-invoice:before{content:"\f023"}.pf-invoice-sign:before{content:"\f024"}.pf-invoice-sign-alt:before{content:"\f025"}.pf-invoice-sign-alt-o:before{content:"\f026"}.pf-invoice-sign-o:before{content:"\f027"}.pf-jcb:before{content:"\f028"}.pf-jpy:before{content:"\f029"}.pf-krw:before{content:"\f02a"}.pf-maestro:before{content:"\f02b"}.pf-maestro-alt:before{content:"\f02c"}.pf-mastercard:before{content:"\f02d"}.pf-mastercard-alt:before{content:"\f02e"}.pf-mastercard-securecode:before{content:"\f02f"}.pf-ogone:before{content:"\f030"}.pf-paybox:before{content:"\f031"}.pf-paylife:before{content:"\f032"}.pf-paypal:before{content:"\f033"}.pf-paypal-alt:before{content:"\f034"}.pf-paysafecard:before{content:"\f035"}.pf-postepay:before{content:"\f036"}.pf-quick:before{content:"\f037"}.pf-rechnung:before{content:"\f038"}.pf-ripple:before{content:"\f039"}.pf-rub:before{content:"\f03a"}.pf-skrill:before{content:"\f03b"}.pf-sofort:before{content:"\f03c"}.pf-square:before{content:"\f03d"}.pf-stripe:before{content:"\f03e"}.pf-truste:before{content:"\f03f"}.pf-try:before{content:"\f040"}.pf-unionpay:before{content:"\f041"}.pf-usd:before{content:"\f042"}.pf-verified-by-visa:before{content:"\f043"}.pf-verisign:before{content:"\f044"}.pf-visa:before{content:"\f045"}.pf-visa-electron:before{content:"\f046"}.pf-western-union:before{content:"\f047"}.pf-western-union-alt:before{content:"\f048"}.pf-wirecard:before{content:"\f049"} @font-face{font-family:PaymentFont;src:url(../fonts/paymentfont-webfont.eot);src:url(../fonts/paymentfont-webfont.eot?#iefix) format('embedded-opentype'),url(../fonts/paymentfont-webfont.woff) format('woff'),url(../fonts/paymentfont-webfont.ttf) format('truetype'),url(../fonts/paymentfont-webfont.svg#paymentfont-webfont) format('svg');font-weight:400;font-style:normal}.pf{display:inline-block;font:normal normal normal 14px/1 PaymentFont;font-size:inherit;text-rendering:auto;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.pf-amazon:before{content:"\f000"}.pf-american-express:before{content:"\f001"}.pf-american-express-alt:before{content:"\f002"}.pf-atm:before{content:"\f003"}.pf-bankomat:before{content:"\f004"}.pf-bank-transfer:before{content:"\f005"}.pf-bitcoin:before{content:"\f006"}.pf-bitcoin-sign:before{content:"\f007"}.pf-braintree:before{content:"\f008"}.pf-btc:before{content:"\f009"}.pf-card:before{content:"\f00a"}.pf-carta-si:before{content:"\f00b"}.pf-cash:before{content:"\f00c"}.pf-cash-on-delivery:before{content:"\f00d"}.pf-cb:before{content:"\f00e"}.pf-cirrus:before{content:"\f00f"}.pf-cirrus-alt:before{content:"\f010"}.pf-clickandbuy:before{content:"\f011"}.pf-credit-card:before{content:"\f012"}.pf-diners:before{content:"\f013"}.pf-discover:before{content:"\f014"}.pf-ec:before{content:"\f015"}.pf-eps:before{content:"\f016"}.pf-eur:before{content:"\f017"}.pf-facture:before{content:"\f018"}.pf-fattura:before{content:"\f019"}.pf-flattr:before{content:"\f01a"}.pf-giropay:before{content:"\f01b"}.pf-gittip:before,.pf-gratipay:before{content:"\f01c"}.pf-google-wallet:before{content:"\f01d"}.pf-google-wallet-alt:before{content:"\f01e"}.pf-gpb:before{content:"\f01f"}.pf-ideal:before{content:"\f020"}.pf-ils:before{content:"\f021"}.pf-inr:before{content:"\f022"}.pf-invoice:before{content:"\f023"}.pf-invoice-sign:before{content:"\f024"}.pf-invoice-sign-alt:before{content:"\f025"}.pf-invoice-sign-alt-o:before{content:"\f026"}.pf-invoice-sign-o:before{content:"\f027"}.pf-jcb:before{content:"\f028"}.pf-jpy:before{content:"\f029"}.pf-krw:before{content:"\f02a"}.pf-maestro:before{content:"\f02b"}.pf-maestro-alt:before{content:"\f02c"}.pf-mastercard:before{content:"\f02d"}.pf-mastercard-alt:before{content:"\f02e"}.pf-mastercard-securecode:before{content:"\f02f"}.pf-ogone:before{content:"\f030"}.pf-paybox:before{content:"\f031"}.pf-paylife:before{content:"\f032"}.pf-paypal:before{content:"\f033"}.pf-paypal-alt:before{content:"\f034"}.pf-paysafecard:before{content:"\f035"}.pf-postepay:before{content:"\f036"}.pf-quick:before{content:"\f037"}.pf-rechnung:before{content:"\f038"}.pf-ripple:before{content:"\f039"}.pf-rub:before{content:"\f03a"}.pf-skrill:before{content:"\f03b"}.pf-sofort:before{content:"\f03c"}.pf-square:before{content:"\f03d"}.pf-stripe:before{content:"\f03e"}.pf-truste:before{content:"\f03f"}.pf-try:before{content:"\f040"}.pf-unionpay:before{content:"\f041"}.pf-usd:before{content:"\f042"}.pf-verified-by-visa:before{content:"\f043"}.pf-verisign:before{content:"\f044"}.pf-visa:before{content:"\f045"}.pf-visa-electron:before{content:"\f046"}.pf-western-union:before{content:"\f047"}.pf-western-union-alt:before{content:"\f048"}.pf-wirecard:before{content:"\f049"}.pf-sepa:before{content:"\f04a"}.pf-sepa-alt:before{content:"\f04b"}.pf-apple-pay:before{content:"\f04c"}.pf-interac:before{content:"\f04d"}.pf-paymill:before{content:"\f04e"}.pf-dankort:before{content:"\f04f"}.pf-bancontact-mister-cash:before{content:"\f050"}.pf-moip:before{content:"\f051"}.pf-pagseguro:before{content:"\f052"}.pf-cash-on-pickup:before{content:"\f053"}.pf-sage:before{content:"\f054"}.pf-elo:before{content:"\f055"}.pf-elo-alt:before{content:"\f056"}.pf-payu:before{content:"\f057"}.pf-mercado-pago:before{content:"\f058"}.pf-mercado-pago-sign:before{content:"\f059"}.pf-payshop:before{content:"\f05a"}.pf-multibanco:before{content:"\f05b"}.pf-gratipay-sign:before{content:"\f05c"}.pf-six:before{content:"\f05d"}
/* /*
* E fatto! * E fatto!
*/ */
Binary file not shown.
File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 357 KiB

After

Width:  |  Height:  |  Size: 470 KiB

Binary file not shown.
Binary file not shown.
+6 -6
View File
@@ -6,7 +6,7 @@
* @subpackage Payment Methods * @subpackage Payment Methods
* *
* @since 2014-09-08 * @since 2014-09-08
* @version 2014-10-21 * @version 2014-12-17
* *
* @author Poellmann Alexander Manfred <alex@vendocr.at> * @author Poellmann Alexander Manfred <alex@vendocr.at>
* @copyright Copyright 2014 vendocrat. All Rights Reserved. * @copyright Copyright 2014 vendocrat. All Rights Reserved.
@@ -65,7 +65,7 @@ class vendocrat_WC_Payment_Methods {
'cash-on-delivery' => __( 'Cash on Delivery', 'woocommerce-payment-methods' ), 'cash-on-delivery' => __( 'Cash on Delivery', 'woocommerce-payment-methods' ),
'cb' => 'CB', 'cb' => 'CB',
'cirrus' => 'Cirrus', 'cirrus' => 'Cirrus',
'cheque' => __( 'Pay with Cheque', 'woocommerce-payment-methods' ), // 'cheque' => __( 'Pay with Cheque', 'woocommerce-payment-methods' ),
'clickandbuy' => 'ClickAndBuy', 'clickandbuy' => 'ClickAndBuy',
'credit-card' => __( 'Credit Card', 'woocommerce-payment-methods' ), 'credit-card' => __( 'Credit Card', 'woocommerce-payment-methods' ),
'diners' => 'Diners Club', 'diners' => 'Diners Club',
@@ -196,7 +196,7 @@ class vendocrat_WC_Payment_Methods {
} }
wp_enqueue_style( 'vendocrat-paymentfont' ); wp_enqueue_style( 'vendocrat-paymentfont' );
wp_register_style( 'payment-methods', WC_PAYMENT_METHODS_CSS_URI .'payment-methods.css', array(), false, 'all' ); wp_register_style( 'payment-methods', WC_PAYMENT_METHODS_CSS_URI .'payment-methods.min.css', array(), false, 'all' );
wp_enqueue_style( 'payment-methods' ); wp_enqueue_style( 'payment-methods' );
} }
@@ -369,13 +369,13 @@ class vendocrat_WC_Payment_Methods {
case 'wirecard' : case 'wirecard' :
$options = get_option('woocommerce_wirecard_settings'); $options = get_option('woocommerce_wirecard_settings');
if ( is_array( $options['paymenttype_available'] ) ) { if ( array_key_exists( 'paymenttype_available', $options ) AND is_array( $options['paymenttype_available'] ) ) {
$wirecard_gateways = $options['paymenttype_available']; $wirecard_gateways = $options['paymenttype_available'];
} else { } else {
$wirecard_gateways = array(); $wirecard_gateways = array();
} }
if ( is_array( $options['subs_paymenttype_options'] ) ) { if ( array_key_exists( 'subs_paymenttype_options', $options ) AND is_array( $options['subs_paymenttype_options'] ) ) {
$wirecard_gateways_subscription = $options['subs_paymenttype_options']; $wirecard_gateways_subscription = $options['subs_paymenttype_options'];
} else { } else {
$wirecard_gateways_subscription = array(); $wirecard_gateways_subscription = array();
@@ -474,7 +474,7 @@ class vendocrat_WC_Payment_Methods {
break; break;
case 'amazon' : case 'amazon' :
case 'amazon-fps' : case 'amazon_fps' :
$methods.= ' amazon'; $methods.= ' amazon';
break; break;
Binary file not shown.
@@ -1,11 +1,11 @@
msgid "" msgid ""
msgstr "" msgstr ""
"Project-Id-Version: WooCommerce Payment Methods\n" "Project-Id-Version: WooCommerce Payment Methods\n"
"POT-Creation-Date: 2014-10-23 18:11+0100\n" "POT-Creation-Date: 2014-10-23 18:12+0100\n"
"PO-Revision-Date: 2014-10-23 18:11+0100\n" "PO-Revision-Date: 2014-12-17 02:49+0100\n"
"Last-Translator: \n" "Last-Translator: \n"
"Language-Team: vendocrat <hello@vendocr.at>\n" "Language-Team: Luis Martins\n"
"Language: en\n" "Language: pt\n"
"MIME-Version: 1.0\n" "MIME-Version: 1.0\n"
"Content-Type: text/plain; charset=UTF-8\n" "Content-Type: text/plain; charset=UTF-8\n"
"Content-Transfer-Encoding: 8bit\n" "Content-Transfer-Encoding: 8bit\n"
@@ -16,96 +16,96 @@ msgstr ""
"X-Poedit-SearchPath-0: ..\n" "X-Poedit-SearchPath-0: ..\n"
#: ../classes/class-wc-payment-methods.php:60 #: ../classes/class-wc-payment-methods.php:60
msgid "Transferência Bancária" msgid "Bank Transfer"
msgstr "" msgstr "Transferência Bancária"
#: ../classes/class-wc-payment-methods.php:65 #: ../classes/class-wc-payment-methods.php:65
msgid "Dinheiro" msgid "Cash"
msgstr "" msgstr "Dinheiro"
#: ../classes/class-wc-payment-methods.php:66 #: ../classes/class-wc-payment-methods.php:66
msgid "Contra Entrega" msgid "Cash on Delivery"
msgstr "" msgstr "Contra Entrega"
#: ../classes/class-wc-payment-methods.php:69 #: ../classes/class-wc-payment-methods.php:69
msgid "Cheque" msgid "Pay with Cheque"
msgstr "" msgstr "Cheque"
#: ../classes/class-wc-payment-methods.php:71 #: ../classes/class-wc-payment-methods.php:71
msgid "Cartão de Crédito" msgid "Credit Card"
msgstr "" msgstr "Cartão de Crédito"
#: ../classes/class-wc-payment-methods.php:76 #: ../classes/class-wc-payment-methods.php:76
#: ../classes/class-wc-payment-methods.php:77 #: ../classes/class-wc-payment-methods.php:77
#: ../classes/class-wc-payment-methods.php:83 #: ../classes/class-wc-payment-methods.php:83
#: ../classes/class-wc-payment-methods.php:95 #: ../classes/class-wc-payment-methods.php:95
msgid "Factura" msgid "Invoice"
msgstr "" msgstr "Factura"
#: ../classes/class-widget-wc-payment-methods.php:33 #: ../classes/class-widget-wc-payment-methods.php:33
msgid "Métodos de Pagamento" msgid "Payment Methods"
msgstr "" msgstr "Métodos de Pagamento"
#: ../classes/class-widget-wc-payment-methods.php:34 #: ../classes/class-widget-wc-payment-methods.php:34
msgid "Apresente facilmente os métodos de pagamento disponíveis" msgid "Easily display your accepted payment methods"
msgstr "" msgstr "Apresente facilmente os métodos de pagamento disponíveis"
#: ../classes/class-widget-wc-payment-methods.php:35 #: ../classes/class-widget-wc-payment-methods.php:35
msgid "Métodos de Pagamento Aceites" msgid "Accepted Payment Methods"
msgstr "" msgstr "Métodos de Pagamento Aceites"
#: ../classes/class-widget-wc-payment-methods.php:107 #: ../classes/class-widget-wc-payment-methods.php:107
msgid "Título" msgid "Title"
msgstr "" msgstr "Título"
#: ../classes/class-widget-wc-payment-methods.php:111 #: ../classes/class-widget-wc-payment-methods.php:111
msgid "Estilos" msgid "Style"
msgstr "" msgstr "Estilos"
#: ../classes/class-widget-wc-payment-methods.php:113 #: ../classes/class-widget-wc-payment-methods.php:113
msgid "Normal" msgid "Default"
msgstr "" msgstr "Normal"
#: ../classes/class-widget-wc-payment-methods.php:114 #: ../classes/class-widget-wc-payment-methods.php:114
msgid "Invertido" msgid "Inverse"
msgstr "" msgstr "Invertido"
#: ../classes/class-widget-wc-payment-methods.php:115 #: ../classes/class-widget-wc-payment-methods.php:115
msgid "Contorno" msgid "Outline"
msgstr "" msgstr "Contorno"
#: ../classes/class-widget-wc-payment-methods.php:119 #: ../classes/class-widget-wc-payment-methods.php:119
msgid "Adicionar código para Tooltip?" msgid "Add Tooltip markup?"
msgstr "" msgstr "Adicionar código para Tooltip?"
#: ../classes/class-widget-wc-payment-methods.php:121 #: ../classes/class-widget-wc-payment-methods.php:121
msgid "Não" msgid "No"
msgstr "" msgstr "Não"
#: ../classes/class-widget-wc-payment-methods.php:122 #: ../classes/class-widget-wc-payment-methods.php:122
msgid "Sim" msgid "Yes"
msgstr "" msgstr "Sim"
#: ../classes/class-widget-wc-payment-methods.php:126 #: ../classes/class-widget-wc-payment-methods.php:126
msgid "Posicionamento" msgid "Placement"
msgstr "" msgstr "Posicionamento"
#: ../classes/class-widget-wc-payment-methods.php:128 #: ../classes/class-widget-wc-payment-methods.php:128
msgid "Topo" msgid "Top"
msgstr "" msgstr "Topo"
#: ../classes/class-widget-wc-payment-methods.php:129 #: ../classes/class-widget-wc-payment-methods.php:129
msgid "Direita" msgid "Right"
msgstr "" msgstr "Direita"
#: ../classes/class-widget-wc-payment-methods.php:130 #: ../classes/class-widget-wc-payment-methods.php:130
msgid "Inferior" msgid "Bottom"
msgstr "" msgstr "Inferior"
#: ../classes/class-widget-wc-payment-methods.php:131 #: ../classes/class-widget-wc-payment-methods.php:131
msgid "Esquerda" msgid "Left"
msgstr "" msgstr "Esquerda"
#: ../classes/class-widget-wc-payment-methods.php:135 #: ../classes/class-widget-wc-payment-methods.php:135
msgid "Classes Extra" msgid "Extra classes"
msgstr "" msgstr "Classes Extra"
+1
View File
@@ -54,6 +54,7 @@ Miss some payment methods? Let me have a look at it by opening an issue on <a hr
1. Shortcode output (top-down: default, inverse, outline style) 1. Shortcode output (top-down: default, inverse, outline style)
2. Widgets (top-down: default, inverse, outline style) 2. Widgets (top-down: default, inverse, outline style)
3. WooCommerce Checkout 3. WooCommerce Checkout
3. WooCommerce Checkout in action
== Changelog == == Changelog ==
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.3 MiB

+2 -2
View File
@@ -2,7 +2,7 @@
/* Plugin Name: WooCommerce Payment Methods /* Plugin Name: WooCommerce Payment Methods
* Plugin URI: http://vendocr.at/ * Plugin URI: http://vendocr.at/
* Description: <strong>Easily display your accepted payment methods from WooCommerce.</strong> Handcrafted with &hearts; by <a href='http://vendocr.at/'>vendocrat</a> in Vienna. * Description: <strong>Easily display your accepted payment methods from WooCommerce.</strong> Handcrafted with &hearts; by <a href='http://vendocr.at/'>vendocrat</a> in Vienna.
* Version: 0.3.0 * Version: 1.0.0
* Author: vendocrat * Author: vendocrat
* Author URI: http://vendocr.at/ * Author URI: http://vendocr.at/
* License: vendocrat Split License * License: vendocrat Split License
@@ -20,7 +20,7 @@ require_once( 'classes/class-wc-payment-methods.php' );
global $vendocrat_wc_payment_methods; global $vendocrat_wc_payment_methods;
$vendocrat_wc_payment_methods = new vendocrat_WC_Payment_Methods( __FILE__ ); $vendocrat_wc_payment_methods = new vendocrat_WC_Payment_Methods( __FILE__ );
$vendocrat_wc_payment_methods->version = '0.1.0'; $vendocrat_wc_payment_methods->version = '1.0.0';
/* /*
* E fatto! * E fatto!