This is my first time working with uCommerce. I have it installed, created products, delivery and payment methods. Now I have created a User Control where the customer will select product, enter address (the payment method is always the same - DIBS) and then proceed to the payment page.
My problem is that I am never transfered to the payment page. My code runs without errors and to the end of the file.
Here is the code. If anyone has a hint or can sheed some light over the problem I would greatly appreciate it:
You'll want to remove code after the call to create payment.
Basically uCommerce will redirect the customer to the payment gateway, which will handle the rest of the transaction. We decided to not interrupt page processing, so the redir happens once the rest of the page is processed. If for some reason the code redirects somewhere else you'll never be redirected to the payment gateway.
I have followed the instructions on adding the DIBS payment method and I can fetch that payment method via the API. I haven't selected a Pipeline for it though, should I?
Only thing I found going through the DIBS instructions again, was that one of my keys has a @ in it. I am not quite sure what that should be replaced with.
Trouble getting to payment page
Hi,
This is my first time working with uCommerce. I have it installed, created products, delivery and payment methods. Now I have created a User Control where the customer will select product, enter address (the payment method is always the same - DIBS) and then proceed to the payment page.
My problem is that I am never transfered to the payment page. My code runs without errors and to the end of the file.
Here is the code. If anyone has a hint or can sheed some light over the problem I would greatly appreciate it:
Have you checked whether the dibs variable ever contains a value?
Hi Søren,
It does. The code runs without problems to the Library.Checkout(); call.
Hi Bjørn,
You'll want to remove code after the call to create payment.
Basically uCommerce will redirect the customer to the payment gateway, which will handle the rest of the transaction. We decided to not interrupt page processing, so the redir happens once the rest of the page is processed. If for some reason the code redirects somewhere else you'll never be redirected to the payment gateway.
Hi Søren,
I have just tried that, but its the same result.
Is it possible to somehow look at order and see if something is missing?
Also its a Developer version I am currently using. I don't know if that will have any impact on the above code?
Developer Edition shouldn't affect you, but you can check umbracoLog for any errors.
The only message (besides installation messages) logged is "The uCommerce license file is either empty or missing."
This is a silly question, but I have to ask: Did you follow the instructions on setting it up, i.e. set up the service in the backend?
Setup uCommerce to Include DIBS as a Payment method
Silly questions are welcome too : )
I have followed the instructions on adding the DIBS payment method and I can fetch that payment method via the API. I haven't selected a Pipeline for it though, should I?
Only thing I found going through the DIBS instructions again, was that one of my keys has a @ in it. I am not quite sure what that should be replaced with.
Looks like there's an error in the documentation. It should actually say & not @ :)
Could I ask you to zip the site and database and e-mail it to me at soren ATT ucommerce DOT dk so I can take a closer look?
Thanks.
Thanks. I'll do that if I haven't made any progress by tomorrow.
is working on a reply...