Task #833
payment gateway phase 2
Status: | Work Completed-End life cycle | Start date: | March 28, 2011 | |
---|---|---|---|---|
Priority: | Normal | Due date: | ||
Assignee: | Ang Wei Cheng | % Done: | 100% | |
Category: | - | Spent time: | - | |
Target version: | - |
History
#1 Updated by Ang Wei Cheng over 13 years ago
Added new URL interface for straight-through payment.
Working on the redirection and result page of straight-through payment.
#2 Updated by Ang Wei Cheng over 13 years ago
- % Done changed from 40 to 60
Using struts tiles built-in support for i18n to define templates, Generic template(GE), Straight-through template(ST).
Sample code:-
In Action java,
setLocale("GE"); (Struts built-in method)
//tiles definition "tiles_def_GE.xml" would be used if exists, else use the base template "tiles_def.xml"(Am Prestige).
Straight-through payment process seems to be working. error page for straight-through is just for request parameter validation error, plain page without any theme.
#3 Updated by Ang Wei Cheng over 13 years ago
- % Done changed from 60 to 70
-process the payment source and set the correct template code to locale both during first page and result page.
-display more descritive error message e.g. "invalid parameter(s) instead of service unavailable (user request).
pending:-
-need to create the redirection page for result page if it is straight-through payment. Will send the result to the URL defined by user in the payment source, throw error if url is not defined.
-display exit link if defined by user for the payment source
-need to display error code description according to the error code returned by paymex
#4 Updated by Ang Wei Cheng over 13 years ago
- Status changed from Development / Work In Progress to Work Completed-End life cycle
- % Done changed from 70 to 100
Done:-
-create the redirection page for result page if it is straight-through payment. Will send the result to the URL defined by user in the payment source, throw error if url is not defined.
-display exit link if defined by user for the payment source
-display error code description according to the error code returned by paymex