The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hello All I have question Im trying to add an affiliate program to my VB forum subscriptions.
I have Idea a few files but I think this the one to do it in. The Affiliate software needs two variables. 1. $id_transaction // transaction id 2. $amount // the amount of the sale VB 3.6.4 version Payment_gateway.php Around Line 81 // if ($apiobj->verify_payment()) My question is would these two VB calls work to give my affiliate program variables the proper values per transaction ? $apiobj->transaction_id $apiobj->paymentinfo['amount'] // Affiliate Variables assigned 1. $idaff_transaction = $apiobj->transaction_id; 2. $aff_amount = $apiobj->paymentinfo['amount']; Then inside the if condition in line number 105 // if ($apiobj->type == 1){ /* I would add the affiliate link code * / } And for returned funds line number 120 // if ($apiobj->type == 2){ /* I would add the affiliate link code for refund updates * / } If someone could please verify it would make my day. Cheers and thank you in advance. Brian |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|