°è»ê¿ø ÇÁ·ÎÆÄÀÏÀº profile.dtd ¹®¼ À¯Çü Á¤ÀǸ¦ ±¸ÇöÇÏ´Â XML ¹®¼ÀÔ´Ï´Ù. ÇÁ·ÎÆÄÀÏÀº ´ÙÀ½ ±âº» ±¸Á¶¸¦ °¡Áö°í ÀÖ¾î¾ß ÇÕ´Ï´Ù.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Profile SYSTEM "profile.dtd">
<Profile useWallet="false" enableTrace="true">
<CollectPayment>
...
</CollectPayment>
<Command name="DEPOSIT">
...
</Command>
...
</Profile>
WebSphere Commerce´Â Payment Manager¿¡¼ WebSphere Commerce°¡ »ç¿ëÇÏ´Â °è»ê¿ø ÇÁ·ÎÆÄÀÏ¿¡¼ Payment Manager ±¸¼º ¿ä¼Ò¸¦ »ç¿ëÇÏ´Â °ÍÀ» Áö¿øÇÏÁö ¾Ê½À´Ï´Ù. Payment Manager¿¡ ¿¬°áÇÏ´Â µ¥ ÇÊ¿äÇÑ ¸ðµç Á¤º¸´Â ±¸¼º °ü¸®ÀÚÀÇ Payment Manager ÆäÀÌÁö¸¦ ÅëÇØ Á¦°øµË´Ï´Ù.
useWallet ¼Ó¼ºÀÌ true·Î ¼³Á¤µÇ¸é °è»ê¿øÀº Cashier.collectPayment(...) ¸Þ¼Òµå°¡ È£ÃâµÉ ¶§ ReceivePayment API ¿äûÀ» ºôµåÇÕ´Ï´Ù. ÀÌ ¼Ó¼ºÀÌ false·Î ¼³Á¤µÇ¸é AcceptPayment API ¿äûÀÌ ´ë½Å ±¸¼ºµË´Ï´Ù.
WebSphere Commerce°¡ Á¦°øÇÏ´Â ¸ðµç °è»ê¿ø ÇÁ·ÎÆÄÀÏÀº enableTrace ¼Ó¼ºÀ» true·Î ¼³Á¤µÇ°Ô ÇÏ¿© °è»ê¿øÀÌ Ç×»ó Áø´Ü Á¤º¸¸¦ ±â·ÏÇÏ°Ô ÇÕ´Ï´Ù. ´Ü, °è»ê¿øÀÌ ÀÌ Á¤º¸¸¦ ±â·ÏÇϱâ À§ÇØ »ç¿ëÇÏ´Â ½ÇÁ¦ trace() ¸Þ¼Òµå´Â WebSphere Commerce ÃßÀû Ŭ·¡½º ECTraceÀ̹ǷÎ, ÃßÀû ¼³Á¤Àº Áø´Ü Á¤º¸°¡ ·Î±×¿¡ ±â·ÏµÇ´ÂÁö ¿©ºÎ¸¦ Á¦¾îÇÕ´Ï´Ù. °è»ê¿ø ¹× WebSphere Commerce ÁöºÒ ±â´É ¸ðµÎ¿¡ ´ëÇÑ ÃßÀûÀº »ç¿ëÀÚ°¡ ÁÖ¹® ±¸¼º¿ä¼Ò¿¡ ´ëÇÑ ÃßÀûÀ» »ç¿ëÀ¸·Î ¼³Á¤ÇÒ ¶§ »ç¿ë °¡´ÉÇÕ´Ï´Ù.
![]() |