Jump to content


Corporate Sponsors


Latest News: (loading..)

- - - - -

PostFinance E-Payment


54 replies to this topic

#41 site2you

  • Community Member
  • 9 posts
  • Real Name:Tim
  • Gender:Not Telling

Posted 14 September 2011, 11:34

Shin, natacha, are you sure you have correct SHA signs configured?

#42 semper-linux

  • Community Member
  • 42 posts
  • Real Name:John R. Milller

Posted 26 October 2011, 11:32

Using OSC v2.3.1
Installed PostFinance payment module "openstream-OSCOM2PostFinance-d69d2fa"

Hi PostFinance forum,

I have just managed to run a successful 'local sandbox' test using the test form on the e-payment site.

I'm trying test purchases from the shop but keep getting the error "unknown order/1/s"
The FAQ tells me this is an error due to the SHAsignature not matching.

I suspect it is something to do with the parameters not being sent correctly which I think is understandable as I cannot see the HTML code for the 'hidden' fields in any of the payment module files.

I think I read somewhere that this code had to be pasted in to a file but which file and where ?

I'm a bit lost on this - can someone put me right ?

Many thanks

semper-linux.

#43 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 28 October 2011, 13:04

According to the PostFinance technical documentation the error unknown order/1/s means:

Quote

You will receive this error message if the SHASign sent in the hidden HTML fields for the transaction does not match the SHASign calculated at our end using the details of the order and the additional string (password/pass phrase) entered in the SHA-­1-­IN Signature field in the “Data and origin verification” tab, “Checks for e-Commerce” section of the Technical Information page.

How is "Compose the string to be hashed by concatenating the value of" configured under Global security parameters in PostFinance back office? Please try to change that setting and do another test order. If that does not work either, please contact PostFinance merchant help and ask for help.
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#44 semper-linux

  • Community Member
  • 42 posts
  • Real Name:John R. Milller

Posted 29 October 2011, 17:04

Hi Nick,

That was the answer - change to "each parameter followed by the pass phrase".
I didn't think of changing that as the instructions give no option on that setting - it would certainly help if the installation info was modified to allow this.

When returning from the Postfinance site, there are a couple of points............

1) The customer is returned to the login page (login.php) although still logged in. Would it be relatively simple to change this to the Home page (for example).
2) The shopping basket still contains the customers' order - how can I clear that ?

Many thanks for your assistance.

semper-linux

#45 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 31 October 2011, 11:27

This means that something is not configured correctly. Please double-check your return URLs. When the customer returns he should land on the checkout success page if payment goes well and the shopping cart should be empty.
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#46 vibinkb2006

  • Community Member
  • 6 posts
  • Real Name:Vibin Balakrishnan

Posted 11 November 2011, 08:43

unknown order/1/r/.....What will be the reason for this error. Can you please help me in this case.....

#47 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 11 November 2011, 09:01

Here's a list with the PostFinance error messages and why they mean. They are also in the advanced technical documentation.
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#48 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 21 February 2012, 22:23

I've been asked if the PostFinance extension is compatible with osCommerce v2.3.1. Although I have not tested it personally I would say so, because the checkout has not been altered as far as I know.

Anyone tried it already?
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#49 Rajmohan Gopalan

  • Community Member
  • 4 posts

Posted 22 February 2012, 07:20

Hi Nick,

I have integrated 'openstream-OSCOM2PostFinance-d69d2fa' post finance module...The issue what I am facing is in 'test mode' after selecting the payment option it is not redirecting to https://e-payment.postfinance.ch/...... it is just showing the order success page with continue button......

Please help ....thank in advance.....

#50 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 22 February 2012, 09:09

Please provide more details and/or screenshots of your configuration settings, both of the osCommerce add-on and the PostFinance backoffice.
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#51 Rajmohan Gopalan

  • Community Member
  • 4 posts

Posted 22 February 2012, 12:26

I was able to resolve the issue.... :-)

#52 Nick Weisser

  • Team Member
  • 338 posts
  • Real Name:Nick Weisser
  • Gender:Male
  • Location:Switzerland

Posted 22 February 2012, 12:48

Good to hear, please let us know what did the trick?
What is the Matrix? The answer is out there, and it's looking for you, and it will find you if you want it to. 

#53 Rajmohan Gopalan

  • Community Member
  • 4 posts

Posted 24 February 2012, 06:41

In checkout_confirmation.php....the code was like this
if ($$payment->code == 'paypal_ipn') {
............

so the redirection to https://e-payment.postfinance.ch/.............. was not working becuase the value of
$$payment->code was 'postfinance'. Now I have changed the condition to
if (isset($$payment->form_action_url)) {

So that it will redirect according to the form_action_url if it is present....

#54 Rajmohan Gopalan

  • Community Member
  • 4 posts

Posted 06 March 2012, 09:28

Hi ,

I am getting "unknown order/1/s" error , I have seen your document regarding all the error 's http://docs.openstream.ch/payment-provider/postfinance-error-messages/... I have created new SHA-­1-­IN Signature but still it is not working......I have set the same SHA-­1-­IN Signature in both SHA-­1-­IN and SHA-­1-­out also in the admin side....is this right?????...please help.

#55 Cardamom

  • Community Member
  • 3 posts
  • Real Name:Jan Götschi

Posted 26 April 2012, 12:57

hello
Im planing to install postfinance payment. It sounds complicated. Can you please give me some advise how to go on. Are there different ways (prices) to get it?
Thanks already