by Kendall Arneaud on WordPress.org

Custom wordpress plugin to facilitate First Atlantic Commerce hosted page payments
[fac-hosted-page_button_payment_button amount="" currency="" transaction_id="" text=""][fac-hosted-page_button_page [page="" message="" transaction_id="" code=""]]fac_hosted_page_button_display_payment_button($attr)(Displays the button by calling the short code)Either embed the payment button shortcode into a page/post or call the helper function with parameters similar to the template code.
E.g.
`
[fac-hosted-page_button_payment_button amount=”20.23″ currency=”BBD” transaction_id=”A-9191″ text=”Pay Now”]
`
`
[fac-hosted-page_button_page [“page”=”path/to/template.php” message=”Response MEssage” transaction_id=”A-9191″ code=”200″]]
fac_hosted_page_button_display_payment_button([‘amount’=>200.34,’currency’=>’JMD’,….])
`
do_action('fac-hosted-page_button_after_page_error', string $transaction_id ); do_action('fac-hosted-page_button_after_page_success', string $transaction_id );