Beruflich Dokumente
Kultur Dokumente
{ WishList Member }
Documentation for the
Generic 3rd Party System Integration
POST VALUES
WishList Member expects a certain set of variables and a hash key to be sent to it via HTTP POST. These
variables are:
Variable Value
cmd CREATE – creates a new account
cmd__secretkey__UppercasePipeDelimitedPostdata
Example:
secretkey : MysecretKEY
cmd : CREATE
lastname : Baggins
firstname : Frodo
email : frodo@shire.com
level : 1234567890
transaction_id : XYZ123456
CREATE__MYsecretKEY__BAGGINS|FRODO|FRODO@SHIRE.COM|1234567890|XYZ123456
63b8040b5407eac097b86b73e2fe4523
RETURN VALUE
Upon a succesful transaction, WishList member will return a plain text message that will have the same
value as the cmd variable that was passed. If the cmd variable's value is CREATE then the return value will
have a second line containing the URL to which your script must send your customer to.
If the first line of the return value is not the same as the cmd variable that was passed, then the either the
hash was incorrect or cmd contains an invalid value.
Creating an Account
<?php
// the post URL
$postURL = 'http://www.domain.com/index.php/register/GJMYz7';
// the Secret Key
$secretKey = 'MYsecretKEY';
- EOF -