Create script 2 communicate payment system to website d-base

進行中 投稿 Feb 2, 2012 着払い
進行中 着払い

script needs to be created which can communicate between our system and the

website's database, you will need to create a script that can automatically update

your user database for the purchases made (The script location needs to be set in

the control center, My setup > Remote user management URLs). Once a customer is

forwarded to our system and makes a purchase our system will send a command to this

script so it can update the database. If you would like your customers to purchase

more credits within a week, you aren't able to use our custom username and password

system to know which member purchased the subscription. You are able to use our

custom fields to send extra information to us which will be posted back with the

command after the purchase.

In order to create the script, please view the variables needed:

/The VerotelRUM 1.1 has 6 calls, 3 of which are the basic actions of our remote user

management.

These calls and their required responses are listed below together with

string examples of the RUM call:

1. *add *call: don't add duplicate records to your member database,

DECLINED if duplicate is found.

Only return APPROVED after record was successfully added.

Otherwise return ERROR.

2. *modify *call: return DECLINED if given user account doesn't exist in your system.

Return APPROVED after successful update of your member database. Otherwise return

ERROR.

3. *delete *call: return DECLINED if given user account doesn't exist in your system.

Return APPROVED after given user account is successfully removed. Otherwise return

ERROR.

4. *rebill *and *cancel* calls: always return APPROVED.

Other than that, these transactions are not required to do anything, the calls are

provided

for your convenience, should you want to perform custom actions.

5. There is another call *list_ip*, which allows Verotel to remotely check your IP

file setup.

Please don't modify this functionality. If you write your own RUM script from scratch,

please recreate this function in its entirety.

In creating own script please ALWAYS send back a reply. Allowed values are

APPROVED, DECLINED and ERROR

Examples of the strings on the above actions are as follows:

add:

trn=add&usercode=test2&passcode=I3dup0Q&amount=10&trn_id=example&custom1=foo&custom2=bar$custom3=foobar

delete:

=delete&usercode=test2&custom1=foo&custom2=bar

modify:

trn=modify&usercode=test&passcode=example

cancel:

trn=cancel&usercode=test

rebill:

trn=rebill&usercode=test&amount=11&trn_id=example

The custom fields data is implemented in the example HTML form code for the sign up

button, for example:

<!-- begin SIGN UP NOW BUTTON, start copying here -->

<form action=//"https://example/cgi-bin/[url removed, login to view]"/

<https://example/cgi-bin/[url removed, login to view]>/ method=post>

<input type=hidden name=example_id value="example">

<input type=hidden name=example_website value="example">

<input type=hidden name=example_custom1 value="data1">

<input type=hidden name=example_custom2 value="data2">

<input type=hidden name=example_custom3 value="data3">

<center>

<input type=submit value="SIGN UP NOW!">

</center>

</form>

<!-- end SIGN UP NOW BUTTON

スクリプトインストール

プロジェクトID: #1423978

プロジェクトについて

1個の提案 リモートプロジェクト アクティブ Feb 4, 2012

アワード:

fensoft

I'm ready to start.

$150 USD 2日以内
(レビュー1件)
1.0