Forums / Addon Payment Modules / Atos Payment Module (French Users) -- need to customize payment amount

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

Views: 20,508

Results 21 to 40 of 48
4 Apr 2008, 4:47 PM
#21
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Sorry about the multiple threads but its pretty obvious that if I don't get any replies, I'm going to try another angle ! I would gladly remove/edit posts but this forum does not provide this possibility.

Payline is dead as my web host doesn't offer Soap support, which Payline needs. Paypal is installed and works but doesn't offer the possibility of debitting the balance of an order when the goods are dispatched - I would have to ask the customers to pay by email which means that if they don't look at their emails then I won't get paid. Atos is the French bank module which allows me to initiate payment of the balance without having to ask the client to do it. So, I'll be using Paypal for goods which are fully paid for when the order is placed (I'll give a small discount for this) and Atos for the others. The only problem remaining is that Atos ignores the "if" statement in the php code where I ask for only orders above 200 Euros to be taken into consideration.

That's the problem in a nutshell.

Thanks

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

4 Apr 2008, 7:19 PM
#22
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

Your original code was a bit dodgy, but could have worked. That which I gave you was syntactically perfect, and would have the same effect as your original code intended but more efficiently.

However, both are clearly incomplete fragments and without more detailed knowledge of the context in which you're trying to use them and a more specific explanation of the results than "that doesn't work", there's not much I can add.

Kuroi Web Design and Development | Twitter

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

4 Apr 2008, 9:07 PM
#23
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

The code you gave me just produced a white page. I think the problem is with the actual payment module code. Its the Atos module which is designed for French banks. Very, very widespread in France. The problem is that its getting its order information from I don't where. I've wasted an entire month on this - I think I'll just forget the "30% downpayment on order" and bill the entire whack straight away.

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

4 Apr 2008, 9:35 PM
#24
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

Do you have the debug utility installed so that we can see what error is being generated?

(ou il y a une méthode plus vite mais “interdite” pour gagner ces informations que j’ai recommandé hier dans le forum français !)

Kuroi Web Design and Development | Twitter

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

5 Apr 2008, 5:16 AM
#25
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

Perhaps posting the module files as an attachment might be more useful?

BTW: Several of your multiple discussions have been merged into one

.
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 Apr 2008, 8:03 AM
#26
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Here it is.

Thanks

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

5 Apr 2008, 8:26 AM
#27
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Yes, I see you've been busy on the Zen Cart France site ! Its a pity the site isn"t updated regularly but I suppose that's down to the limited number of users of ZC in France. I was thinking of offering my services so that I could relay the users' requests here in English because a lot don't have much joy on the French-language forum.

Yes, I have the debug utility but it isn't generating any helpful errors. As I say, I don't think the problem is with the if...else statement (although it could be better !) but is more to do with the dodgy payment module itself. I've sent the file to DrByte so he can see if there's anything obviously wrong with it but if he can't find anything I'll just have to drop the issue and move on. I just hope that 1) cashing 100% of orders when the goods are not yet ready (it can take up to 2 months before goods are dispatched) is not illegal and 2) whether its not commercial suicide to ask for 100% of the payment when the goods are ordered.

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

5 Apr 2008, 12:22 PM
#28
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

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

Try this:[B] $sips = $order->info['total'];[/B] //code added by PK if ($sips >= 200) { echo $sips = $this->makeRequest($order->info['total']*0.30, $currency); } else { echo $sips = $this->makeRequest($order->info['total'], $currency); } echo '">'."\n"; //end code added by PKor even this:```
// NOT NEEDED: $sips = $order->info['total'];
//code added by PK
if ([B]$order->info['total'][/B] >= 200) {
echo $sips = $this->makeRequest($order->info['total']*0.30, $currency);
} else {
echo $sips = $this->makeRequest($order->info['total'], $currency);
}
echo '">'."\n";
//end code added by PK

.
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 Apr 2008, 5:02 PM
#29
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Oh boy oh boy, the first one works ! I am deeply indebted to you, many many thanks.

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

