|
|
|
|
How to add custom withdrawal method? |
|
Starting from version 3.2.2 SafelistProX allowing to add custom withdrawal methods to your safelist. It is not necessary to have any PHP knowledges to add new withdrawal method.
To add new withdrawal method to your safelist:
1. Create a folder in the /safelistprox/payment/ or to the /payment/ folder, depend on in what directory SafelistProX was installed. Folder name must be in the lowercase. E.g. (/payment/alertpay/)
2. In that folder create the following file: FOLDER_NAME.withdrawal.php. Where FOLDER_NAME must be replaced with your actual folder name. E.g. alertpay.withdrawal.php
3. Here is sample content of that file(the example is full working alertpay withdrawal file) <? class alertpayWithdrawal { function exportVars() { return $array = array( 'template' => "%payby%\t%amount%\t%username%\t%note%", //Pattern for your mass payment file 'paysys' => 'alertpay', // Name of your folder 'paysys_name' => 'AlertPay', //Name of withdrawal method which will be displayed 'affiliate_setup_desc' => '<STRONG style="font-size:10px;">For AlertPay</STRONG><BR> <SPAN class="comments">Enter zero if you don\'t want to allow this withdrawal method</SPAN>', // For admin panel 'mmessages_key' => 'Via AlertPay', //This will be displayed on the join.php page 'mmessages_key' => 'AlertPay Email', // This will be displayed on the join.php page ); } } ?>
Near each line you can see the description of what should be there after the // Important note regarding this line:
"%payby%\t%amount%\t%username%\t%note%"
This is the pattern for the mass payment file. If your payment processor support mass payment option(like PayPal or AlertPay) you should enter this line with your processor specifics. If your processor doesn't support mass payment option - you may don't change this file.
4. After you upload this file to your server, go to the 'Affiliate Setup' section of your admin panel and enter there the minimum amount allowing your members to withdraw funds. After this the withdrawal method will be automatically added to your safelist.
That's it! |
| Modified: 2008-11-05 04:11:24 |
|
|
|
Average Rating:    |
Hits: 822 |
|
|
|
 |