Results 1 to 2 of 2
  1. #1
    Join Date
    Nov 2005
    Posts
    3
    Plugin Contributions
    0

    Idea or Suggestion Payment module for Handelsbanken (Swedish bank)

    Dear Friends

    We have just written a contract with Handelsbanken finans in Sweden which allows us to offer our visitors the option of paying their goods over for example 12 months. To work we need to send some data from ZenCart to the bank, and we got an example file from them with this content:

    <html>
    <head>
    <title>Reservation toNetpay - exempel</title>
    </head>
    <body>
    <?php
    // Do not change
    $version = "2";

    // ID given by the bank
    $storeid = "10";

    // Uniqe order number from ZenCart
    $orderid = "1138";

    // Total amount at checkout point
    $amount = "1024,20";

    // Do NOT change
    $currency = "SEK";

    // Use campaign ID-number if You wish
    $campaign = NULL;

    // Do not change
    $language = "SV";

    // URL where the client can go by clicking a link after the transaction is ready
    $returnurl = "http://www.test.se";

    $str = "<Reservation>";
    $str = $str . "<StoreId>" . $storeid . "</StoreId>";
    $str = $str . "<OrderId>" . $orderid . "</OrderId>";
    $str = $str . "<Amount>" . $amount . "</Amount>";
    $str = $str . "<Currency>" . $currency . "</Currency>";
    $str = $str . "<Campaign>" . $campaign . "</Campaign>";
    $str = $str . "<Language>" . $language . "</Language>";
    $str = $str . "<ReturnUrl>" . $returnurl . "</ReturnUrl>";
    $str = $str . "</Reservation>";

    $str = $version . base64_encode($str);

    // We replace + with ! for GET to work
    $str = str_replace("+", "!", $str);

    // Printing the produced string on the screen. Should be called "reservation" and sent to https://www.netpay.saljfinans.com/se...ervation/ladda
    echo ($str);

    ?>
    </body>
    </html>

    Can anybody help us how to make this work? The bank need the variables above sent to the stated URL. The variables that are needed from ZenCart is total order amount and the order ID. Other values are set above in the code.

    Any ideas? We run 1.3.6

  2. #2
    Join Date
    Feb 2005
    Location
    Italy
    Posts
    199
    Plugin Contributions
    0

    Default Re: Payment module for Handelsbanken (Swedish bank)

    I've sent you a PM
    Paolo De Dionigi
    Co-maintainer of Zen Cart Italia

 

 

Similar Threads

  1. v139e Bank transfer payment module for just one category?
    By Nandor in forum Managing Customers and Orders
    Replies: 3
    Last Post: 16 Mar 2013, 05:32 PM
  2. Custom payment module needed for my local bank
    By maniacXD in forum Addon Payment Modules
    Replies: 4
    Last Post: 2 Jun 2012, 10:23 AM
  3. add new payment module for direct bank deposit?
    By thestampnomad in forum Templates, Stylesheets, Page Layout
    Replies: 6
    Last Post: 16 Aug 2009, 07:14 AM
  4. Payment module for my Bank: conexion
    By famy in forum Built-in Shipping and Payment Modules
    Replies: 0
    Last Post: 12 Apr 2009, 07:13 PM
  5. Samson payment module? (Sweden - good for stores with bank agreement)
    By Wils in forum Built-in Shipping and Payment Modules
    Replies: 4
    Last Post: 26 May 2006, 01:08 PM

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
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR