{"id":158241,"date":"2022-06-10T01:04:01","date_gmt":"2022-06-10T01:04:01","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/fac-hosted-page-button\/"},"modified":"2022-06-22T03:15:36","modified_gmt":"2022-06-22T03:15:36","slug":"fac-hosted-page-button","status":"closed","type":"plugin","link":"https:\/\/ibo.wordpress.org\/plugins\/fac-hosted-page-button\/","author":10554078,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.1-beta","stable_tag":"1.0.1-beta","tested":"6.0.11","requires":"","requires_php":"7.4","requires_plugins":"","header_name":"FAC Hosted Page Button","header_author":"Kendall Arneaud","header_description":"Custom FAC hosted pages button plugin for Wordpress","assets_banners_color":"66a8ca","last_updated":"2022-06-22 03:15:36","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/github.com\/nirjharlo\/wp-plugin-framework\/","header_author_uri":"https:\/\/kendallarneaud.me","rating":0,"author_block_rating":0,"active_installs":10,"downloads":1243,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description"],"tags":{"1.0.0-beta":{"tag":"1.0.0-beta","author":"icecappacino","date":"2022-06-12 17:08:18"},"1.0.1-beta":{"tag":"1.0.1-beta","author":"icecappacino","date":"2022-06-22 03:15:36"}},"upgrade_notice":[],"ratings":[],"assets_icons":{"icon-128x128.jpg":{"filename":"icon-128x128.jpg","revision":2741187,"resolution":"128x128","location":"assets","locale":""},"icon-256x256.jpg":{"filename":"icon-256x256.jpg","revision":2741187,"resolution":"256x256","location":"assets","locale":""}},"assets_banners":{"banner-1554x500.jpg":{"filename":"banner-1554x500.jpg","revision":2740490,"resolution":"1554x500","location":"assets","locale":""},"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2741187,"resolution":"772x250","location":"assets","locale":""}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.0-beta","1.0.1-beta"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":2740490,"resolution":"1","location":"assets","locale":""},"screenshot-2.png":{"filename":"screenshot-2.png","revision":2740490,"resolution":"2","location":"assets","locale":""},"screenshot-3.png":{"filename":"screenshot-3.png","revision":2740490,"resolution":"3","location":"assets","locale":""},"screenshot-4.png":{"filename":"screenshot-4.png","revision":2740490,"resolution":"4","location":"assets","locale":""}},"screenshots":[],"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[888,211107,1890,4187,1887],"plugin_category":[45],"plugin_contributors":[],"plugin_business_model":[],"class_list":["post-158241","plugin","type-plugin","status-closed","hentry","plugin_tags-e-commerce","plugin_tags-first-atlantic","plugin_tags-gateway","plugin_tags-online","plugin_tags-payments","plugin_category-ecommerce","plugin_committers-icecappacino"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/fac-hosted-page-button_66a8ca.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/fac-hosted-page-button\/assets\/screenshot-1.png?rev=2740490","caption":""},{"src":"https:\/\/ps.w.org\/fac-hosted-page-button\/assets\/screenshot-2.png?rev=2740490","caption":""},{"src":"https:\/\/ps.w.org\/fac-hosted-page-button\/assets\/screenshot-3.png?rev=2740490","caption":""},{"src":"https:\/\/ps.w.org\/fac-hosted-page-button\/assets\/screenshot-4.png?rev=2740490","caption":""}],"raw_content":"<!--section=description-->\n<p>Custom wordpress plugin to facilitate First Atlantic Commerce hosted page payments<\/p>\n\n<h3>Features<\/h3>\n\n<ul>\n<li>Customizable template files using theme. Just copy over to theme folder in sub directory called 'fac-hosted-page-button'\n\n<ul>\n<li>part-page.error.php<\/li>\n<li>part-page.success.php<\/li>\n<li>part-payment.button.error.php<\/li>\n<li>part-payment.button.php<\/li>\n<\/ul><\/li>\n<li>Custom actions hooks\n\n<ul>\n<li>fac-hosted-page_button_after_page_error<\/li>\n<li>fac-hosted-page_button_after_page_success<\/li>\n<li>fac-hosted-page_button_before_payment_button<\/li>\n<li>fac-hosted-page_button_after_payment_button<\/li>\n<li>fac-hosted-page_button_before_payment_button_error<\/li>\n<li>fac-hosted-page_button_after_payment_button_error<\/li>\n<\/ul><\/li>\n<li>Editable Custom Page via Page Section\n\n<ul>\n<li>fac-hosted-page_button (slug)<\/li>\n<\/ul><\/li>\n<li>Shortcodes for response page and payment link button \n\n<ul>\n<li><code>[fac-hosted-page_button_payment_button amount=\"\" currency=\"\" transaction_id=\"\" text=\"\"]<\/code><\/li>\n<li><code>[fac-hosted-page_button_page [page=\"\" message=\"\" transaction_id=\"\" code=\"\"]]<\/code><\/li>\n<\/ul><\/li>\n<li>Helper functions\n\n<ul>\n<li><code>fac_hosted_page_button_display_payment_button($attr)<\/code>(Displays the button by calling the short code)<\/li>\n<\/ul><\/li>\n<li>Define overriding constants<\/li>\n<\/ul>\n\n<h3>Usage<\/h3>\n\n<p>Either embed the payment button shortcode into a page\/post or call the helper function with parameters similar to the template code.<\/p>\n\n<p>E.g.<\/p>\n\n<h4>Payment Link Button<\/h4>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>[fac-hosted-page_button_payment_button amount=\"20.23\" currency=\"BBD\" transaction_id=\"A-9191\" text=\"Pay Now\"]\n    `<\/p>\n\n<h4>Custom Results Pages<\/h4>\n\n<pre><code>`\n<\/code><\/pre>\n\n<p>[fac-hosted-page_button_page [\"page\"=\"path\/to\/template.php\" message=\"Response MEssage\" transaction_id=\"A-9191\" code=\"200\"]]\nfac_hosted_page_button_display_payment_button(['amount'=&gt;200.34,'currency'=&gt;'JMD',....])\n    `<\/p>\n\n<h3>Screenshots<\/h3>\n\n<ol>\n<li>Use shortcode in page <\/li>\n<li>Payment Button<\/li>\n<li>Default Thank You Page<\/li>\n<li>Successful Thank You Page<\/li>\n<\/ol>\n\n<h3>Changelog<\/h3>\n\n<h4>1.0.0-beta<\/h4>\n\n<ul>\n<li>Plugin released. <\/li>\n<\/ul>\n\n<h4>1.0.1-beta<\/h4>\n\n<ul>\n<li>Dependency security updates <\/li>\n<\/ul>\n\n<h3>Notes<\/h3>\n\n<ul>\n<li>You can optionally add hooks for executing additional events on button template and thank you page template\n\n<ul>\n<li><code>do_action('fac-hosted-page_button_after_page_error', string $transaction_id );<\/code> <\/li>\n<li><code>do_action('fac-hosted-page_button_after_page_success', string $transaction_id );<\/code><\/li>\n<\/ul><\/li>\n<li>A default results page and url is created on install<\/li>\n<li>Recommend flushing permalinks settings to enable plugin's return response url directives<\/li>\n<li>Currently, the plugin supports First Atlantic Commerce's 3DS initiatives by default.<\/li>\n<\/ul>","raw_excerpt":"Custom wordpress plugin to facilitate First Atlantic Commerce hosted page payments","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/158241","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=158241"}],"author":[{"embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/icecappacino"}],"wp:attachment":[{"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=158241"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=158241"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=158241"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=158241"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=158241"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ibo.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=158241"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}