Results 1 to 10 of 128

Hybrid View

  1. #1
    Join Date
    Apr 2007
    Location
    Vancouver, Canada
    Posts
    1,567
    Plugin Contributions
    74

    Default Re: Beanstream Payment Module Support Thread

    There are further bugs in the code that should be updated.

    Find:
    PHP Code:
    $province_code_order = (in_array($order->billing['country']['iso_code_2'], array('CA''US')) ? zen_get_zone_code($order->billing['country']['id'], $order->billing['state'], '--') : '--'); 
    Replace With:
    PHP Code:
    $province_code_order = (in_array($order->billing['country']['iso_code_2'], array('CA''US')) ? zen_get_zone_code($order->billing['country']['id'], $order->billing['zone_id'], $order->billing['state']) : '--'); 
    Find:
    PHP Code:
    $province_code_ship = (in_array($order->delivery['country']['iso_code_2'], array('CA''US')) ? zen_get_zone_code($order->delivery['country']['id'], $order->delivery['state'], '--') : '--'); 
    Replace With:
    PHP Code:
    $province_code_ship = (in_array($order->delivery['country']['iso_code_2'], array('CA''US')) ? zen_get_zone_code($order->delivery['country']['id'], $order->delivery['zone_id'], $order->delivery['state']) : '--'); 

  2. #2
    Join Date
    Jul 2015
    Location
    Kelowna, BC, Canada
    Posts
    3
    Plugin Contributions
    0

    Default Re: Beanstream Payment Module Support Thread

    I'm trying to set up the Beanstream payment module in Zen Cart 1.5.4, Apache 2.2.29, Curl 7.12.1, MySQL 5.5.42-37.1, PHP 5.4.43.

    Everything seems to be functioning well until I hit the final Confirm button to submit the order for processing. I get an error 324 and the prompt: "Error (324) Order quantity for product '5' greater then quantity available - Your credit card could not be authorized for this reason. Please correct the information and try again or contact us for further assistance."

    I have verified that there is sufficient quantity of the product in stock and that the inventory on the Beanstream account site is empty. Beanstream support is asking for the exact query string I'm using to generate the request. Where would I find that? It's not kept in the debug files (just the response from the Beanstream server, which I had already provided) nor in the MySQL db, even with "Enable Database Storage" enabled. Can anyone help?

  3. #3
    Join Date
    Feb 2006
    Location
    Tampa Bay, Florida
    Posts
    10,536
    Plugin Contributions
    127

    Default Re: Beanstream Payment Module Support Thread

    So the Beanstream guys say they know about this issue and anticipate the fix being ready first week of September.
    That Software Guy. My Store: Zen Cart Support
    Available for hire - See my ad in Services
    Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
    Do you benefit from Zen Cart? Then please support the project.

  4. #4
    Join Date
    Oct 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Beanstream Payment Module Support Thread

    Since upgrading to PHP 5.6.30 I'm getting the following error:

    [07-Apr-2017 08:37:56 America/Vancouver] Request URI: /admin/orders.php?origin=index&page=1&oID=1967&action=edit, IP address: 64.180.94.185
    #1 beanstream->admin_notification() called at [/home/public_html/admin/orders.php:594]

    [07-Apr-2017 08:37:56 America/Vancouver] PHP Warning: Creating default object from empty value in /home/public_html/includes/modules/payment/beanstream.php on line 404

    Any ideas?

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

    Default Re: Beanstream Payment Module Support Thread

    Quote Originally Posted by robraymond View Post
    Since upgrading to PHP 5.6.30 I'm getting the following error:

    [07-Apr-2017 08:37:56 America/Vancouver] Request URI: /admin/orders.php?origin=index&page=1&oID=1967&action=edit, IP address: 64.180.94.185
    #1 beanstream->admin_notification() called at [/home/public_html/admin/orders.php:594]

    [07-Apr-2017 08:37:56 America/Vancouver] PHP Warning: Creating default object from empty value in /home/public_html/includes/modules/payment/beanstream.php on line 404

    Any ideas?
    1. Those are WARNINGS, not ERRORS.

    2. To change the code to be more compatible with newer versions of PHP, edit the /includes/modules/payment/beanstream.php file and add the new line shown here:

    Code:
      function admin_notification($zf_order_id) {    global $db;
        $output = '';
        $trnData = new stdClass;
        $trnData->fields = array();
        require(DIR_FS_CATALOG . DIR_WS_MODULES . 'payment/beanstream/beanstream_admin_notification.php');
        return $output;
      }
    .

    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
    Oct 2007
    Posts
    28
    Plugin Contributions
    0

    Default Re: Beanstream Payment Module Support Thread

    Yes, sorry, a warning not an error.

    Thank you for the edit!

  7. #7
    Join Date
    Jan 2010
    Posts
    21
    Plugin Contributions
    0

    Default Re: Beanstream Payment Module Support Thread

    Wow, I set this up for a customer over 8 years ago and all is still running great with this module and the Interac module. Thank you all!

    A requirement to ensure they were using TLS 1.2 at a minimum brought me back here. My password had to be changed upon login, it's been over 8000 days since it was last changed. lol

    Anyways, thanks again for the solid software!
    Zen Cart 1.3.8a.
    with Beanstream Canada Payment Module
    and Interac via Beanstream Payment Module

 

 

Similar Threads

  1. v155 Quote Payment Module Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 8
    Last Post: 13 Jan 2022, 09:07 PM
  2. INTERAC via Beanstream Support Thread
    By swguy in forum Addon Payment Modules
    Replies: 49
    Last Post: 9 Oct 2015, 04:58 PM
  3. Installment Plan Payment Module [Support thread]
    By swguy in forum Addon Payment Modules
    Replies: 53
    Last Post: 5 Mar 2013, 09:56 PM
  4. Paycard payment module - support thread
    By prez in forum Addon Payment Modules
    Replies: 0
    Last Post: 1 May 2011, 01:02 AM
  5. Layaway Payment Module Support Thread
    By Danielle in forum Addon Payment Modules
    Replies: 0
    Last Post: 21 Nov 2006, 06:43 AM

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