Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
  #1  
Old 10-11-2005, 05:03 PM
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Location: South Bend, Indiana
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Authorize.net Hack

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
Reply With Quote
  #2  
Old 01-29-2006, 03:27 PM
betterman betterman is offline
 
Join Date: Dec 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did you ever get this working? I hate the default authorize.net setup, would love to have a fully integrated method. I'd be happy to throw you a few bucks if you've got this working for 3.5 and will share.

Thanks!
Reply With Quote
  #3  
Old 01-29-2006, 09:11 PM
DivisionByZero's Avatar
DivisionByZero DivisionByZero is offline
 
Join Date: Dec 2002
Location: South Bend, Indiana
Posts: 485
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I am about 80% complete with this for 3.5.3. I had it all up and working for 3.0.7 with NO problems, but they changed everything around in 3.5.x so i'm having a hard time implementing it.

I'm doing eCheck support too, so I want to be able to pick and choose WHO gets to use eCheck becuase you know the rate of chargebacks is high because ACH with authnet provides no AVS or Fraud Detection Suite coverage.

I'm trying to set it up to be as configurable as possible... i.e:
  • Certain usergroups can use eCheck
  • Certain users can use eCheck
  • Abillity to set the enable flag for anyone who has made X number of successful payments
  • Ability for the module to do its OWN recurring billing (mcrypt supported PHP installs only, because this stores the CC info in the db)
I've also added a nice layout for filling out a "blank check" in the eCheck part of it, and this requires the "Numbers_Words" pear module because this fills in the written dollar amount in the check.

I'll just get it up and running for now with basic features, and i'll add the toys in later, since you're interested in this too.

oh... and for this to work, you'll need to make sure you're HTTPS wwwroot is the same as your HTTP wwwroot. 2 separate vb installs don't work well with this. HTTPS is necessary for a: the protection of your members' personal data (duh) and authnet won't accept non SSL transactions
Reply With Quote
  #4  
Old 01-31-2006, 02:13 PM
betterman betterman is offline
 
Join Date: Dec 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

For now I only need the CC support, but eCheck would be a great addition. Recurring billing would be excellent, as well.

Please let me know what I can do to help.

Thanks,

Rob
Reply With Quote
  #5  
Old 03-04-2006, 12:45 PM
betterman betterman is offline
 
Join Date: Dec 2002
Posts: 12
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by betterman
For now I only need the CC support, but eCheck would be a great addition. Recurring billing would be excellent, as well.

Please let me know what I can do to help.

Thanks,

Rob
Any update?
Reply With Quote
  #6  
Old 08-10-2006, 06:30 PM
grayloon's Avatar
grayloon grayloon is offline
 
Join Date: Mar 2006
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd love to get my hands on this puppy! How close are you to release date?
Reply With Quote
  #7  
Old 04-15-2010, 11:51 PM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

anyone get this working?

More importantly... working on 4.x?
Reply With Quote
  #8  
Old 04-16-2010, 09:38 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This forum is not about vB4.
Reply With Quote
  #9  
Old 04-16-2010, 11:45 AM
wolfyman's Avatar
wolfyman wolfyman is offline
 
Join Date: Apr 2005
Posts: 719
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks Marco
Reply With Quote
Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 07:43 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04911 seconds
  • Memory Usage 2,224KB
  • Queries Executed 13 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (9)post_thanks_box
  • (9)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (9)post_thanks_postbit_info
  • (9)postbit
  • (9)postbit_onlinestatus
  • (9)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete