Difference between revisions of "Creating and Editing PayVia Options and Dump Formats"

From TMM Wiki
Jump to navigationJump to search
Line 3: Line 3:
 
}}
 
}}
  
=== Creating A PayVia Type ===
+
[[NATS]] gives you the option to create your own PayVia types for use with compatible payment options. This allows you to choose different methods of sending affiliate payouts, as well as the option of configuring PayVia options how you want.
# In the [[Payments Admin]], click the Pay Via Options tab, enter a name into the "New Pay Via Option" text box (at the bottom of the page), and click Add.
 
# Fill out:
 
## Pay Via Description: what affiliates will see as the name of the pay via type
 
## Allowable 'Minimum Payout' Choices: A comma-separated list of available minimum payout options for affiliates.
 
## Cost Per Payout: The fee to charge affiliates per pay out sent. Make it zero to disable cost or make it negative to give affiliates a bonus for each payout.
 
## Dump Format to Use: Choose the appropriate dump format to use (explained later)
 
# Click save
 
  
=== Editing Pay Via Fields ===
+
[[File:Payvia_types.PNG|450px|List of PayVia Types]]
Click the Edit PayVia Fields button. From here, you'll be editing the
 
pay via type's structure. You can add a new field to the structure by
 
filling out the row and clicking Save.
 
  
* Name: The name of the field as shown to affiliates (ex: ePassporte ID)
+
== Creating A PayVia Type ==
* Type: Choose to display a text box or a multiple choice selection
+
To create a new PayVia type, go to the [[NATS4 Payments Admin|payments admin]] and click the "PayVia Types" tab at the top of the page. On the next page, scroll down to the bottom, enter a name into the "New PayVia Option" text box at the bottom, and click "Add".
* Required: Whether or not the field is a required field (ex: for the ePassporte ID, if it's not required, how would you pay them?)
 
* Minimum: The minimum length for the field (ex: 1)
 
* Maximum: The maximum length of the field (ex: 16)
 
* Unique: Prevents multiple affiliates from using the same value for this field
 
* Check Function: Validate input using this function.  Use NONE to disable validation.
 
  
The four Action icons next to a field let you edit, remove, or change the order the options appear on the affiliate's sign-up form.
+
[[File:New_payvia.PNG|450px|Adding a New PayVia Type]]
 +
 
 +
You will then be prompted to fill out a set of required fields:
 +
* '''Pay Via Type'''- The name of your new PayVia type.
 +
* '''Description'''- The description of the PayVia type that your affiliates will see.
 +
* '''Minimum Payout'''- A comma-separated list of available payout options that affiliates can select from.
 +
* '''Cost/Bonus Per Payout'''- Allows you to set a fee to charge affiliates per payout sent, or add a bonus to affiliate payouts. You can set it to zero to disable any costs, set it to positive to charge affiliates, or set it to negative to give affiliates a bonus on each payout.
 +
* '''Dump Format'''- Choose an appropriate dump format to use. For more information, please see the [[Creating and Editing PayVia Options and Dump Formats#Pay Via Dump Formats|Pay Via Dump Formats]] section of this article.
 +
 
 +
After configuring all available fields, click Save to save your changes.
 +
 
 +
== Editing Pay Via Fields ==
 +
To edit the fields of your new PayVia option, click the "Configure Type" icon under the Actions column. The next page allows you to edit the PayVia type's structure, as well as available fields. You can add a new field to the structure by filling out a new row and clicking Save.
 +
 
 +
[[File:Payvia_fields.PNG|450px|PayVia Fields]]
 +
 
 +
* '''Name''': The name of the field as shown to affiliates (ex: ePassporte ID, user ID, etc.)
 +
* '''Type''': Choose to display a text box or a multiple choice selection
 +
* '''Required''': Whether or not the field is a required field (ex: for the ePassporte ID, if it's not required, how would you pay them?)
 +
* '''Minimum''': The minimum character length for the field (ex: 1)
 +
* '''Maximum''': The maximum character length of the field (ex: 16)
 +
* '''Unique''': Prevents multiple affiliates from using the same value for this field
 +
* '''Check Function''': Validates input using this function.  Use NONE to disable validation. (ex: alnum_space_check makes sure the input is alphanumeric characters and allows spaces.)
 +
 
 +
The four Action icons next to a field let you edit, disable/enable, or change the order the options appear on the affiliate's sign-up form.
  
 
=== Pay Via Dump Formats ===
 
=== Pay Via Dump Formats ===
Dump formats are used to format and display your payment after they've
+
Dump formats are used to format and display your payment after they've been stored. To view your dump formats, go to Payments Admin and click the "Dump Formats" tab to view the current available dump formats.
been stored. Go to Payments Admin and click the Dump Formats tab to view the current dump formats.
+
 
Create a dump format by typing in the name
+
[[File:Payvia_dumps.PNG|450px|Current Pay Via Dumps]]
under "New Dump Format" <s>or you can edit an existing
+
 
one by clicking the Edit icon next to it</s>.
+
You can create a dump format by typing in the name under "New Dump Format" <s>or you can edit an existing one by clicking the Edit icon next to it</s>.
  
''NOTE: On [[NATS]] version 4.0.66 and later, you can no longer edit our default dump formats. The only option is to create your own or duplcate a default dump''
+
''NOTE: On [[NATS]] version 4.0.66 and later, you can no longer edit our default dump formats. The only option is to create your own or duplicate a default dump''
  
 
Dump formats have the following sections:
 
Dump formats have the following sections:
  
* Name: the name of the dump format
+
* '''Name''': the name of the dump format
* Dump Header: This is displayed at the very beginning of the dump.
+
* '''Dump Header''': What fields are displayed at the top/beginning of a dump.
* Entry Header: This is displayed before the affiliate's payment.
+
* '''Entry Header''': This is displayed before the affiliate's payment.
* Entry: This is the affiliate's payment
+
* '''Entry''': This is the affiliate's payment data.
* Entry Footer: This is displayed after the affiliate's payment
+
* '''Entry Footer''': This is displayed after the affiliate's payment.
* Dump Footer: This is displayed at the very end of the dump.
+
* '''Dump Footer''': This is displayed at the very end of the dump.
 +
 
 +
[[File:Payvia_dump_format.PNG|450px|Configuring PayVia Dump Formats]]
  
All the fields that you created in the PayVia form are available here,
+
All the fields that you created in the PayVia form are available here, but with different names. Starting with the name you gave the field, the name is:
but with different names. Starting with the name you gave the field,
 
the name is:
 
  
 
* prefixed with "$affiliate.payvia."
 
* prefixed with "$affiliate.payvia."

Revision as of 12:35, 13 July 2010

NATS 4
Payments Admin
The Payments Admin
Creating and Editing PayVia Options and Dump Formats
Pay Via Types
Check Functions
Payment Dump Entry Numbers
Bulk Invoice Import
Payment Dump Variables
Payment Periods
Payout Period Configuration
Manual Invoices
Members Admin
The Members Admin
View Member Details
Add Member
MySQL Auth
Mod Authn DB
Multisite Access
Member Logging
Member Password Retrieval
OpenID Connect
Mod Auth OpenIDC
ID Numbers

NATS gives you the option to create your own PayVia types for use with compatible payment options. This allows you to choose different methods of sending affiliate payouts, as well as the option of configuring PayVia options how you want.

List of PayVia Types

Creating A PayVia Type

To create a new PayVia type, go to the payments admin and click the "PayVia Types" tab at the top of the page. On the next page, scroll down to the bottom, enter a name into the "New PayVia Option" text box at the bottom, and click "Add".

Adding a New PayVia Type

You will then be prompted to fill out a set of required fields:

  • Pay Via Type- The name of your new PayVia type.
  • Description- The description of the PayVia type that your affiliates will see.
  • Minimum Payout- A comma-separated list of available payout options that affiliates can select from.
  • Cost/Bonus Per Payout- Allows you to set a fee to charge affiliates per payout sent, or add a bonus to affiliate payouts. You can set it to zero to disable any costs, set it to positive to charge affiliates, or set it to negative to give affiliates a bonus on each payout.
  • Dump Format- Choose an appropriate dump format to use. For more information, please see the Pay Via Dump Formats section of this article.

After configuring all available fields, click Save to save your changes.

Editing Pay Via Fields

To edit the fields of your new PayVia option, click the "Configure Type" icon under the Actions column. The next page allows you to edit the PayVia type's structure, as well as available fields. You can add a new field to the structure by filling out a new row and clicking Save.

PayVia Fields

  • Name: The name of the field as shown to affiliates (ex: ePassporte ID, user ID, etc.)
  • Type: Choose to display a text box or a multiple choice selection
  • Required: Whether or not the field is a required field (ex: for the ePassporte ID, if it's not required, how would you pay them?)
  • Minimum: The minimum character length for the field (ex: 1)
  • Maximum: The maximum character length of the field (ex: 16)
  • Unique: Prevents multiple affiliates from using the same value for this field
  • Check Function: Validates input using this function. Use NONE to disable validation. (ex: alnum_space_check makes sure the input is alphanumeric characters and allows spaces.)

The four Action icons next to a field let you edit, disable/enable, or change the order the options appear on the affiliate's sign-up form.

Pay Via Dump Formats

Dump formats are used to format and display your payment after they've been stored. To view your dump formats, go to Payments Admin and click the "Dump Formats" tab to view the current available dump formats.

Current Pay Via Dumps

You can create a dump format by typing in the name under "New Dump Format" or you can edit an existing one by clicking the Edit icon next to it.

NOTE: On NATS version 4.0.66 and later, you can no longer edit our default dump formats. The only option is to create your own or duplicate a default dump

Dump formats have the following sections:

  • Name: the name of the dump format
  • Dump Header: What fields are displayed at the top/beginning of a dump.
  • Entry Header: This is displayed before the affiliate's payment.
  • Entry: This is the affiliate's payment data.
  • Entry Footer: This is displayed after the affiliate's payment.
  • Dump Footer: This is displayed at the very end of the dump.

Configuring PayVia Dump Formats

All the fields that you created in the PayVia form are available here, but with different names. Starting with the name you gave the field, the name is:

  • prefixed with "$affiliate.payvia."
  • all spaces are changed to underscores

For example, the "User ID" field becomes {affiliate.payvia.User_ID}.

The easiest way to create your own dump format is to duplicate a similar format and then make the necessary changes. NATS4 currently ships with more than 20 formats, so finding a similar format should be easy.

See Also