0% found this document useful (0 votes)
67 views4 pages

Paysafe Integration v2

This document outlines the process for integrating a Streamate white label via Paysafe, detailing how to construct a one-click link for users to access paid chats using their existing account information. It includes specific URL parameters required for the integration, encoding instructions for sensitive data, and various repage options for redirecting users after login. Additionally, it emphasizes the importance of validating the integration with a complete test and provides contact information for support.

Uploaded by

acexari.era
Copyright
© Attribution ShareAlike (BY-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
67 views4 pages

Paysafe Integration v2

This document outlines the process for integrating a Streamate white label via Paysafe, detailing how to construct a one-click link for users to access paid chats using their existing account information. It includes specific URL parameters required for the integration, encoding instructions for sensitive data, and various repage options for redirecting users after login. Additionally, it emphasizes the importance of validating the integration with a complete test and provides contact information for support.

Uploaded by

acexari.era
Copyright
© Attribution ShareAlike (BY-SA)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Integrating a Streamate White Label via Paysafe (Optimal Payments)

I. Description
You can upsell to your white label by having the user click a specially-constructed custom link.
When a user with valid payment details clicks on the link, they will be able to visit guest and
paid chats on the white label using their existing account information.
You must construct the URL that passes the account information to the white label using the
arguments outlined below. Also note that certain arguments must be encoded using the
OneClickEncoding library (see Addendum A).

Note: We highly recommend that you validate your integration with Streamate and perform a
complete test from start to finish (including running a bill on a live credit card). Contact
Reseller Support ([email protected]) for more information.

II. Process Overview


1. Construct a one-click link and post it on your site (see Construct the URL).
2. A member of your site with valid payment details through this provider clicks on the link.
3. An HTTPS GET request is sent to the provider-specific oneclick URL.
4. If necessary, the partner site user's account is created for the white label.
5. The user is logged in to their new or existing account (if necessary) and taken to the target
page, as specified in the repage parameters.

Page 1 of 4
III. Construct The URL
The URL that you will use is:
https://oneclick.naiadsystems.com/legacy/oneclick?provider=optimal

The following arguments are appended to the URL. Note that the values listed are examples only;
the real values will depend on your account information.

Name Description Example Value Required


rid The referrer ID is assigned to you and tells the white label that 99 Yes
this is your user and we should bill with Optimal Payments.
This value is specific to each affiliate and specific to each site.
mid The user’s confirmation number that Optimal gave to the user 12345678 Yes
when they joined your site. We pass this to Optimal for your
white label billing.
co_code This is your optimal company code. We pass this to optimal for h56 Yes
your whitelabel billing.
pi_code This is the optimal product_code for the user's membership. ash561 Yes
We pass this to optimal for your whitelabel billing.
pusr This is the user's membership username. We pass this to optimal john Yes
for your whitelabel billing.
email The user account's encoded email address. %21%24v%23j%2Cg Yes
(see Addendum A) %261qFIZ%2BO4lIM
%40D
pwd The user account's encoded password (see Addendum A). w%24v%23xgnfJWVb Yes
chksm Checksum returned by OneClickEncoding (see Addendum A). bd5b83dc83d712f0a Yes
341fc9f1c042783
chksmv Checksum version returned by OneClickEncoding (see 1.5 Yes
Addendum A).
nickname This is the user's chat nickname for all cam site chats. 2girls1sample No
AFNO The standard tracking variable you can use to track this user or 1-56872-banner1 No
a group of users in your reports. See the Linking Documentation
for more information.
repage Use this argument to redirect the user to a specific page after cam No
login. See Addendum B for possible values.
reargs This will be used on the page you select with the repage Jayda_Diamonde No
argument. These should be url encoded.

Page 2 of 4
Addendum A—OneClickEncoding
The user's email address and password must be encoded with our OneClickEncoding library before
being attached to the URL. The encoding library is time-based; therefore the encoded values
should be regenerated for every link. The OneClickEncoding library contains specific instructions as
to its use. If you don't use the encoding library as stated, the user's email and password will be
incorrectly encoded, and the one click will not be completed.
Example PHP call for encoding: Values returned: (Append these to the URL)
EncodeURLParameters ( Array (
'[email protected]', // user's plain text email [email] => %21%24v%23j%2Cg%261qFIZ%2BO4lIM%40D
'TestPassword', // user's plain text password [pwd] => w%24v%23xgnfJWVb
AuthKey, // auth key given to you by Streamate [chksm] => bd5b83dc83d712f0a341fc9f1c042783
true, // returns the values in an array [chksmv] => 1.5
); )

Example URL with all the above arguments appended, including the encoded values from our
library:
https://oneclick.naiadsystems.com/legacy/oneclick?
provider=optimal&rid=99&mid=12345678nickname=2girls1sample&email=%21%24v%23j%2Cg%261qFIZ%2BO4lIM
%40D&pwd=w%24v%23xgnfJWVb&chksm=bd5b83dc83d712f0a341fc9f1c042783&chksmv=1.5&AFNO=1-56872-
banner1&repage=cam&reargs=Jayda_Diamonde

Addendum B—“repage” Values


Name Description Examples
cam The cam/bio page of a specific model, using the model's repage=cam
nickname. reargs=OliviaRose

category A category-specific search for models of that type; the repage=category


available list is found on the front page of your white label. reargs=huge-tits

golive The GoLive chat ad tool. (No reargs required.) repage=golive

golive-iframe The iframe version of the GoLive chat ad tool. repage=golive-iframe


reargs=t%3Dbio%26only
%3D1%26wmode%3Dopaque
%26width%3D316%26height
%3D238
tour20 The iframe tour. Include all the arguments you would repage=tour20
normally use in the tour to customize your look and feel. reargs=clr_bg
(See Addendum C.) %3D000000%26clr_fg
%3DFFFFFF
Wild Set the URL to the page designated in reargs. repage=wild
reargs=landing/1

Page 3 of 4
Addendum C—Creating the Tour reargs Value
Using the tour20 repage value, you can create a tour with one-click links. The possible reargs
match the tour's customization parameters. In order to add these parameters to your one-click link,
however, they must be URL-encoded.
1. Go to the tour generator:
https://www.[white_label.domain]/exports/code/tour_20/index.php
2. Use the available parameters to customize your tour, then click the “Try it” button to
generate the code you want.

Example: <iframe src="http://www.streamate.com/exports/tour_20/index.php?cols=2&rows=3&df=4096"


width="320" height="663" frameborder="0" scrolling="no"></iframe>

3. To create the reargs value, use the src value and remove everything else.

Example: cols=2&rows=3&df=4096

4. Convert the parameters to URL-encoding by using the tool:


https://meyerweb.com/eric/tools/dencoder/
a. Paste the parameters and click the “Encode” button.

Example: cols%3D2%26rows%3D3%26df%3D4096

5. Use the results as your reargs value and add them to your one-click link.

Example: https://oneclick.naiadsystems.com/legacy/oneclick?
provider=optimal&rid=99&mid=12345678&co_code=h56&pi_code=ash561&pusr=john&nicknam
e=masterexploder&email=%21%24v%23j%2Cg%261qFIZ%2BO4lIM%40D&pwd=w%24v
%23xgnfJWVb&chksm=bd5b83dc83d712f0a341fc9f1c042783&chksmv=1.5&AFNO=1-56872-
banner1&repage=tour20&reargs=cols%3D2%26rows%3D3%26df%3D4096

6. Set the new one-click link as the src for your iframe.

Example: <iframe src="https://oneclick.naiadsystems.com/legacy/oneclick?


provider=optimal&=99&mid=12345678&co_code=h56&pi_code=ash561&pusr=john&nickname=
masterexploder&email=%21%24v%23j%2Cg%261qFIZ%2BO4lIM%40D&pwd=w%24v
%23xgnfJWVb&chksm=bd5b83dc83d712f0a341fc9f1c042783&chksmv=1.5&AFNO=1-56872-
banner1&repage=tour20&reargs=cols%3D2%26rows%3D3%26df%3D4096" width="320"
height="663" frameborder="0" scrolling="no"></iframe>

Page 4 of 4

You might also like