You may pay someone to create your store, or you visit our seminar and become a professional yourself with the silver certification

Main Menu

Yellowpay Postfinance Switzerland

Started by novitos, November 05, 2005, 19:39:36 PM

Previous topic - Next topic


Earlier I ask for help for to integrate Yellowpay -, Postfinance Switzerland in my shop:
but nobody out there was willing or able to help...

after struggling for days I made it work now!
Here my Parameters:
<form name="form" action="" method="post" name="form">
<input type="image" name="submit" src="http://www.mySite/images/debitdirect.gif" border="0" alt="Bezahlen mit Yellowpay, schnell uns sicher!">
<input type="hidden" name="txtBLastName" value="<?php echo $user->first_name " " $user->last_name?>" />
<input type="hidden" name="txtBEmail" value="<?php echo $user->email?>" />
<input type="hidden" name="txtBAddr1" value="<?php echo $user->address_1?>" />
<input type="hidden" name="txtBZipCode" value="<?php echo $user->zip?>" />
<input type="hidden" name="txtBCity" value="<?php echo $user->city?>" />
<input type="hidden" name="txtBTel" value="<?php echo $user->phone_1?>" />
<input type="hidden" name="txtBFax" value="<?php echo $user->fax?>" />
<input type="hidden" name="txtShopid" value="yourShopID" />
<input type="hidden" name="txtOrderIDShop" value="<?php $db->p("order_id"?>" />
<input type="hidden" name="txtLangVersion" value="2055" />
<input type="hidden" name="txtOrderTotal" value="<?php echo $db->f("order_total")?>" />
<input type="hidden" name="txtArtCurrency" value="CHF" />
<input type="hidden" name="txtHash" value="<?php echo md5("YourShopNo"."CHF".$db->f("order_total")."YourHashSeed")?>" />
<input type="hidden" name="txtShopPara" value= "order_id=<?php $db->p("order_id"?>" />
<input type="hidden" name="DeliveryPaymentType" value="deferred" />

Attentions: if it works in test mode, dose not mean it works in live mode! If you run in test mode you "txtHash" does not get verified!!

I changed following page for my purpose:
-   checkout.paymentradio.php (order of payment option).
-   checkout.thankyou

And I created this:
-   checkout.yp_result.php (return yellowpay to and interpret the return link)
one also need to edit the Language file

Still to be done for automatic status update:
-   ps_yellowpay.php
-   ps_yellowpay.cfg.php

Return links, yellowpay to mySite:






I am very proud it is working know, because when I started I had know php knowledge at all. Try it – and give me a feedback:  - but remember it is live shop.

What I did not manage now is to update the status automatically. I'll be happy if somebody would write this pages.


Hi novitos,

I've a problem to set Postfinance payement in my shop,
what have you changed in there file ?

-   checkout.thankyou
-   checkout.yp_result.php (return yellowpay to and interpret the return link)
one also need to edit the Language file
-   ps_yellowpay.php
-   ps_yellowpay.cfg.php

Thnaks & sorry for my english ;D


<input type="hidden" name="txtHash" value="<?php echo md5("MastershopID"."CHF".$db->f("order_total")."hashseed) ?>" />

That seems the correct way, as yellowpay calculates the md5 value by adding
ShopID+txtArtCurrency (CHF)+txtOrderTotal + HashSeed.

This gives an error 100, the hashseed is not being correctly calculated. Any ideas?


This is the old system. Forget it and go for ogone.


hey guys,
still having troubles? I finally solved my Problems with PostFinance. PostFinance recommendet me this module, which works really great:

I hope that I could help you!




If you are more interested in an open source product we have developed a GPL licensed component that installs as a standard joomla component:

In addition this component is 100% compatible with B-planet's PayPal patch and includes a single click installation.