{"id":31601,"date":"2014-09-12T15:17:32","date_gmt":"2014-09-12T15:17:32","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/woocommerce-payment-methods\/"},"modified":"2015-04-24T17:55:45","modified_gmt":"2015-04-24T17:55:45","slug":"woocommerce-payment-methods","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/woocommerce-payment-methods\/","author":14035357,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.1.2","stable_tag":"1.1.2","tested":"4.2.39","requires":"3.5","requires_php":"","requires_plugins":"","header_name":"WooCommerce Payment Methods","header_author":"vendocrat","header_description":"","assets_banners_color":"828156","last_updated":"2015-04-24 17:55:45","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/vendocr.at\/donate\/","header_plugin_uri":"https:\/\/vendocr.at\/","header_author_uri":"https:\/\/vendocr.at\/","rating":5,"author_block_rating":0,"active_installs":300,"downloads":17689,"num_ratings":8,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":"8"},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"988365","resolution":"128x128","location":"assets"},"icon-256x256.png":{"filename":"icon-256x256.png","revision":"989180","resolution":"256x256","location":"assets"}},"assets_banners":{"banner-772x250.png":{"filename":"banner-772x250.png","revision":"988365","resolution":"772x250","location":"assets"}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1.0","0.1.1","0.1.2","0.2.0","0.2.1","0.3.0","1.0.0","1.1.0","1.1.1","1.1.2"],"block_files":[],"assets_screenshots":{"screenshot-4.png":{"filename":"screenshot-4.png","revision":"1573815","resolution":"4","location":"plugin"},"screenshot-3.png":{"filename":"screenshot-3.png","revision":"1573815","resolution":"3","location":"plugin"},"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1573815","resolution":"1","location":"plugin"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1573815","resolution":"2","location":"plugin"}},"screenshots":{"1":"Shortcode output (top-down: default, inverse, outline style)","2":"Widgets (top-down: default, inverse, outline style)","3":"WooCommerce Checkout","4":"WooCommerce Checkout in action"}},"plugin_section":[],"plugin_tags":[11475,3821,507,286],"plugin_category":[45],"plugin_contributors":[82231,82230],"plugin_business_model":[],"class_list":["post-31601","plugin","type-plugin","status-closed","hentry","plugin_tags-credit-card","plugin_tags-logo","plugin_tags-payment","plugin_tags-woocommerce","plugin_category-ecommerce","plugin_contributors-alexanderpoellmann","plugin_contributors-vendocrat","plugin_committers-vendocrat"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/woocommerce-payment-methods_828156.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/woocommerce-payment-methods\/trunk\/screenshot-1.png?rev=1573815","caption":"Shortcode output (top-down: default, inverse, outline style)"},{"src":"https:\/\/ps.w.org\/woocommerce-payment-methods\/trunk\/screenshot-2.png?rev=1573815","caption":"Widgets (top-down: default, inverse, outline style)"},{"src":"https:\/\/ps.w.org\/woocommerce-payment-methods\/trunk\/screenshot-3.png?rev=1573815","caption":"WooCommerce Checkout"},{"src":"https:\/\/ps.w.org\/woocommerce-payment-methods\/trunk\/screenshot-4.png?rev=1573815","caption":"WooCommerce Checkout in action"}],"raw_content":"<!--section=description-->\n<p>WooCommerce Payment Methods allows you to display your accepted payment methods. By default the plugin shows all available payment methods, but you can also specify or override them manually.<\/p>\n\n<p>You can display them via shortcode, widget or template tag in three available styles (default, inverse and outline). We`ve added several classes, so you can easily style the output to your pleasure.<\/p>\n\n<p>You are using the famous Bootstrap framework? Awesome, cause we`ve added the markup for tooltips, so that users can see the payment methods name on hover.<\/p>\n\n<p><strong>PaymentFont webfont<\/strong><\/p>\n\n<p>This plugin uses the webfont <a href=\"https:\/\/github.com\/vendocrat\/PaymentFont\">PaymentFont<\/a> by <a href=\"http:\/\/vendocr.at\">vendocrat<\/a> to display the brand icons, making them look good on every screen.<\/p>\n\n<p><strong>Contributions<\/strong><\/p>\n\n<p>Contributions are warmly welcome via <a href=\"https:\/\/github.com\/vendocrat\/WooCommerce-Payment-Methods\">GitHub<\/a>.<\/p>\n\n<p><strong>Translations<\/strong><\/p>\n\n<p>Translations included:<\/p>\n\n<ul>\n<li>English<\/li>\n<li>German<\/li>\n<li>Italian<\/li>\n<li>Greek (thanks to <a href=\"https:\/\/wordpress.org\/support\/profile\/samourkasidis\">Anestis Samourkasidis<\/a>)<\/li>\n<li>Portuguese (thanks to <a href=\"https:\/\/github.com\/lmartins\">Luis Martins<\/a>)<\/li>\n<\/ul>\n\n<p>All our plugins are fully localized\/translateable by default and include a .pot-file! Please contact us via <a href=\"https:\/\/twitter.com\/vendocrat\">Twitter<\/a> or hit us on <a href=\"https:\/\/github.com\/vendocrat\">GitHub<\/a>, if you have a translation you want to contribute!<\/p>\n\n<h4>We`d love to hear from you!<\/h4>\n\n<p>Follow us on <a href=\"https:\/\/twitter.com\/vendocrat\">Twitter<\/a>, like us on <a href=\"https:\/\/www.facebook.com\/vendocrat\">Facebook<\/a>, circle us on <a href=\"https:\/\/plus.google.com\/+vendocrat\">Google+<\/a> or fork us on <a href=\"https:\/\/github.com\/vendocrat\">GitHub<\/a>!<\/p>\n\n<!--section=installation-->\n<ol>\n<li>Upload <code>woocommerce-payment-methods<\/code> to the <code>\/wp-content\/plugins\/<\/code> directory<\/li>\n<li>Activate the plugin through the <code>Plugins<\/code> menu in WordPress<\/li>\n<li>Display your accepted methods via: Shortcode [wc_payment_methods], Widget or template tag `.<\/li>\n<li>Done!<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Why is payment method {XYZ} missing?<\/dt>\n<dd><p>Miss some payment methods? Let me have a look at it by opening an issue on <a href=\"https:\/\/github.com\/vendocrat\/WooCommerce-Payment-Methods\"><strong>GitHub<\/strong><\/a> or hit us at <a href=\"http:\/\/twitter.com\/vendocrat\">@vendocrat<\/a>.<\/p><\/dd>\n<dt>How to display the payment methods?<\/dt>\n<dd><p>You can use the function <code>wc_payment_methods( $atts )<\/code>, the shortcode <code>[wc_payment_methods]<\/code> or the widget.<\/p><\/dd>\n<dt>What function\/shortcode attributes are available?<\/dt>\n<dd><ol>\n<li><code>methods<\/code> =&gt; Comma separated list of payment methods icon slugs to be displayed, see http:\/\/paymentfont.io for available icons, defaults to false<\/li>\n<li><code>style<\/code> =&gt; How shall the icons be displayed? Available options are default, inverse and outline.<\/li>\n<li><code>tooltip<\/code> =&gt; Adds data attributes to icon to be used for diplaying tooltips (made for Bootstrap), defaults to false<\/li>\n<li><code>placement<\/code> =&gt; Set tooltip placement, defaults to bottom<\/li>\n<li><code>xclass<\/code> =&gt; Add any extra classes, seperated by a space, defaults to false<\/li>\n<\/ol><\/dd>\n<dt>How can I manually specify or override the displayed methods?<\/dt>\n<dd><p>In the function and the shortcode use the attribute <code>methods<\/code>. In the widget there is a field for that. If you don`t specify any methods manually, the plugin will try to fetch the available payment methods from WooCommerce. Oh, and there are also two filters available (see beneath).<\/p><\/dd>\n<dt>Are Filters\/Hooks available?<\/dt>\n<dd><p>Yep, there is first of all the filter <code>vendocrat_filter_wc_payment_methods<\/code> which expects an array. Use this to specify\/override the methods to be shown globally.<\/p>\n\n<p>With the filter <code>vendocrat_filter_wc_payment_methods_icons<\/code> you can modify the html markup for all icons to be displayed. This will look somehow like <code>&lt;li&gt;&lt;i class=\"pf pf-paypal\"&gt;&lt;\/i&gt;&lt;\/li&gt;&lt;li&gt;&lt;i class=\"pf pf-visa\"&gt;&lt;\/i&gt;&lt;\/li&gt;&lt;li&gt;&lt;i class=\"pf pf-mastercard\"&gt;&lt;\/i&gt;&lt;\/li&gt;<\/code> for the icons PayPal, Visa and MasterCard.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1.0<\/h4>\n\n<p>Initial release.<\/p>\n\n<h4>0.1.1<\/h4>\n\n<p>Fixed wrong url and typo in readme, updated shortcode and screenshots.<\/p>\n\n<h4>0.1.2<\/h4>\n\n<p>Fixed an error in widget class, added placement option to tooltips, updated language files.<\/p>\n\n<h4>0.2.0<\/h4>\n\n<p>Now using PaymentFont to display brand icons. Fixed textdomain issue plus some minor fixes and enhancements. Added new screenshots!<\/p>\n\n<h4>0.2.1<\/h4>\n\n<p>Fixed typo.<\/p>\n\n<h4>0.2.2<\/h4>\n\n<p>Added CSS to replace payment provider images on WooCommerce Checkout with PaymentFont icons (see screenshots).<\/p>\n\n<h4>0.3.0<\/h4>\n\n<p>Improved payment gateway function. Partial rewrite to fit our internal plugin standard. Improved l10n handling.<\/p>\n\n<h4>1.0.0<\/h4>\n\n<p>Minor fixes, updated PaymentFont and included Portuguese translation (thanks Luis Martins).<\/p>\n\n<h4>1.0.1<\/h4>\n\n<p>Minor fixes, added Greek translation (thanks to Anestis Samourkasidis).<\/p>\n\n<h4>1.1.0<\/h4>\n\n<p>Minor fixes, added multiselect to widget to manually pick payment methods, update to PaymentFont v1.1.1 for better performance.<\/p>\n\n<h4>1.1.1<\/h4>\n\n<p>Minor fixes, enhanced widget.<\/p>\n\n<h4>1.1.2<\/h4>\n\n<p>Updated language files for German.<\/p>","raw_excerpt":"Easily display your accepted payment methods via shortcode, widget or template tag. Of course, it also works without WooCommerce ;)","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/31601","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=31601"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vendocrat"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=31601"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=31601"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=31601"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=31601"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=31601"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=31601"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}