16 Apr 2008, 9:55 AM
#30
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Everything works except discount coupons - the payment module ignores the discount completely meaning the 30% billed when the order is placed is being based on the initial order amount, ie before the reduction is applied. Not a major problem because I'll be manually billing the correct amount when the rest of the order is due but it looks a little untidy. Any ideas anyone ?

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

21 Apr 2008, 8:45 AM
#31
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Me again. Sorry to be insistent but I'd like to sort this out as the site will be going live soon.

Another small issue popped up with the payment module (and I'll start a new thread if you want!) : on the last page of the payment process when payment by bank card has been chosen, near the top of the page at the end of the text describing the payment method chosen, I get this : "Array">". How do I get rid of it ?

Thanks

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

21 Apr 2008, 8:57 AM
#32
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Here is a photo of the page showing the offending text.

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

21 Apr 2008, 5:12 PM
#33
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

The screen capture was lousy so I've done it again and have pointed to the text which I want to delete. The problem I think is with the line at the end of the if...else statement which DrByte helped me out with but even if I delete it entirely I still get the "array" word under the explanation of the payment module. Help !

Thanks

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

21 Apr 2008, 7:47 PM
#34
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

For those of you who are still awake :smile: I've found the answer to my little problem which is a franco-french issue and won't interesse anyone else. PM me if you need any info.

Cheers

Pete

Pete
zc 1.3.9h
www.gardenserre.fr

22 Nov 2008, 2:03 PM
#35
askjv avatar

askjv

New Zenner

Join Date:
Dec 2006
Posts:
21
Plugin Contributions:
0

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

Hi Pete,

Hope you are successfully using your zen cart as I am in the same place you were. We are trying to get the ATOS payment module installed to use LCL in France and are lost in translation.

It is a bit desperate as we have announced launch for Nov. 30th and this is the one crucial snag, even though we have all the information from the bank.

Has anyone succeeded in doing this?

Julie

petek:

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

23 Nov 2008, 9:20 PM
#36
petek avatar

petek

Zen Follower

Join Date:
Jan 2008
Location:
Chevreuse, France
Posts:
278
Plugin Contributions:
0

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

Hi Julie,

Things have evolved a lot since last April - there's now a new Atos module developed by Christophe - you'll find it here : http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_48&products_id=1035. I don't use it because it can't accept manual partial payments, ie : a down payment of say a third of the order with the rest debited when the goods are dispatched. This is essential for me but perhaps not for you. It does however accept coupons which the version I use doesn't.

Good luck

Pete
zc 1.3.9h
www.gardenserre.fr

24 Nov 2008, 2:35 PM
#37
askjv avatar

askjv

New Zenner

Join Date:
Dec 2006
Posts:
21
Plugin Contributions:
0

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

Merci beaucoup,

I will give that a try and mark if resolved.

Je vais essayer et signaler si ça marche.

Julie

28 Jul 2009, 10:01 AM
#38
bear1728 avatar

bear1728

New Zenner

Join Date:
Jul 2009
Posts:
86
Plugin Contributions:
0

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

i installed this atos payment module http://www.zen-cart.com/index.php?ma...oducts_id=1035

then i finished all the settings following READ ME,

the order's placed successfully and i get payment in my bank account.
but in my credit card gateway control panel, no transaction found.

is it the problem of atos module or anything i missed?

any help would be appreciated.

28 Jul 2009, 10:13 AM
#39
kuroi avatar

kuroi

Totally Zenned

Join Date:
Apr 2006
Location:
London, UK
Posts:
10,475
Plugin Contributions:
11

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

That's very odd. There are problems with the ATOS module, but I don't see how money could have been collected by ATOS and paid to your bank account without being recorded in your ATOS-provider's control panel. That's very much a question for your ATOS-provider.

Kuroi Web Design and Development | Twitter

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

8 Apr 2010, 7:33 AM
#40
michael_remy avatar

michael_remy

New Zenner

Join Date:
Apr 2010
Posts:
4
Plugin Contributions:
0

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

hi (i'm french),

which payment module did you install ? sogenactif ?

which release of zencart do you use ?

Which procedure did you follow ? shall you post your guide/tutorial please ?

thank