The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
paypal item_number
how is the paypal item_number generated? can this be any value as long as it's unique to each order?
i see this in the payments template. <input type="hidden" name="item_number" value="$item" /> i'm just not sure how $item is being generated. it looks like it's just a hash or something but it changes every time. --------------- Added [DATE]1256146467[/DATE] at [TIME]1256146467[/TIME] --------------- found it. if anyone else needs it: $hash = md5($vbulletin->userinfo['userid'] . $vbulletin->userinfo['salt'] . $subscriptionid . uniqid(microtime(),1)); i would store it as something else though if you're going to use it somewhere. that's just em though. <input type="hidden" name="item_number" value="$item_number" /> $item_number= md5($vbulletin->userinfo['userid'] . $vbulletin->userinfo['salt'] . $subscriptionid . uniqid(microtime(),1)); |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|