SegPay
Please don't test your biller setup with SegPay's test account—it won't work correctly.
Note: Segpay's instructions may be more up to date.
Setup your NATS program site with SegPay. You must update your Postback Notification Profiles or users won't be added or deleted correctly and your transactions won't be updated. Previously you didn't need to enter a userid or access key, but now you must enter them both.
Set up on SegPay's Website
Segpay Member Management
If you only use NATS for cascading and affiliate tracking and you use Segpay for your password management, you only need to enter information in the 2nd Trans Post URL field and MSG. You need to enter this information into each profile.
Set this as the 2nd Trans Post URL in each one of your current Postback Notification Profiles:
- 2nd Trans Post URL: linkdomain/signup/process_segpay.php?action=<action>&stage=<stage>&approved=<approved>&name=<billname>&email=<billemail>&country=<billcntry>&state=<billstate>&city=<billcity>&address=<billaddr>&transtype=<trantype>&purchaseid=<purchaseid>&transid=<tranid>&price=<price>&username=<extra username>&password=<extra password>¤cycode=<currencycode>&eticketid=<eticketid>&memberid=<extra foreignid>&session=<extra natssess>&merchantpartnerid=<extra merchantpartnerid>&xsellnum=<xsellnum>
- 2nd Trans Post Message: (You must include the * before and after the word success) *success*
NATS Member Management
This section describes what you need to enter if you are using NATS for everything including your member management. You should only need to create one profile, NATS, for all your packages at Segpay since all the data is going to the same place.
To create this, go to https://my.segpay.com. Go to Merchant Setup->Post Back. Click on the button to create New Postback Config. For Description, this is where you would enter the name NATS. Fill in the following in bold for each field, replacing linkdomain with that of the site:
- Inquiry URL:
linkdomain/signup/process_segpay.php?action=<action>&username=<extra username>&memberid=<extra foreignid>
- Inquiry Result Good: *success* (You must include the * before and after the word success)
- Access Enable URL: This field is not used.
- Access Enable MSG: This field is not used.
- Access Disable URL:
linkdomain/signup/process_segpay.php?action=<action>&username=<extra username>&password=<extra password>&purchaseid=<purchaseid>
- Access Disable MSG: *success* ( You must include the * before and after the word success)
- Cancel URL: This field is not used.
- Cancel Match: This field is not used.
- 2nd Trans Post URL: linkdomain/signup/process_segpay.php?action=<action>&stage=<stage>&approved=<approved>& name=<billname>&email=<billemail>&country=<billcntry>&state=<billstate>&city=<billcity>&address =<billaddr>&transtype=<trantype>&purchaseid=<purchaseid>&transid=<tranid>&price=<price>&user name=<extra username>&password=<extra password>¤cycode=<currencycode>&eticketid=<eticketid>&memberid=<extra foreignid>&session=<extra natssess>&merchantpartnerid=<extra merchantpartnerid>&xsellnum=<xsellnum>
- 2nd Trans Post Message: (You must include the * before and after the word success): *success*
Under the Email Templates section, you will need to enter the following information shown below. This must be entered in order for receipts to go out.
- Sign-Up Template: email.signup.xml
- Rebill Template: default
- Cancel Template: email.cancel.xml
- Expiration Template: default
Once you have filled in all the appropriate fields, click on the UPDATE button and your profile will be saved. Once you have a NATS Postback Config you can use that postback config in all of your Packages that work with NATS.
Packages
In order to finish setting up NATS at Segpay, for each package that uses NATS, you will need to enter nats into the Result Page field.
Setting up Segpay in NATS
In the Billers Admin, in the Biller drop-down, choose TMMSegPay and click Add.
User I.D. & Access Key are the username (userid) and password (access key) that you would use to login to the my.segpay.com admin. This information is very important as it is needed in order to pull data reporting from the Segpay system regarding your transaction information and user information for cancels and expirations.
Username & Password are the username and password you would use to log into Segpay to check reporting. These can be different from above.
In the Sites Admin, under Biller Details:
Segpay E-Ticket ID (both cc and check) An E-Ticket is a grouping of price points for a specific website. To see your E-tickets, you can go to Merchant Setup -> Packages. To get the Package ID, pick the package from the available packages in the dropdown. Then you will see the details of the specific package. The Package ID is the same as the E-Ticket ID that you will enter at NATS. For the example below, you would enter 106580: . You will always need the : after the 6 digit package number
Custom Auth Text is displayed to consumer on our receipt page when they are approved. You might want to enter something like, Click Here to Login to the Members Area.
Custom Decline Text is displayed to a consumer on our receipt page when they are declined. You might want to enter something like, Click here to try another payment option.
Under Join Options:
Segpay Order ID is a price point. Since you have several price points with each Package, you have to pay attention to which order ID you are looking for. You can see your price points in the bottom half of the package information. Use the Scroll bar on the bottom of the Price Points box and scroll to the right until you find the ID field. This ID is the number you will need to enter in the Order ID field in NATS. For each price point you have in NATS, you need to have each of those in the package.
Segpay E-Ticket Override (both cc and check) lets you set up a join option in a different E-Ticket. Essentially it will switch out the E- Ticket specified above in Biller Details.
Cross Sells
Currently Segpay only supports cross sells to your own sites.
You will need to add the following to your Trans Post URL: &eticketid=<eticketid>&xref=<xref>. Segpay will then provide you with an E-Ticket ID for each cross sell. The E-Ticket IDs are formatted as follows; site:product.
Under Incoming cross sells you enter the site as the E-Ticket ID and the product as the OrderID. You then need to setup a corresponding Outgoing cross sell for the Incoming cross sell that was just setup. The only information needed here is a Ref Code that can be obtained from the cross sells reseller page. You can then activate the incoming cross sell with as many join options as you like and activate them inside of Segpay.
By default, the cross sells will be credited to which ever account you use to get the code that is entered under Ref Code. If you want to credit cross sells to the reseller that sent the original signup you can turn on the following configuration variable: $config['XSELL_SEGPAY_RESELLER'].
Notes
You will have to change the minimum characters on your NATS join form to 8. To do this, edit your Join form and locate the this line:
<TR><TD class="join_name">Username:</TD><TD class="join_value"><input class="join_input" type="text" name="signup[username:1:6:16:::username_check]" value="{$vars.username}"><span class="join_error">{if $errors.username}<br>{$errors.username}</span>{/if}</TD></TR>
Change the '6' that is highlighted to an '8' and it will work fine.