The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
||||
|
||||
![]()
Ok, here's the deal...
I'm trying to port a hack I wrote for 3.0.7 that worked seamlessly. It's located in this thread: https://vborg.vbsupport.ru/showthread.php?t=66178 This one also had authorize.net e-check support in it. Worked like a champ! Since 3.5.0 was wrote with no regard for backwards compatibility, I've found myself pulling my hair out over this one. :devious: So far, I've done the following, which works ok: -- made two copies of the API rows in the database, renaming each to reflect CC and ECHECK support. -- made two copies of the /includes/paymentapi/classes, renaming them respecfully. -- made templates for the payment form -- wrote a checkout.php file that handles all the post data, and communicates with the gateway via cURL and retrieves the data that payment_gateway.php?method=authorizenet normally would. -- copied the contents of payment_gateway.php into my checkout.php file right after the cURL session has closed. my checkout.php would then require the same files as payment_gateway.php does, and would build the subscription (or delete it) accordingly The problem I'm having is, when I look in payment_gateway.php, i can't figure out how to serialize, arrange, or assign the POST data to a variable so that it can continue. So, since the relay response from auth.net uses POST data, how do I convert that data to where payment_gateway.php would parse it? Any help would be appreciated, so I can get this hack posted ![]() Thanks |
![]() |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|