The tricky part of the worldpay integration is about the redirecting. There is no way for you to specify where to redirect the user to a destinate page when the payment is completed.
Instead worldpay use the concept of proxy calling, which will call you page indirectly, in fact it is the Payment Response URL that you specify in installations after you login to worldpay page.
IF you didnt set the checkbox for [Enable the Shopper Response], user will not see the redirect.
In conclusion, the trick is to use point the Payment URL to PAGE A, then in PAGE A you include
< meta http-equiv=' refresh ' content=" 0 ; url = http://YOUR FINAL URL" / >
You will show you thank you message in your final URL.
Last point is to make sure you captured the transaction information that pass to you from worldpay in the Payment Response URL page.
Refer to this article http://harrybailey.com/2010/02/worldpay-response-url-shopper-return/.
Thursday, October 14, 2010
Tuesday, May 18, 2010
How to dynamically apply globalization on keyword retrieved from various sources
One of the common requirement is to apply globalization on the keyword that retrieved from sql database to make your content dynamic.
The below is the example, where output is the KEYValue of the KEYWORD in ResourceCLASSNAME
string output = HttpContext.GetGlobalResourceObject("ResourceCLASSNAME", "KEYWORD").ToString();
The below is the example, where output is the KEYValue of the KEYWORD in ResourceCLASSNAME
string output = HttpContext.GetGlobalResourceObject("ResourceCLASSNAME", "KEYWORD").ToString();
Monday, May 17, 2010
Wednesday, May 5, 2010
Friday, April 30, 2010
Google Map API V3 vs V2
Adding Marker in V2:
map.addOverlay(marker);
Adding Marker in V3:
marker = new google.maps.Marker( { position: point, icon: icon1, title: sTitle, map: map } ) ;
Removing Marker in V2:
map.removeOverlay(marker);
Removing Marker in V3:
marker.setMap(null);
Actually there are many more difference, but this post only highlighted basic one.
map.addOverlay(marker);
Adding Marker in V3:
marker = new google.maps.Marker( { position: point, icon: icon1, title: sTitle, map: map } ) ;
Removing Marker in V2:
map.removeOverlay(marker);
Removing Marker in V3:
marker.setMap(null);
Actually there are many more difference, but this post only highlighted basic one.
Wednesday, April 28, 2010
RadWindows pop up position
Want to control your radwindows pop up position, check out this post to save your life.
padding zero
Sometime when you need to append padding zero for a numeric figure. e.g. 0001, 0002 .
You might think to write your own 'sweet' logic to format the string. The good news is, .net out of the box gives you this feature.
string.Format("{0:00000}", yourIntegerValue);
You might think to write your own 'sweet' logic to format the string. The good news is, .net out of the box gives you this feature.
string.Format("{0:00000}", yourIntegerValue);
Subscribe to:
Posts (Atom)