Forums / Addon Payment Modules / Swiss post payment module: Yellowpay

Swiss post payment module: Yellowpay

Locked

Views: 9,131

Results 1 to 20 of 31
This thread is locked. New replies are disabled.
31 Jan 2007, 12:45 AM
#1
moktar avatar

moktar

New Zenner

Join Date:
Jan 2007
Posts:
17
Plugin Contributions:
0

Swiss post payment module: Yellowpay

Hello,

I'm looking for a payment module for the Yellowpay service of the swiss post (Postfinance, Yellownet and Debit Direct).

If anyone has ported the existing OSCommerce module to zen cart, could you please share it ?

If I don't find it, I will try to port the OSC module to zen cart myself. Anyone interested to test it when it is ready ?

Thank you.

14 Feb 2007, 4:23 PM
#2
analographi avatar

analographi

New Zenner

Join Date:
Feb 2007
Posts:
33
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hi,
I would test it!

21 Mar 2007, 5:25 PM
#3
muaz avatar

muaz

New Zenner

Join Date:
Oct 2006
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello,

I have opened an account with the Swiss PostFinance and I want them to design a module for my Zen cart website. However, they asked me the followwing questions, which I am having difficulty answering and was thinking if someone could kindly help me. The questions are:

1) Back URL from the PostFinance checkout to my shop:
success URL:
failed URL:
cancel URL:

2) How would you like to get the parameter return? (Either to an
e-mail-account or to an URL as a server-to-server-communication)

http-post to the URL :
e-mail to the account :

I will apreciate any help

Thanks

22 Mar 2007, 10:06 PM
#4
muaz avatar

muaz

New Zenner

Join Date:
Oct 2006
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello,

I was thinking if anyone out there has any idea on my above questions. I will really appreciate any help.

Thanks

7 Apr 2007, 9:53 AM
#5
muaz avatar

muaz

New Zenner

Join Date:
Oct 2006
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello moktar and the community,

I really need one too. I would definitely test it when it is ready.

Regards,

7 Apr 2007, 8:51 PM
#6
superprg avatar

superprg

Totally Zenned

Join Date:
Feb 2006
Location:
Chicago
Posts:
1,349
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

I will help you in this too!

Tutorials on Zen Cart
http://tutorials.zen-cart.com/index.php

advanced.programmer at gmail dot com
In love with Zen Cart!!

31 Oct 2007, 11:58 PM
#7
marcink avatar

marcink

New Zenner

Join Date:
Dec 2005
Posts:
18
Plugin Contributions:
1

Re: Swiss post payment module: Yellowpay

hi,

i have ported the payment module for postfinance once for zc 1.2.7.
i tried to install it with zc 1.3.7, and it worked. so i will gladly post it in the download section.

i would like it for someone to look at the code and check, if everything is still working, and if there is possibly a way to improve the code.

marcin

22 Feb 2008, 1:56 PM
#8
icemanii avatar

icemanii

New Zenner

Join Date:
Oct 2007
Posts:
1
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello,

so I have also the same problem. Have you found a solution to this problem?

Under the postfinance adress https://www.postfinance.ch I have found more informations include any examples in the handbook "yellowpay" in html, but not for zen cart.

And if you delivery this (any)adress to postfinance then you get the id and can test in test environment.

For my opinion its necessary to enhance the modul "ipn_main_handler.php" and write a handler for the yellownet. Isn't ?

Please let me known if you have news. Thanks

Walter

2 Apr 2008, 5:29 PM
#9
maxiva avatar

maxiva

New Zenner

Join Date:
Apr 2008
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hi,

I've tested the payment module

$Id: postfinance.php
v 3.0 22/12/2005
Created by : Ex-perience Informatique Delémont
Adapted by : ASULIS
Adapted to ZenCart: Marcin Kolonko

with Zencart 1.38a.

The module works fine, contacting the postfinace payment window.
The problem is that in the admin I don't find the order!!! even if I get the confirmation for the payment from postfinance.

ASULIS as released the new version 3.2 for OSC. I've tried to port it.... but my coding skills are pretty bad.... :P:P it doesn't even see the module.

Thanks marcink :clap: for your work :clap:, hope you can port also the new module 3.2 and share it.

Does anyone have an idea about the reason of my error in Zencart 1.38a????

Have a nice life.

Zencart 1.38a
The Best

7 Apr 2008, 3:48 PM
#10
prossel avatar

prossel

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello,

This is a rather old thread, but since I have answers...

See answers in red below:

1) Back URL from the PostFinance checkout to my shop:
   success URL:  
      [B]your_shop_url /index.php?main_page=checkout_success&step=ok[/B]
   failed URL:     
      [B]your_shop_url /index.php?main_page=checkout_confirmation&step=fail[/B]
   cancel URL:   
      [B]your_shop_url /index.php?main_page=checkout_confirmation&step=back[/B]

