Page 1 of 4 123 ... LastLast
Results 1 to 10 of 48

Hybrid View

  1. #1
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Atos Payment Module (French Users) -- need to customize payment amount

    I'm desperate on this - I've searched high and low on multiple forums (even OsC where I was treated very harshly for daring to use zc instead of OsC) and cannot find anyone who has successfully installed the Atos payment module which will allow me to use the credit card payment facility offered by French banks. I'm stuck because of a silly language configuration problem so if anyone can help, please holler !

    Thanks

    Pete

  2. #2
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Only 1% of the order is sent to the gateway

    I use a contributed payment module (Atos, found on the French Zen Cart site) and it works perfectly except that it only sends 1% of the order to the payment gateway and ignores the 70% discount I give (via another add-on) when the order is placed (the rest is payable when the goods are ready). This only occurs with this module, Paypal IPN works perfectly. Where can I find where the error is coming from ? Any ideas anyone ? This is ruining my sleep !

    Thanks

    Pete

  3. #3
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Only 1% of the order is sent to the gateway

    OK, I've figured the 1% problem, the gateways needs 2 decimal places to be displayed in the on-line store so that's sorted. However, it still insists on ignoring the discount given when the order is placed taking only the sub total + shipping whereas only the amount immediately due - 30% of the order total - should be sent to the gateway. I'm nearly there !

    Any ideas ?

    Cheers

    Pete

  4. #4
    Join Date
    Jan 2004
    Posts
    66,373
    Blog Entries
    7
    Plugin Contributions
    274

    Default Re: Only 1% of the order is sent to the gateway

    Quote Originally Posted by petek View Post
    it still insists on ignoring the discount given when the order is placed taking only the sub total + shipping whereas only the amount immediately due - 30% of the order total - should be sent to the gateway.
    Check what fields it's calculating the transaction total from, and compare that against the other working module.
    .

    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.

  5. #5
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Only 1% of the order is sent to the gateway

    Quote Originally Posted by DrByte View Post
    Check what fields it's calculating the transaction total from, and compare that against the other working module.
    Precisely but for people who aren't php wizkids, its always a pain locating the correct line of code that's causing the bother ! Oh well, there's no other way I suppose.

    Thanks

    Pete

  6. #6
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Only 1% of the order is sent to the gateway

    The other module that works is Paypal IPN.

    In the confirmation function of Atos, I have this line of code which in case I'm mistaken is how the order is retreived :

    PHP Code:
    $sips $this->makeRequest($order->info['total'], $currency); 
    whilst in Paypal, the equivalent (appears) to be this :

    PHP Code:
    $this->totalsum $order->info['total']; 
    They are similar but I could be off the mark.

    Any ideas ?

  7. #7
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Atos Payment Module (French Users)

    Solved. Forget it.

  8. #8
    Join Date
    Apr 2006
    Location
    London, UK
    Posts
    10,569
    Plugin Contributions
    25

    Default Re: Atos Payment Module (French Users)

    Quote Originally Posted by petek View Post
    even OsC where I was treated very harshly for daring to use zc instead of OsC
    You've got to feel sorry for them really. It can't be easy being fully committed to a cart while knowing deep down that there's a much better one that they could be using instead.
    Kuroi Web Design and Development | Twitter

    (Questions answered in the forum only - so that any forum member can benefit - not by personal message)

  9. #9
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Re: Atos Payment Module (French Users)

    Quote Originally Posted by kuroi View Post
    You've got to feel sorry for them really. It can't be easy being fully committed to a cart while knowing deep down that there's a much better one that they could be using instead.
    Oh, they're very bolshy. When I opted for zc, I was under the impression that OsC basically wasn't being developed any more. Not true it would appear. And they do have masses more info on their site (particularly the OsC French-language site) !

    Cheers

  10. #10
    Join Date
    Jan 2008
    Location
    Chevreuse, France
    Posts
    273
    Plugin Contributions
    0

    Default Where is the order total field ?

    Hi,

    In one (custom) module, I think it retrieves the order info here :

    PHP Code:
    $sips $this->makeRequest($order->info['total'], $currency); 
    . I have problems with this modules which ignores all discounts.

    In this (Paypal IPN - works perfactly) module, I see this :

    PHP Code:
        $this->totalsum $order->info['total']; 
    . Paypal works fine; I'd like to know why the other doesn't but I'm having a little difficulty understanding exactly where and how the payment modules get their order info from. Can someone enlighten me ?

    Thanks

    Pete

 

 
Page 1 of 4 123 ... LastLast

Similar Threads

  1. v151 Convert osC Payment module Atos for PHP5.3 into Zen cart - Need Help
    By xav2 in forum All Other Contributions/Addons
    Replies: 2
    Last Post: 2 Dec 2013, 09:18 AM
  2. v151 Payment module ATOS for PHP5.3 ?
    By xav2 in forum All Other Contributions/Addons
    Replies: 15
    Last Post: 23 Jul 2013, 08:26 AM
  3. Atos payment module for 1.3.9h
    By meth0d in forum Addon Payment Modules
    Replies: 1
    Last Post: 19 Oct 2011, 03:54 PM
  4. question of ATOS payment module
    By bear1728 in forum Addon Payment Modules
    Replies: 1
    Last Post: 21 Jul 2009, 11:05 PM
  5. [French] atos / sips module payment
    By djimmy in forum Addon Payment Modules
    Replies: 1
    Last Post: 12 Mar 2007, 06:48 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