Page 1 of 4 123 ... LastLast
Results 1 to 10 of 32
  1. #1
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    1

    Have a Drink Authorize.Net ARB Module by AphelionZ

    So, after enough of me poking around these forums asking dumb questions and not giving much in return, I decided to bite the bullet and just write the damn thing. So I bring you...

    Authorize.net ARB Payment

    Two files - a lang file and the actual module, with tons of code taken directly from the Authorize.net AIM module that already exists within ZenCart, and also taken from the sample code that authorize.net provides.

    This allows for the admin to set a default length of subscription (they allow up to three years) and a default interval. In addition, this allows the admin to set a trial program up with a fixed or full discount on the subscriptions for the duration of the trial.

    This is tested on 1.3.7 and I have no idea if it will work with previous versions. I'd love for some people to take a look at the code and let me know if i could be doing anything more properly. This is only the third or fourth plugin i've ever written for any web software and certainly the most comprehensive.

    I hope I'm right in thinking this is going to make a few people happy!


    Also grab updated language file here: http://www.zen-cart.com/forum/showth...126#post395126
    Attached Files Attached Files

  2. #2
    Join Date
    Jan 2004
    Posts
    58,288
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Authorize.Net ARB Module

    First, thanks for sharing your efforts with the community. Hopefully it'll help meet the need that several have expressed for ARB support.

    Once you've got some feedback from those who try it out (which you requested in your post above) and have tweaked it, please submit it to the Downloads area for easy access by those who look for modules there.


    There's something you might want to consider though ...
    Quote Originally Posted by AphelionZ View Post
    ...with tons of code taken directly from the Authorize.net AIM module that already exists within ZenCart, and also taken from the sample code that authorize.net provides.
    Um ... if you ripped off "tons of code taken directly from the Authorize.net AIM module that already exists within ZenCart" ... then ... where is the Zen Cart copyright?
    And why is copyright credit given to a different shopping cart system if it's based largely on Zen Cart code?

    In a quick review, it appears that about 80% came directly from the core Zen Cart module, with a bit of required constant renaming. The remaining 20% consists of logic changes needed for ARB and XML communication.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  3. #3
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: Authorize.Net ARB Module

    DrByte - I think that was just a typo on my part. I downloaded another payment module (SecurePay) so I could compare and contrast as I went through, so that copyright stuff must have come from there. I'll change it to a ZenCart copyright in the next revision.

    Sorry about that!

  4. #4
    Join Date
    Jan 2004
    Posts
    58,288
    Blog Entries
    3
    Plugin Contributions
    106

    Default Re: Authorize.Net ARB Module

    Great !
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donations always welcome: www.zen-cart.com/donate

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

  5. #5
    Join Date
    Feb 2006
    Posts
    113
    Plugin Contributions
    0

    Default Re: Authorize.Net ARB Module

    Nice work! I will test it out. This will be a powerful addition to Zen Cart.

  6. #6
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: Authorize.Net ARB Module

    Ok, here's version 0.2

    - Fixed the copyright (I think)
    - Organized the files into the proper ZenCart directory structure
    - added a readme.txt
    - got rid of the pesky ds_store files



    See updated download link here: http://www.zen-cart.com/forum/showth...126#post395126

  7. #7
    Join Date
    Feb 2007
    Location
    Dallas area
    Posts
    76
    Plugin Contributions
    0

    Default Re: Authorize.Net ARB Module

    I receive the following error:
    Code:
    testingTest40Mass Factory Subscription
    #TEST-4036months2007-06-26notsurewhatthesenumbersareforCC#CCExpirationTEST-40ProductName- qty: 1
    myemailaddressmyphonenumberMyNameMy Business
    Address1
    Address2MyNameMy Business
    Address1Address2 - There has been an error processing your credit card. Please try again.
    I left everything in test mode.

    Is it possible to have the payment option be toggled on/off depending on the product? Let's say I have Product A which is not a subscription type product. I'll need Authorize AIM to process this. Product B is a subscription and will need the ARB module to process it. Then what if you have both products in the shopping cart. Is this beyond the scope of things... for now?

    FYI - line 19's define should read ARB not ABR, right?

    Thanks for your time spent on this. I know many people will find it useful.

  8. #8
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: Authorize.Net ARB Module

    I'm sure this is possible but I'm not sure exactly how to do it because I'm still learning the Zen Cart code architecture. That functionality would be helpful to me as well so I'll take a look into it for you. I'd love some guidance from a dev though...

    In the mean time, here's a fix for that lang file typo.
    Attached Files Attached Files

  9. #9
    Join Date
    Nov 2003
    Posts
    1,158
    Plugin Contributions
    0

    Default Re: Authorize.Net ARB Module

    What is "ARB" ?

    What is different from AIM ?

    Many thanks

  10. #10
    Join Date
    May 2007
    Posts
    18
    Plugin Contributions
    1

    Default Re: Authorize.Net ARB Module

    It means Automatic Recurring Billing. It lets you set up subscriptions via Authorize.NET... it's similar to AIM in that you need a web interface to use it, but it costs $10 extra a month to use and is a separate thing.

 

 
Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •