{"id":34284,"date":"2015-02-03T21:13:06","date_gmt":"2015-02-03T21:13:06","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/epaybg-payments\/"},"modified":"2015-02-03T21:13:06","modified_gmt":"2015-02-03T21:13:06","slug":"epaybg-payments","status":"closed","type":"plugin","link":"https:\/\/wordpress.org\/plugins\/epaybg-payments\/","author":6421267,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"0.1","stable_tag":"0.1","tested":"4.1.42","requires":"4.1","requires_php":"","requires_plugins":"","header_name":"EPay.bg Payments","header_author":"vloo","header_description":"","assets_banners_color":"","last_updated":"2015-02-03 21:13:06","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/vlood\/epay-payments","header_author_uri":"https:\/\/github.com\/vlood","rating":0,"author_block_rating":0,"active_installs":20,"downloads":2038,"num_ratings":0,"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":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["0.1"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[27451,6593,1887,80],"plugin_category":[43,45],"plugin_contributors":[83860],"plugin_business_model":[],"class_list":["post-34284","plugin","type-plugin","status-closed","hentry","plugin_tags-epay-bg","plugin_tags-payment-gateway","plugin_tags-payments","plugin_tags-shortcode","plugin_category-customization","plugin_category-ecommerce","plugin_contributors-vloo","plugin_committers-vloo"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/epaybg-payments.svg","icon_2x":false,"generated":true},"screenshots":[],"raw_content":"<!--section=description-->\n<p>The plugin allows you to create a button for making a payment through epay.bg (a Bulgarian service). The button can be added in any page or post, using a shortcode. Parameters that you can define in the shortcode are:<\/p>\n\n<ul>\n<li>url of the payment gateway (ePay got a sandbox and a live urls, that can be used);<\/li>\n<li>merchant secret (you get one when you register at their site);<\/li>\n<li>mercant key, a.k.a. MIN (also received after registration);<\/li>\n<li>amount of the payment in BGN currency;<\/li>\n<li>expiration date for the time till when the system will be expecting a payment from the client;<\/li>\n<li>description of the payment;<\/li>\n<li>redirection url for when a payment is successfully completed;<\/li>\n<li>redirection url for when a payment is cancelled;<\/li>\n<li>label on the submit button;<\/li>\n<\/ul>\n\n<p>The plugin supports localization and has about 4-5 strings, so it will be pretty easy for anyone to localize it with Codestyling Localization plugin or POEdit tool.<\/p>\n\n<h4>Example<\/h4>\n\n<p>[epay sum=\"50\" secret=\"THIS_IS_THE_SECRET\" expdate=\"01.08.2020\" submiturl=\"https:\/\/devep2.datamax.bg\/ep2\/epay2_demo\/\" min=\"MERCHANT_ID\" descr=\"YOU PAY ME FOR THIS\" failurl=\"http:\/\/yoursite.com\/fail\" successurl=\" http:\/\/yoursite.com\/success\" btnlabel=\"Proceed to ePay\"]<\/p>\n\n<h4>TODO<\/h4>\n\n<ul>\n<li>Rethink the invoice id thingy (currently giving a random 10-digit number);<\/li>\n<li>Make a flag arg for demo\/live payment gateway (currently there is an arguement for the gateway url);<\/li>\n<li>Validation of the arguements (none currently);<\/li>\n<li>Set default values (some of the args shouldn't be required);<\/li>\n<\/ul>\n\n<p>Any ideas for additional features are welcome!<\/p>\n\n<h4>GitHub Repo<\/h4>\n\n<p>Here it is: https:\/\/github.com\/vlood\/ePay.bg-Payments-Plugin<\/p>\n\n<!--section=installation-->\n<h4>From your WordPress dashboard<\/h4>\n\n<ol>\n<li>Visit 'Plugins &gt; Add New'<\/li>\n<li>Search for 'EPay.bg Payments'<\/li>\n<li>Activate EPay.bg Payments from your Plugins page.<\/li>\n<\/ol>\n\n<p>Now you can add a button in any page, post or other custom post type, that has a content field. Other features will be coming soon (eventually);<\/p>\n\n<h4>From WordPress.org<\/h4>\n\n<ol>\n<li>Download 'EPay.bg Payments'.<\/li>\n<li>Upload the 'epay-payments' directory to your '\/wp-content\/plugins\/' directory, using your favorite method (ftp, sftp, scp, etc...)<\/li>\n<li>Activate it from your Plugins page.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>Does it have a settings page?<\/dt>\n<dd><p>Nope.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>0.1. - 2015.01.30<\/h4>\n\n<ul>\n<li>initial commit, yay!<\/li>\n<\/ul>","raw_excerpt":"A shortcode for sending payments for a product or service, using epay.bg service.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/34284","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=34284"}],"author":[{"embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/vloo"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=34284"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=34284"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=34284"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=34284"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=34284"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=34284"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}