Results 1 to 8 of 8
  1. #1
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Setting up some products to capture immediately instead of authorize only?

    Zen cart version: 1.3.9f

    Hi all,

    Is there a way to have certain products capture immediately? We are going to start selling accounts that "activate" access to one of our sister sites. We have done the part that upon capture will send out data to a database to allow access to a different site before with a different product, but in this case we want the purchase/access sequence to be automatic. Right now it is set to "Authorize Only", and we are using the FirstDATA/YourPAY/Linkpoint payment module as well as Paypal Express Checkout.

    This is because if they purchase in the middle of the night, we don't want them to have to wait.

    Which file should I be editing to allow this? Thanks for the direction in advance..
    Vu Nguyen | Multimedia Developer & Webmaster
    Robotics Academy/Robomatter
    Robomatter Robotics Education Store

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Setting up some products to capture immediately instead of authorize only?

    This is a setting that is one way or the other and be default can not be both

  3. #3
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Setting up some products to capture immediately instead of authorize only?

    You mean there isn't a variable somewhere in the payment modules or ordering scripts that check what the current setting is? There has to be a way. I was able to use the ordering php file to allow certain products to talk to our database upon capturing. There's gotta be a flag somewhere, I just don't know where it is.
    Vu Nguyen | Multimedia Developer & Webmaster
    Robotics Academy/Robomatter
    Robomatter Robotics Education Store

  4. #4
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Setting up some products to capture immediately instead of authorize only?

    You mean there isn't a variable somewhere in the payment modules
    Start by looking in the payment module file you are using

  5. #5
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Setting up some products to capture immediately instead of authorize only?

    There's no "flag".

    You'll have to add your own conditional logic to replace this:

    $myorder["ordertype"] = (MODULE_PAYMENT_LINKPOINT_API_AUTHORIZATION_MODE == 'Authorize Only' ? 'PREAUTH': 'SALE');
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

  6. #6
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Setting up some products to capture immediately instead of authorize only?

    Yes! Thanks DrBte.

    Can you point me to this same idea for Paypal Express Checkout?
    Vu Nguyen | Multimedia Developer & Webmaster
    Robotics Academy/Robomatter
    Robomatter Robotics Education Store

  7. #7
    Join Date
    Dec 2009
    Posts
    55
    Plugin Contributions
    0

    Default Re: Setting up some products to capture immediately instead of authorize only?

    I think I found it. Is it line 1423 in paypalwpp.php?

    Code:
    $options['PAYMENTACTION'] = (MODULE_PAYMENT_PAYPALWPP_TRANSACTION_MODE == 'Auth Only') ? 'Authorization' : 'Sale';
    Vu Nguyen | Multimedia Developer & Webmaster
    Robotics Academy/Robomatter
    Robomatter Robotics Education Store

  8. #8
    Join Date
    Jan 2004
    Posts
    66,446
    Plugin Contributions
    81

    Default Re: Setting up some products to capture immediately instead of authorize only?

    Yes .
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    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.

 

 

Similar Threads

  1. Replies: 3
    Last Post: 27 Aug 2008, 12:32 AM
  2. Authorize.net-Authorize, Capture later
    By markw10 in forum General Questions
    Replies: 4
    Last Post: 2 Jun 2008, 04:59 PM
  3. Can I make some products ship-only, some pickup-only, some both?
    By TheToe in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 7 Nov 2006, 12:33 AM
  4. Authorize or Authorize and Capture
    By seand95 in forum Built-in Shipping and Payment Modules
    Replies: 3
    Last Post: 27 May 2006, 09:07 PM

Posting Permissions

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