Make Credit Card or eCheck payments using the AffiniPay Payment Gateway from any page on your website.
[affinipay-payment] this shortcode can be used in the content editor on any page from your website to display
a payment form that will include all fields configured in your accounts payment policy by default.
If you need to further customize your payment form the following attributes are available
Option
Default Value
Valid Values
Comments
Required
—
—
—
amount
0
( float )
The amount of the transaction (optional if amount_field is used)
amount_field
no
( yes / no )
Display the amount field on the payment form (optional if amount is used)
type
creditcard
( creditcard / echeck )
The charge type, creditcard for Credit Card payments, or echeck for bank payments
Payment Form Fields
—
—
—
reference_field
no
( yes / no )
Display the payment reference field useful for the customer to enter an invoice number for example.
customer_email_field
yes
( yes / no )
Display the customer email field, this is the email address that your customer receipt will be sent.
customer_address_field
no
( yes / no )
Display the customer address field on the payment form
customer_address2_field
no
( yes / no )
Display the customer address2 field on the payment form
customer_city_field
no
( yes / no )
Display the customer city field on the payment form
customer_state_field
no
( yes / no )
Display the customer state field on the payment form
customer_postalcode_field
no
( yes / no )
Display the customer postal code field on the payment form when account type is echeck
customer_phone_field
no
( yes / no )
Display the customer phone field on the payment form
Titles & Labels
—
—
—
title
Make a Payment
( Any alphanumeric )
The title to display on the page
button_text
Submit Payment
( Any alphanumeric )
The text of the payment form submit button
Simple Payment form with specified amount
[affinipay-payment type=creditcard amount=19.95]
Hook
Description
affinipay_charge_success
Called when a new charge has successfully completed. The charge is passed as an argument to this callback
affinipay_charge_error
Called when a charge fails. An exception is passed as an argument to the callback
Filter
Description / Use Case
affinipay_before_payment_form
Add content before the payment form is rendered
affinipay_after_payment_form
Add custom content after the payment form
affinipay_before_render_customer_fields
Add custom content before the customer fields are rendered
affinipay_after_render_customer_fields
Add content after the customer fields on the payment form
affinipay_before_render_amount_field
Add content before the amount field
affinipay_after_render_amount_field
Add content after the amount field
affinipay_before_render_reference_field
Add content before the payment reference field
affinipay_after_render_reference_field
Add custom content after the payment reference field
affinipay_before_render_email_field
Add custom content before the email field
affinipay_after_render_email_field
Add custom content after the email field
affinipay_before_render_name_field
Add custom content before the customer name field
affinipay_after_render_name_field
Add custom content after the customer name field
affinipay_before_render_address_field
Add custom content before the address field
affinipay_after_render_address_field
Add custom content after the address field
affinipay_before_render_address2_field
Add custom content before the address2 field
affinipay_after_render_address2_field
Add custom content after the address2 field
affinipay_before_render_city_field
Add custom content before the city field
affinipay_after_render_city_field
Add custom content after the city field
affinipay_before_render_state_field
Add custom content before the state field
affinipay_after_render_state_field
Add custom content after the state field
affinipay_before_postalcode_field
Add custom content before the postal code field
affinipay_after_postalcode_field
Add custom content after the postal code field
affinipay_before_render_phone_field
Add custom content before the phone field
affinipay_after_render_phone_field
Add custom content after the phone field
affinipay_before_render_payment_fields
Add custom content before the credit card field
affinipay_after_render_payment_fields
Add custom content after the credit card fields
Starting from $0 per month.
Rating
Reviewers
1 reviews
Tags
Developed By
usharmaap
Quick & Easy
Common Ninja has a large selection of powerful Wordpress plugins that are easy to use, fully customizable, mobile-friendly and rich with features — so be sure to check them out!
Testimonial plugins for Wordpress
Galleries plugins for Wordpress
SEO plugins for Wordpress
Contact Form plugins for Wordpress
Forms plugins for Wordpress
Social Feeds plugins for Wordpress
Social Sharing plugins for Wordpress
Events Calendar plugins for Wordpress
Sliders plugins for Wordpress
Analytics plugins for Wordpress
Reviews plugins for Wordpress
Comments plugins for Wordpress
Portfolio plugins for Wordpress
Maps plugins for Wordpress
Security plugins for Wordpress
Translation plugins for Wordpress
Ads plugins for Wordpress
Video Player plugins for Wordpress
Music Player plugins for Wordpress
Backup plugins for Wordpress
Privacy plugins for Wordpress
Optimize plugins for Wordpress
Chat plugins for Wordpress
Countdown plugins for Wordpress
Email Marketing plugins for Wordpress
Tabs plugins for Wordpress
Membership plugins for Wordpress
popup plugins for Wordpress
SiteMap plugins for Wordpress
Payment plugins for Wordpress
Coming Soon plugins for Wordpress
Ecommerce plugins for Wordpress
Customer Support plugins for Wordpress
Inventory plugins for Wordpress
Video Player plugins for Wordpress
Testimonials plugins for Wordpress
Tabs plugins for Wordpress
Social Sharing plugins for Wordpress
Social Feeds plugins for Wordpress
Slider plugins for Wordpress
Reviews plugins for Wordpress
Portfolio plugins for Wordpress
Membership plugins for Wordpress
Forms plugins for Wordpress
Events Calendar plugins for Wordpress
Contact plugins for Wordpress
Comments plugins for Wordpress
Analytics plugins for Wordpress
Common Ninja Apps
Browse our extensive collection of compatible plugins, and easily embed them on any website, blog, online store, e-commerce platform, or site builder.
Showcase Bluesky Posts in a Dynamic and Engaging Slider
Effortless Mega Footer Creation for Modern Websites
Enhance Design & Draw Attention to Images
Create Stunning Instagram Feeds & Improve User Experience
Effortlessly showcase event schedules
Impress Users, Enhance Your Website & Increase Engagement Using an Image Gallery
Boost Engagement and Foster Community Conversations
Enhance Your Technical Content with Code Snippets
Build Fun and Custom Leaderboards to Boost Competition
Create Stunning Mastodon Feeds & Improve User Experience
HIPAA-Compliant, Secure, and Customizable Forms for Any Use
Showcase Trusted Reviews Easily Across All Platforms
More plugins
The Common Ninja Search Engine platform helps website builders find the best site widgets, apps, plugins, tools, add-ons, and extensions! Compatible with all major website building platforms - big or small - and updated regularly, our Search Engine tool provides you with the business tools your site needs!