2) How would you like to get the parameter return? [B]http-post[/B]

   http-post to the URL :  
      [B]your_shop_url /index.php?main_page=checkout_process&step=process[/B]
23 Apr 2008, 1:30 PM
#11
maxiva avatar

maxiva

New Zenner

Join Date:
Apr 2008
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hi,

I have a problem with the module ported by marcin kolonko :no::no:

http://www.zen-cart.com/index.php?main_page=product_contrib_info&products_id=762

The test mode works fine and I get the success code. The problem is that I don't see the order in the database.

It drive me crazy!!!!:cry:

Can anyone help me???

Thanks to all for your great job.:clap:

Zencart 1.38a

Zencart 1.38a
The Best

24 Apr 2008, 11:49 AM
#12
maxiva avatar

maxiva

New Zenner

Join Date:
Apr 2008
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hello to all!

After the upgrade of Postfinance they have a lot of problem. Even if you set the return page the system doesn t go back to the success page (in testing mode never got in production).
I have an other problem... I ve set the return pages as prossel said, but if I try to test it even the Postfinance procedure goes succesfully I don t find the order in the database.... any Idea????

the http/post is set to:
your_shop_url /index.php?main_page=checkout_process&step=process

but it doesn t work, I get the information return on the second option by e-mail.

Any Idea????

thanks to all

Zencart 1.38a
The Best

16 May 2008, 1:57 AM
#13
prossel avatar

prossel

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hi Maxiva,

There is something missing in includes/modules/payment/postfinance.php that prevents the checkout_process pages to correctly process the order.

Look for txtShopPara and replace the whole line with

 
zen_draw_hidden_field('txtShopPara', session_name().'='.session_id()) .

By the way, there is another solution that involves swapping return urls to process the order after the payment has been made, when the user returns to the shop, but it is a bad solution. Some users just forget to return to the shop, leaving you with the same problem as you currently have (money moved but no order in shop).

16 May 2008, 2:03 AM
#15
prossel avatar

prossel

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

maxiva:

The module works fine, contacting the postfinace payment window.
The problem is that in the admin I don't find the order!!! even if I get the confirmation for the payment from postfinance.
See http://www.zen-cart.com/forum/showpost.php?p=557801&postcount=6 for a fix.

17 May 2008, 12:45 PM
#16
maxiva avatar

maxiva

New Zenner

Join Date:
Apr 2008
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Hi Prossel,

thanks for your help. I will do it.

with the new module 3.2 OSC I saw that they have added the postfinance logo.

In section 2 of 3 in checkout process, where customers chose the payment option, I would like to display the postfinance logo. Do you know how that can be made?

They did some improvement like the automatic languages and other changes...

I really would like to port it from OSC.... I've alredy tried.... but the resolt it's a disaster...

In the last month, Postfinance did an upgrade of the system, now there is a bug with the return page after success with ie7.0 (with ie 6.0 and firefox no problem). I've call them 100 times. untill now they didn't solve the problem.

Best regards

Maxiva

Zencart 1.38a
The Best

17 May 2008, 1:35 PM
#17
prossel avatar

prossel

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Yes, the logo file is in the zip, but there is no reference to it from other files. I don't know how to add the logo to section 2 in checkout process and I don't have the time to hack this.

Just tested with IE7 and saw no problem with the return page. Maybe related to fact that the order is not created. Fix this first then check again with IE7.

The only improvements I can see in OSC 3.2 module is the key returning all the currencies instead of only swiss. In 3.3 version, there is a modification to follow a change by postfinance in the hash key, but this only affects recently registered users.

Anyway, I have modified version of the zencart module which addresses all this and which I should soon publish.

19 May 2008, 11:56 AM
#19
maxiva avatar

maxiva

New Zenner

Join Date:
Apr 2008
Posts:
14
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

Simply perfect!!!

Thanks Prossel for your great work.

The module works fine in testing mode.

My account is 2 months old (new HASH?).

There is always the problem with IE 7.0 that cause the page not to go back to:

your_shop_url /index.php?main_page=checkout_success&step=ok

I called this morning the Postfinance helpdesk they are still working on it.

The order is in admin where it has to be.

Great.

Zencart 1.38a
The Best

19 May 2008, 12:26 PM
#20
prossel avatar

prossel

New Zenner

Join Date:
Apr 2008
Posts:
12
Plugin Contributions:
0

Re: Swiss post payment module: Yellowpay

maxiva:

My account is 2 months old (new HASH?).
if you didn't change the HASH_USES_SHOP_ID value, you are using the same hash method as me, which sould be the old one since i registered more than a year ago.

If someone tested with HASH_USES_SHOP_ID set to false, please report so that we can update the module and remove the "not tested" mention.