Developer forum

Forum » Development » When is GetReturnValuesFromUrl called exactly?

When is GetReturnValuesFromUrl called exactly?


Reply
Hi there,

I have a payment gateway using Cart V1 compatible code. I am finding that the override GetReturnValuesFromUrl is not beging called. What could be the reason for that? I am attaching an image of Fiddler that shows some redirection.

The first redirect is from the gateway to the site. The second redirect (to the third line in the image) is made by some custom code that reformats the query string and then redirects to, what I think to be, the correct URL with stuff like _OID_ in the Query String.

The third redirect then goes off to

/nl-NL/winkelmand/[step/6]/DWMODULEPAGENAME.aspx

which not only looks funky to the client, but may also be the cause of the problem.

Any ideas? What can I do / test to figure this out?

Cheers,

Imar

Replies

 
Reply
Hmmm, can't seem to attach an image on the first post. So, here's an update.

Imar
Fiddler.png
 
Reply
Turns out that GetReturnValuesFromUrl wasn't called because there was a mismatch between the ID of the order in the database, and the ID that the gateway passes back. That brings me back to the question I asked here: http://engage.dynamicweb-cms.com/Forum-5.aspx?action=ShowThread&ThreadID=2198 How can I change the ID of an order earlier than in the Completed handler?

Imar
 
Nicolai Høeg Pedersen
Reply
Discussing with your self... On the edge of insanity :)

Will just have a look at your other question.
 
Reply
>> Discussing with your self... On the edge of insanity

Way, way, waaaay past that point.... ;-)

Imar

 

You must be logged in to post in the forum