System information

Make sure that your paypal account is “verified” before switching to production. For this you might have to send some documents to PayPal like your
Driver ID. If the account is not verified, then PayPal might hold all transactions after a certain limit.
The amount applied for the user credit will be the real (net) amount received which is usually lower than the amount sent by the user due to paypal
transaction fee and other additional costs (for example currency conversion). There is no known fix percent for this value but paypal will send it with the
transaction and the vopip server will calculate accordingly.
Configuration details:
paypal_enabled: enable/disable the PayPal payment option. Enabled by default, but it is unusable until you set either the paypal_accountid or the
paypal_emailid setting.
paypal_enabled_for_resellers: enable/disable separate PayPal account for resellers (enabled by default)
paypal_mustverify: request confirmation from paypal after each payment. Enabled by default
paypal_accountid: your paypal account id where the payments will be sent
paypal_emailid: your paypal email address where the payments will be sent
paypal_currency: the enforced currency. Otherwise the user currency setting is used
paypal_currencies: the list of accepted currencies. By default the followings are accepted: USD,EUR,GBP, your main currency
paypal_maxamount: maximum payment accepted. Default value is 600.
paypal_minamount: minimum payment accepted. Default value is 5
paypal_checkabove_verified: payments above this value must be verified first if the sender account is not “verified” by paypal (default value is 50)
paypal_checkabove_all: all payments above this value must be verified first (default value is 100)
paypal_feetype: which amount have to be added to the user credit: 0=really received (default),1=send by the user
paypal_addpercent: modify the received amount. Default value is 100 (no changes)
paypal_feepercent: add a fee percent (before payment)
paypal_feevalue: add a fee value (before payment)
paypal_sendemail: send emails about payments for the users
paypal_sendemailtoadmins: notify the admins about the new payments
paypal_sendemailtosupport: notify the support users about the new payments
paypal_emailonreceived: emai body text to be sent on received payments (a default message will be applied if this is not set)
paypal_emailonapprowed: emai body text to be sent on approved payments (a default message will be applied if this is not set)
paypal_verifysource: verify if the transaction was initiated from the webportal (0=no,1=if exists,2=always)
paypal_checkemail: check if the user email address is the same received from paypal. If not, then the payment is not applied automatically (deprecated by
checktrusted)
paypal_checktrusted: auto allow transactions only for users on the trusted list. Otherwise the transaction have to be applied manually. Possible values:
0,1,2,3,4 (0=never,1=only if no email match,2=always,3=always + email)
All PayPal transactions will be stored in the tb_payprocessing table which has the following fields:
Userid: user database ID from tb_users
Amount: paid ammount