We are having trouble with creating a receipt page (as a user control).
The setup is as follows: 1) We have a list of products. 2) When clicking a buy button for a product you get redirected to a form page – with contact fields. 3) When submitting the form DIBS opens up in a modal dialog (iframe). 4) After submitting the details about the form a DIBS-information page is shown. 5) When clicking the next-button a page on our server a javascript redirects the window (window.top) to the continue/cancel url specified in the settings.
There is no actual cart (or rather, the cart is only used to handle the flow between the list, the form and DIBS). When a user accesses the list any earlier carts gets killed.
However. We need the continue-url to be a receipt page. How do we do that?
The continue-url that we reach at step 5) doesn’t have any request key/values. How can we find out what happened to the purchase in the current members session/context? How can we get access to the reques key/calues that is sent to the url above (the handler). That call has everything we need: amount; currency; lang; ordered and transact.
How do we build a receipt page?
Hi,
We are having trouble with creating a receipt page (as a user control).
The setup is as follows:
1) We have a list of products.
2) When clicking a buy button for a product you get redirected to a form page – with contact fields.
3) When submitting the form DIBS opens up in a modal dialog (iframe).
4) After submitting the details about the form a DIBS-information page is shown.
5) When clicking the next-button a page on our server a javascript redirects the window (window.top) to the continue/cancel url specified in the settings.
There is no actual cart (or rather, the cart is only used to handle the flow between the list, the form and DIBS).
When a user accesses the list any earlier carts gets killed.
However.
We need the continue-url to be a receipt page.
How do we do that?
As far as I can tell the call to a handler at something like http://domain.ext/tcbase/teacommerce/PaymentContinue/DIBS/94AFB2163C4482034CC84CD05D864C2E.aspx
That call is asynchronous and I can’t seem to find a way to modify a session or anything in there (in any of the events raised).
The continue-url that we reach at step 5) doesn’t have any request key/values.
How can we find out what happened to the purchase in the current members session/context?
How can we get access to the reques key/calues that is sent to the url above (the handler). That call has everything we need: amount; currency; lang; ordered and transact.
Thanks!
To be honest, it isnt really just for a receipts page.
We also have a need to send custom emails via a facade when a order has been completed.
The error was that you was using getOrderXml instead of getFinalizedOrderXml at the confirmation page
Kind regards
Anders
is working on a reply...