The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Hi,
Someone suggested that a hook could be used to call a custom script once a paypal subscription payment has been completed ( in IPN script ). Does anyone know if this is possible? Thanks John |
#2
|
|||
|
|||
![]()
Just guessing but you can try the 'paidsub_complete' hook.
|
#3
|
|||
|
|||
![]()
Hi Marco,
Can I make a call to the idevaffiliate sale.php (via CURL) from a hook? site.com/idevaffiliate/sale.php?idev_saleamt=$payment_amount&idev_ordernu m=xyz&ip_address=IPADDRESS John |
#4
|
||||
|
||||
![]()
You can run (basically) any PHP code in a hook.
|
#5
|
|||
|
|||
![]()
Thanks Dismounted. I figured out how to use Curl to call the link I need.
Does anyone know whether the 'paidsub_complete' hook is only executed on correct payment or whether it also gets called on for example payment re-post (mistaken re-post). Thanks John |
#6
|
|||
|
|||
![]()
I guess you could, but i have no experience with such a setup.
|
#7
|
|||
|
|||
![]()
I am concerned that it doesn't get called on both - if so, I would be giving double commission - which is bad.
|
#8
|
|||
|
|||
![]()
Just thought I'd drop in and leave a link to the plugin I created if anyone is interested:
https://vborg.vbsupport.ru/showthrea...=idevaffiliate Thanks for your help guys. |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|