[ic] Getting back to Interchange after a short stroll!!

Ed LaFrance interchange-users@interchange.redhat.com
Mon Sep 17 19:32:01 2001


At 10:15 PM 09/17/2001 +0200, you wrote:
>I'm trying without much luck to go to an external page and then back in
>Interchange. All this from ord/checkout.html
>
>The purpose is to go to a Payment Gateway that is located on another web
>server.
>
>I can send two links to this gateway: OK and Error. If the payment is
>accepted, it will go to OK, otherwise to Error.
>
>I'm sure Mike Heins has discussed this on the mailing list, but I couldn't
>find it yesterday, and today the mailing list is struck by Infernal Errors!!
>Also, Racke (Stefan Hornburg) has been kind enough to suggest an OK page like
>this:
>
>[tmp url][area href="[process]" form="mv_todo=submit
>mv_order_route=__ORDER_ROUTES_
>..."][/tmp]
>
>[bounce href="[scratch url]"]
>
>but no variant of this theme is working for me :-(
>
>I hope someone can help me or point me to some more information about how to
>(shortly) visit the outside from Interchange!!

You didn't state what (specifically) is going wrong, but I am going to 
guess that the order is not being submitted?  Try something like this:

[value name=mv_order_route set="__ORDER_ROUTES__" hide=1]
[value name=mv_order_profile set=payment_ok hide=1]
[set payment_ok]
&final=yes
[/set]
[bounce href="[area form='mv_todo=submit']"]


I'm not exactly sure this will work but I have done variations on this that 
did.  You really need to pass the session ID to your payment processor for 
both the success and failure retunr URL's, something like this:

[page href="success_page" arg="[data session id]"]

Then you can include it in the bounce code above:

[value name=mv_session_id set="[data session arg]" hide=1]
....
[bounce ...]

- Ed L.


- Ed L.


===============================================================
New Media E.M.S.               Software Solutions for Business
463 Main St., Suite D          eCommerce | Consulting | Hosting
Placerville, CA  95667         edl@newmediaems.com
(530) 622-9421                 http://www.newmediaems.com
(866) 519-4680 Toll-Free       (530) 622-9426 Fax
===============================================================