Page 1 of 2 12 LastLast
Results 1 to 10 of 18
  1. #1
    Join Date
    May 2006
    Posts
    5
    Plugin Contributions
    0

    Default ViaKlix Module Help

    I need some help with the ViaKlix Payment Processor Module. I Found the module here
    http://www.modyourzencart.com/index....&products_id=8


    I installed everthing and it works up until the point of the final confirmation. When I hit the button to confirm the order (in test mode) it sends the info to the ViaKlix terminal.

    The problem is that it returns the cart to a Time out session page. The other problem is that the cart hasn't created the transaction as cofirmed within the database. So the cart is still storing the items. It doesn't clear the items for the user.

    Are there bugs with this module? Anybody who is using ViaKlix, please come in and give me some advice. I'm hitting a brick wall with this. Are here updates to this? Fixes? Do I need to do something with ViaKlix to fix this

    Thanks.

    ** EDITED *** Never ever post in a forum, email, newsletter etc. the zenid or zenAdminID or you will be doomed!!
    Last edited by Ajeh; 12 Mar 2007 at 05:57 AM.

  2. #2
    Join Date
    Oct 2005
    Posts
    96
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    Any news on the new module? I'm having problems with the old one and if the new mod is coming out soon, then I'll just wait.

    Thanks,
    Heather

  3. #3
    Join Date
    Nov 2005
    Posts
    28
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    I am having the exact same problem. The charge actually goes through the viaklix system but zencart comes back with this error:

    Login Time Out
    We're sorry but for your protection, due to the long delay while either checking out, or on a secure page, the session has timed out.

    If you were placing an order, please Login and your Shopping Cart will be restored. You may then go back to the Checkout and complete your final purchases.

    If you had completed an order and wish to review it, or had a download and wish to retrieve it, please go to your My Account page to view your order.

    And zencart does not recognize that an order has been placed.

    Any help PLEASE!

  4. #4
    Join Date
    Jun 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    I have the exact same problem as shmegma describes. A solutions would be greatly appreciated.

    Can someone describe or explain how does the ZenCart know or find out that the credit card went through?

    I'm having my credit card gateway redirect the clients back to my website. This is what it is doing now: (I am using a shared certificate for now)

    Code:
    <form action="https://xxx.xxx.com/~xxx/index.php?main_page=checkout_process" method="GET">
    <input type="hidden" name="ssl_result" value="0">
    <input type="hidden" name="ssl_result_message" value="APPROVED">
    <input type="hidden" name="ssl_txn_id" value="F4D6DDC6-5504-4BA9-A2EE-BCD5AC0B68A1">
    <input type="hidden" name="ssl_approval_code" value="xxxxxx">
    <input type="hidden" name="ssl_cvv2_response" value="M">
    <input type="hidden" name="ssl_avs_response" value="Y">
    
    <input type="hidden" name="ssl_transaction_type" value="SALE">
    <input type="hidden" name="ssl_amount" value="1.00">
    <input type="hidden" name="ssl_customer_code" value="1">
    <input type="hidden" name="ssl_salestax" value="0">
    <input type="hidden" name="ssl_invoice_number" value="">
    <input type="hidden" name="ssl_description" value="">
    <input type="hidden" name="zenid" value="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx">
    <input type="hidden" name="ssl_company" value="">
    <input type="hidden" name="ssl_first_name" value="xxxx">
    <input type="hidden" name="ssl_last_name" value="xxxxx">
    <input type="hidden" name="ssl_avs_address" value="xxxxxxxxx">
    <input type="hidden" name="ssl_address2" value="">
    <input type="hidden" name="ssl_city" value="xxxxx">
    <input type="hidden" name="ssl_state" value="xxxxxxxx">
    <input type="hidden" name="ssl_avs_zip" value="xxxxx">
    <input type="hidden" name="ssl_country" value="United States">
    <input type="hidden" name="ssl_email" value="[email protected]">
    
    <input type="hidden" name="ssl_phone" value="0000000000">
    <input type="hidden" name="ssl_ship_to_company" value="">
    <input type="hidden" name="ssl_ship_to_first_name" value="test">
    <input type="hidden" name="ssl_ship_to_last_name" value="tester">
    <input type="hidden" name="ssl_ship_to_avs_address" value="">
    <input type="hidden" name="ssl_ship_to_address2" value="">
    <input type="hidden" name="ssl_ship_to_city" value="TEST">
    <input type="hidden" name="ssl_ship_to_state" value="xxxxxx">
    <input type="hidden" name="ssl_ship_to_avs_zip" value="">
    <input type="hidden" name="ssl_ship_to_country" value="United States">
    <input type="hidden" name="ssl_ship_to_phone" value="">

  5. #5
    Join Date
    Jun 2006
    Posts
    3
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    After a lot of experimentation and reading the Viaklix documentation, etc etc etc, I found out that the redirect get method returns the client to the following url:

    ...index.php?main_page=checkout_process?ssl_result=0&ssl_result_message...

    the problem is with the ? after the checkout_process. It should be a & as shown:

    ...index.php?main_page=checkout_process&ssl_result=0&ssl_result_message...

    if you try it, get the observed error, then make the change, it takes you to the correct screen and everything is processed appropriately. The question now is how to correct the mistake before it happens.

    ...

    I found a solution.

    The following code needs to be modified in the viaklix payment moduel (includes\modules\payment\viaklix.php)

    Code:
    zen_draw_hidden_field('ssl_result_format', 'HTML') .
        														zen_draw_hidden_field('main_page', 'checkout_process') .
        														zen_draw_hidden_field('ssl_receipt_apprvl_method', 'REDG') .
        														zen_draw_hidden_field('ssl_receipt_decl_method', 'REDG') .
        														zen_draw_hidden_field('ssl_receipt_apprvl_get_url', zen_href_link(FILENAME_DEFAULT, '', 'SSL', FALSE)) .
        														zen_draw_hidden_field('ssl_receipt_decl_get_url', zen_href_link(FILENAME_CHECKOUT_PAYMENT, 'payment_error=' . $this->code . '&viaklix_cc_owner=' . urlencode($_POST['viaklix_cc_owner']) . '&passedvars=coming' , 'SSL', FALSE));
    if (MODULE_PAYMENT_VIAKLIX_TESTMODE == 'Test') $process_button_string .= zen_draw_hidden_field('ssl_test_mode', 'TRUE');
        														//$process_button_string .= zen_draw_hidden_field(zen_session_name(), zen_session_id());
    Also, you need to make changes on the viaklix side.

    Go to Terminal Setup -> Payment Form Field Setup

    In the Order Information section, select "Add New Field"

    make the name and display name "zenid"; Max char 100; ONLY leave the bottom two boxes checked; select "create field"

    Add another field.
    mae the name and display name "main_page"; max char 50; ONLY leave second to last box checked; select create field

    Credit: I looked at OSCommerce support forums a bit. They had a similar problem and solved it their, but it took a lot of reading and trial and error.

    you can checkout my cart at www.icaptech.com. I'm proud of it, and the product.
    Last edited by ctoscano; 8 Jun 2006 at 07:25 AM.

  6. #6
    Join Date
    Apr 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    This was very helpful to me. Thank you!

    I am still having one problem with this module. Namely, the variable $customer_id for the viaKlix ssl_customer_code field is not being passed. Has anyone else had this problem? I've not yet been able to figure out why the varialbe isn't showing up.

  7. #7
    Join Date
    Apr 2006
    Posts
    4
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    Update:

    I was able to fix this with a little bit of tweaking. In the function process_button(), I added $_SESSION to my list of globals. Then I changed the line:

    zen_draw_hidden_field('ssl_customer_code', $customer_id) .

    with this line:

    zen_draw_hidden_field('ssl_customer_code', $_SESSION['customer_id']) .

    Thought I'd mention it in case anyone else has this same problem.

  8. #8
    Join Date
    May 2006
    Posts
    55
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    www.modyourzencart.com


    The module located at the url above is currently unavailable due to some site redesign. Could some one please send private message with a new link or a way to email it to me.

    Thanks
    Last edited by Kim; 15 Jul 2006 at 02:49 PM.

  9. #9
    Join Date
    May 2006
    Posts
    55
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    I am in great need of the viaklix payment module. Could someone please send me the download. The creators web site doesnt have the download avaiable at this moment.

    If any does have the download please send it here. billing AT trinitymicrodesign DOT com

    Thank you.

  10. #10
    Join Date
    May 2006
    Posts
    55
    Plugin Contributions
    0

    Default Re: ViaKlix Module Help

    Hi
    I took the time to put together an updated contribution here for the viaklix module. I have implemented the changes and instruction in this forum into the old module. So here is a link to the updated download

    Credit to those that did the bulk of the code solutions are given in the read me file. If I left out anyone please let me know.

    Hope it helps.
    Angel Devoid

 

 
Page 1 of 2 12 LastLast

Similar Threads

  1. ViaKlix payment module
    By [email protected] in forum Addon Payment Modules
    Replies: 1
    Last Post: 28 Jul 2007, 10:09 PM
  2. viaKLIX module
    By pinixdesign in forum Addon Payment Modules
    Replies: 1
    Last Post: 31 Mar 2007, 10:21 PM
  3. Securepay Payment Module & viaKlix
    By Gummybear in forum Addon Payment Modules
    Replies: 0
    Last Post: 22 Nov 2006, 05:58 AM
  4. ViaKlix Module Solutions
    By shmegma in forum Addon Payment Modules
    Replies: 0
    Last Post: 19 May 2006, 01:05 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