{"id":87818,"date":"2018-07-09T19:35:16","date_gmt":"2018-07-09T19:35:16","guid":{"rendered":"https:\/\/wordpress.org\/plugins\/affinipay-payment-gateway\/"},"modified":"2024-04-16T17:01:00","modified_gmt":"2024-04-16T17:01:00","slug":"affinipay-payment-gateway","status":"publish","type":"plugin","link":"https:\/\/is.wordpress.org\/plugins\/affinipay-payment-gateway\/","author":15518286,"comment_status":"closed","ping_status":"closed","template":"","meta":{"version":"1.0","stable_tag":"trunk","tested":"6.5.8","requires":"4.9.1","requires_php":"7.0","requires_plugins":null,"header_name":"AffiniPay Payment Gateway","header_author":"AffiniPay, LLC","header_description":"Make Payments using the AffiniPay Gateway","assets_banners_color":"fefefe","last_updated":"2024-04-16 17:01:00","external_support_url":"","external_repository_url":"","donate_link":"","header_plugin_uri":"https:\/\/affinipay.com","header_author_uri":"","rating":3.5,"author_block_rating":0,"active_installs":50,"downloads":9713,"num_ratings":2,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","faq","changelog"],"tags":{"1.0.1":{"tag":"1.0.1","author":"wesleyaaronhuntap","date":"2019-04-29 20:43:12"},"1.0.2":{"tag":"1.0.2","author":"wesleyaaronhuntap","date":"2019-05-02 18:16:01"},"1.0.4":{"tag":"1.0.4","author":"usharmaap","date":"2020-04-12 22:40:14"},"1.0.5":{"tag":"1.0.5","author":"usharmaap","date":"2020-04-17 15:11:38"},"1.0.6":{"tag":"1.0.6","author":"usharmaap","date":"2020-12-14 23:25:03"},"1.0.7":{"tag":"1.0.7","author":"affinipay0msluyter","date":"2021-06-10 13:22:00"},"1.0.8":{"tag":"1.0.8","author":"yagnesh2","date":"2021-09-30 09:00:22"}},"upgrade_notice":{"":"<p>The AffiniPay WordPress plugin no longer requires your public key and secret key, now only the secret key is required. Be sure to set\nthe secret key on the plugin settings page (Settings -&gt; AffiniPay Payments) in WordPress admin.<\/p>"},"ratings":{"1":0,"2":1,"3":0,"4":0,"5":1},"assets_icons":{"icon.svg":{"filename":"icon.svg","revision":1906616,"resolution":false,"location":"assets","locale":false}},"assets_banners":{"banner-772x250.jpg":{"filename":"banner-772x250.jpg","revision":2031529,"resolution":"772x250","location":"assets","locale":"","width":772,"height":250}},"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.0.1","1.0.2","1.0.4","1.0.5","1.0.6","1.0.7","1.0.8"],"block_files":[],"assets_screenshots":[],"screenshots":[]},"plugin_section":[],"plugin_tags":[159006,1887],"plugin_category":[45],"plugin_contributors":[190863,159007,184158,167927],"plugin_business_model":[],"class_list":["post-87818","plugin","type-plugin","status-publish","hentry","plugin_tags-affinipay","plugin_tags-payments","plugin_category-ecommerce","plugin_contributors-affinipay0msluyter","plugin_contributors-jjungmannap","plugin_contributors-usharmaap","plugin_contributors-wesleyaaronhuntap","plugin_committers-affinipayudev","plugin_committers-jjungmannap","plugin_committers-jsparrowap","plugin_committers-wesleyaaronhuntap"],"banners":{"banner":"https:\/\/ps.w.org\/affinipay-payment-gateway\/assets\/banner-772x250.jpg?rev=2031529","banner_2x":false,"banner_rtl":false,"banner_2x_rtl":false},"icons":{"svg":"https:\/\/ps.w.org\/affinipay-payment-gateway\/assets\/icon.svg?rev=1906616","icon":"https:\/\/ps.w.org\/affinipay-payment-gateway\/assets\/icon.svg?rev=1906616","icon_2x":false,"generated":false},"screenshots":[],"raw_content":"<!--section=description-->\n<p>Make Credit Card or eCheck payments using the AffiniPay Payment Gateway from any page on your website.<\/p>\n\n<h3>Usage<\/h3>\n\n<ol>\n<li>Activate the AffiniPay WordPress Plugin<\/li>\n<li>Enter your merchant secret key on the plugin settings page (Settings -&gt; AffiniPay Payments) in WordPress admin.<\/li>\n<li>Select Merchant account from \"Account\" dropdown which is differentiated  by icon based on account type.<\/li>\n<li>When you have multiple accounts then please Select a merchant account from the \"Account\" dropdown, it will auto generate shortcode with account type and account id. If your account has not been setup for eCheck payments\ncontact AffiniPay customer service<\/li>\n<li>Copy the affinipay-payment shortcode that is generated below the \"Account\" dropdown to any page or post within your website.\n[affinipay-payment type=creditcard account=pM_hSdsc39DcXSabO8TBFs-g]<\/li>\n<\/ol>\n\n<h3>Short Code Options &amp; Usage Examples<\/h3>\n\n<p><code>[affinipay-payment]<\/code> this shortcode can be used in the content editor on any page from your website to display\na payment form that will include all fields configured in your accounts payment policy by default.<\/p>\n\n<p>If you need to further customize your payment form the following attributes are available<\/p>\n\n\n\n\n  Option\n  Default Value\n  Valid Values\n  Comments\n\n\n\n\n  <strong>Required<\/strong>\n  --\n  --\n  --\n\n\n  <code>amount<\/code>\n  0\n  ( float )\n  The amount of the transaction (optional if amount_field is used)\n\n\n  <code>amount_field<\/code>\n  no\n  ( yes \/ no )\n  Display the amount field on the payment form (optional if amount is used)\n\n\n  <code>type<\/code>\n  creditcard\n  ( creditcard \/ echeck )\n  The charge type, creditcard for Credit Card payments, or echeck for bank payments\n\n\n  <strong>Payment Form Fields<\/strong>\n  --\n  --\n  --\n\n\n  <code>reference_field<\/code>\n  no\n  ( yes \/ no )\n  Display the payment reference field useful for the customer to enter an invoice number for example.\n\n\n  <code>customer_email_field<\/code>\n  yes\n  ( yes \/ no )\n  Display the customer email field, this is the email address that your customer receipt will be sent.\n\n\n  <code>customer_address_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer address field on the payment form\n\n\n  <code>customer_address2_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer address2 field on the payment form\n\n\n  <code>customer_city_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer city field on the payment form\n\n\n  <code>customer_state_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer state field on the payment form\n\n\n  <code>customer_postalcode_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer postal code field on the payment form when account type is echeck\n\n\n  <code>customer_phone_field<\/code>\n  no\n  ( yes \/ no )\n  Display the customer phone field on the payment form\n\n\n  <strong>Titles &amp; Labels<\/strong>\n  --\n  --\n  --\n\n\n  <code>title<\/code>\n  Make a Payment\n  ( Any alphanumeric )\n  The title to display on the page\n\n\n  <code>button_text<\/code>\n  Submit Payment\n  ( Any alphanumeric )\n  The text of the payment form submit button\n\n\n\n\n<h3>Usage Examples<\/h3>\n\n<p>Simple Payment form with specified amount\n    [affinipay-payment type=creditcard amount=19.95]<\/p>\n\n<h3>Available Action Hooks<\/h3>\n\n\n\n\n  Hook\n  Description\n\n\n\n\n  <code>affinipay_charge_success<\/code>\n  Called when a new charge has successfully completed. The charge is passed as an argument to this callback\n\n\n  <code>affinipay_charge_error<\/code>\n  Called when a charge fails. An exception is passed as an argument to the callback\n\n\n\n\n<h3>Available Filter Hooks<\/h3>\n\n\n\n\n  Filter\n  Description \/ Use Case\n\n\n\n\n  <code>affinipay_before_payment_form<\/code>\n  Add content before the payment form is rendered\n\n\n  <code>affinipay_after_payment_form<\/code>\n  Add custom content after the payment form\n\n\n  <code>affinipay_before_render_customer_fields<\/code>\n  Add custom content before the customer fields are rendered\n\n\n  <code>affinipay_after_render_customer_fields<\/code>\n  Add content after the customer fields on the payment form\n\n\n  <code>affinipay_before_render_amount_field<\/code>\n  Add content before the amount field\n\n\n  <code>affinipay_after_render_amount_field<\/code>\n  Add content after the amount field\n\n\n  <code>affinipay_before_render_reference_field<\/code>\n  Add content before the payment reference field\n\n\n  <code>affinipay_after_render_reference_field<\/code>\n  Add custom content after the payment reference field\n\n\n  <code>affinipay_before_render_email_field<\/code>\n  Add custom content before the email field\n\n\n  <code>affinipay_after_render_email_field<\/code>\n  Add custom content after the email field\n\n\n  <code>affinipay_before_render_name_field<\/code>\n  Add custom content before the customer name field\n\n\n  <code>affinipay_after_render_name_field<\/code>\n  Add custom content after the customer name field\n\n\n  <code>affinipay_before_render_address_field<\/code>\n  Add custom content before the address field\n\n\n  <code>affinipay_after_render_address_field<\/code>\n  Add custom content after the address field\n\n\n  <code>affinipay_before_render_address2_field<\/code>\n  Add custom content before the address2 field\n\n\n  <code>affinipay_after_render_address2_field<\/code>\n  Add custom content after the address2 field\n\n\n  <code>affinipay_before_render_city_field<\/code>\n  Add custom content before the city field\n\n\n  <code>affinipay_after_render_city_field<\/code>\n  Add custom content after the city field\n\n\n  <code>affinipay_before_render_state_field<\/code>\n  Add custom content before the state field\n\n\n  <code>affinipay_after_render_state_field<\/code>\n  Add custom content after the state field\n\n\n  <code>affinipay_before_postalcode_field<\/code>\n  Add custom content before the postal code field\n\n\n  <code>affinipay_after_postalcode_field<\/code>\n  Add custom content after the postal code field\n\n\n  <code>affinipay_before_render_phone_field<\/code>\n  Add custom content before the phone field\n\n\n  <code>affinipay_after_render_phone_field<\/code>\n  Add custom content after the phone field\n\n\n  <code>affinipay_before_render_payment_fields<\/code>\n  Add custom content before the credit card field\n\n\n  <code>affinipay_after_render_payment_fields<\/code>\n  Add custom content after the credit card fields\n\n<!--section=faq-->\n<p>Q: Can I use a Credit Card and an eCheck payment shortcode on the same page?\nA: Yes, you may generate any number of shortcodes and include them on your page in any order<\/p>\n\n<p>Q: How do I set an amount on a payment that does not change?\nA: Use the \"amount\" key\/value in the payment shortcode, see examples above.<\/p>\n\n<!--section=changelog-->\n<h4>1.0<\/h4>\n\n<ul>\n<li>Initial release<\/li>\n<\/ul>\n\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Multi-payment support<\/li>\n<\/ul>\n\n<h4>1.0.3<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>1.0.4<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>1.0.5<\/h4>\n\n<ul>\n<li>Bug fix for payment amount in shortcode<\/li>\n<\/ul>\n\n<h4>1.0.6<\/h4>\n\n<ul>\n<li>Support Wordpress 5.5. Bug fixes.<\/li>\n<\/ul>\n\n<h4>1.0.7<\/h4>\n\n<ul>\n<li>Bug fixes<\/li>\n<\/ul>\n\n<h4>1.0.8<\/h4>\n\n<ul>\n<li>Bug fixes for incorrect echeck accountID's<\/li>\n<\/ul>","raw_excerpt":"Make Credit Card or eCheck payments using the AffiniPay Payment Gateway","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/87818","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=87818"}],"author":[{"embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/affinipayudev"}],"wp:attachment":[{"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=87818"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=87818"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=87818"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=87818"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=87818"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/is.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=87818"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}