Results 1 to 3 of 3
  1. #1
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Costly $ Viaklix problem and a solution

    There seems to be either a bug in the viaklix payment module or a misunderstanding of how viaklix works and charges the client (or both).

    According to Viaklix support, and confirmed twice by others in Viaklix, the ssl_customer_code field that is placed within:

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

    Is actually meant to return the code of the type of card the customer is using. For those of us who are using the usual clients that we would normally meet, i.e. not fleet cards, not governments or others like that, the code should be 1111. When it is anything but this, the status of the transaction is degraded to some extent and this can increase the charges to the client!!!! Therefore the support personel at Viaklix say it is important to enter this code number, 1111, for each transaction.

    We now have a conflict as the script uses this field for something else, namely, the internal shop customer id.

    It can be fixed in this way. Replace:

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

    With:

    zen_draw_draw_hidden_field('ssl_customer_id', $_SESSION['customer_id']) .
    zen_draw_draw_hidden_field('ssl_customer_code','1111') .

    It returns the proper values in the shopkeeper's receipt and according to Viaklix this confirms it is done correctly.

  2. #2
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Costly $ Viaklix problem and a solution

    Ooops, forgot to say something VERY important.

    One has to log onto the viaklix.com site as administrator and go to terminal setup --> Payment Field Set Up --> and under 'Order Information' add a field called, 'Shop Customer ID' ' No ' 'ssl_customer_id' as this will allow you to pass the customer id as another field and it will appear in your receipt.

    Sorry about that!
    Last edited by robc; 19 Jun 2007 at 02:19 AM.

  3. #3
    Join Date
    Jun 2007
    Posts
    11
    Plugin Contributions
    0

    Default Re: Costly $ Viaklix problem and a solution to 100x charges

    Are you finding out that your viaklix out of the box payment module is charging you 100x what you entered? You put in a transaction of $12.80 and the card is charged for $1280? Well, that is what happens if you just use the script as it is. As there were no texts I could find in this forum that addresses this error, I found a thread in the oscommerce forum that does address it. (this error is found in the same module as the ssl_customer_code error)

    http://forums.oscommerce.com/index.php?showtopic=113859

    Simply replace the tep with zen_draw as in:

    zen_draw_hidden_field('ssl_amount', number_format($order->info['total'] * $currencies->get_value('USD'), 2, '.', '')) .
    zen_draw_hidden_field('ssl_salestax', number_format($order->info['tax'] * $currencies->get_value('USD'), 2)) .

    And it works fine!

 

 

Similar Threads

  1. USPS International Shipping Problem and Solution
    By grafcaps.com in forum Built-in Shipping and Payment Modules
    Replies: 10
    Last Post: 13 May 2011, 12:58 AM
  2. UPS XML Auto Export & Worldship -- too costly
    By Twbeebe in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 30 Sep 2008, 06:50 AM
  3. Paypal IPN problem with state and phone number on UK customers Solution
    By limejuice in forum Built-in Shipping and Payment Modules
    Replies: 1
    Last Post: 10 May 2007, 09:01 AM
  4. viaKlix and CC Info
    By purewater4u in forum Addon Payment Modules
    Replies: 0
    Last Post: 3 Feb 2007, 12:18 PM
  5. Replies: 0
    Last Post: 31 Aug 2006, 09:15 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