´ÙÀ½ XML ÄÚµå´Â VisaNet Ä«¼¼Æ®¿¡ »ç¿ëÇϵµ·Ï WebSphere Commerce¿¡¼ Á¦°øÇϴ ǥÁØ °è»ê¿ø ÇÁ·ÎÆÄÀÏÀÔ´Ï´Ù.
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE Profile SYSTEM "../../../../xml/PaymentManager/profile.dtd">
<!--
//*==================================================================
//* Licensed Materials - Property of IBM
//*
//* 5724-A18
//*
//* (c) Copyright IBM Corp. 2001
//*
//* US Government Users Restricted Rights - Use, duplication or
//* disclosure restricted by restricted by GSA ADP Schedule Contract with IBM Corp.
//*
//*================================================================== -->
<!-- ==================================================================
This is the sample WC 5.1 cashier profile for the VisaNet
Payment Manager Cassette with Account number set to 1
================================================================== -->
<Profile useWallet="false" enableTrace="true" >
<CollectPayment>
<!-- ==================================================================
Parameters required by Payment Manager
================================================================== -->
<Parameter name="PAYMENTTYPE"><CharacterText>VisaNet</CharacterText></Parameter>
<Parameter name="MERCHANTNUMBER"><CharacterText>{storeId}</CharacterText></Parameter>
<Parameter name="ORDERNUMBER"><CharacterText>{orderId}</CharacterText></Parameter>
<Parameter name="AMOUNT"><CharacterText>{AMOUNT}</CharacterText></Parameter>
<Parameter name="CURRENCY"><CharacterText>{CURRENCY}</CharacterText></Parameter>
<Parameter name="AMOUNTEXP10"><CharacterText>{AMOUNTEXP10}</CharacterText></Parameter>
<!-- ==================================================================
Optional parameters for Payment Manager
================================================================== -->
<!-- Indicates how automatic approval of the order should be attempted
Supported values are:
0 - no automatic approval
1 - synchronous automatic approval - Payment Manager attempts approval as
part of order creation operation
2 - asynchronous automatic approval - Payment Manager schedules an approval
operations after order is created
The default value is 0.
-->
<Parameter name="APPROVEFLAG"><CharacterText>2</CharacterText></Parameter>
<!-- The amount which should be used when approving an order. Usually
this will be the same as the order amount. This field is required
if the APPROVEFLAG is set to 1 or 2. -->
<Parameter name="PAYMENTAMOUNT"><CharacterText>{approval_amount}</CharacterText></Parameter>
<!-- The payment number which should be used when approving an order.
Usually this will be 1. This field is required if the APPROVEFLAG
is set to 1 or 2. -->
<Parameter name="PAYMENTNUMBER"><CharacterText>1</CharacterText></Parameter>
<!-- Indicates whether the deposit should be attempted automatically.
This flag is only valid if APPROVEFLAG is set to 1 or 2.
Supported values are:
0 - Funds should not be automatically deposited.
1 - Funds should be automatically deposited.
The default value is 0.
-->
<Parameter name="DEPOSITFLAG"><CharacterText></CharacterText></Parameter>
<!-- The following two parameters are optional. Either one could be used to pass the
Buyer Purchase Order number to the Payment Manager. The first Parameter takes only
ASCII Text. If Buyer Purchase Order numbers on your system may contain non-ASCII
Strings, use parameter ORDERDATA2 instead.
-->
<Parameter name="TRANSACTIONID" maxBytes="128" encoding="ASCII"><CharacterText>{PONumber}</CharacterText></Parameter>
<Parameter name="ORDERDATA2"><CharacterText></CharacterText></Parameter>
<!-- ==================================================================
Parameters required by the cassette
================================================================== -->
<!-- The credit card number -->
<Parameter name="$PAN" sensitive="true"><CharacterText>{card_number}</CharacterText></Parameter>
<!-- The expiry date in format YYYYMM -->
<Parameter name="$EXPIRY"><CharacterText>{card_expiry}</CharacterText></Parameter>
<Parameter name="$ACCOUNTNUMBER"><CharacterText>1</CharacterText></Parameter>
<!-- The cardholder's street address -->
<Parameter name="$AVS.STREETADDRESS" maxBytes="24" encoding="ASCII"><CharacterText>{billto_address1}</CharacterText></Parameter>
<!-- The cardholder's zip code -->
<Parameter name="$AVS.POSTALCODE" maxBytes="9" encoding="ASCII"><CharacterText>{billto_zipcode}</CharacterText></Parameter>
<!-- ==================================================================
Optional parameters for the cassette
================================================================== -->
<!-- Some payment cards are issued with a verification code. The verification
code is generated by the issuing bank and can be verified by the bank.
The account number followed by the three or four digit verification code
is printed on the signature panel of the card. The value must be a 3 or 4
character numeric string. Example values: 1234 or 321. -->
<Parameter name="$CARDVERIFYCODE"><CharacterText>{Ecom_Payment_Card_Verification}</CharacterText></Parameter>
<!-- A purchase order number to be associated with this order -->
<Parameter name="$PURCHORDERNUM"><CharacterText></CharacterText></Parameter>
<!-- The maximum number of payments to be allowed for this order -->
<Parameter name="$NUMPAYMENTS"><CharacterText>1</CharacterText></Parameter>
</CollectPayment>
<Command name="DEPOSIT">
<!-- ==================================================================
Parameters required by Payment Manager for DEPOSIT Command
================================================================== -->
<Parameter name="MERCHANTNUMBER"><CharacterText>{storeId}</CharacterText></Parameter>
<Parameter name="ORDERNUMBER"><CharacterText>{orderId}</CharacterText></Parameter>
<Parameter name="PAYMENTNUMBER"><CharacterText>{payment_number}</CharacterText></Parameter>
<Parameter name="AMOUNT"><CharacterText>{AMOUNT}</CharacterText></Parameter>
</Command>
</Profile>
WC51_VisaNet.profileÀº ´ÙÀ½ À§Ä¡¿¡ ÀÖ½À´Ï´Ù.
drive:\WebSphere\CommerceServer\instances\instance_name\xml\payment\
drive:\Program
Files\WebSphere\CommerceServer\instances\instance_name\xml\payment\
/usr/WebSphere/CommerceServer/instances/instance_name/xml/payment/
/opt/WebSphere/CommerceServer/instances/instance_name/xml/payment/
instance root
path/xml/payment/
¿©±â¼ instance root path´Â ÀνºÅϽº ÀÛ¼º Áß¿¡ ±¸¼º °ü¸®ÀÚÀÇ
ÀνºÅϽº ÆÐ³Î¿¡¼ ÀνºÅϽº ·çÆ® °æ·Î Çʵ忡 ÁöÁ¤µÈ
°æ·ÎÀÔ´Ï´Ù. ±âº» °æ·Î´Â /QIBM/UserData/WebCommerce/instances/instance_name/ÀÔ´Ï´Ù.
PAYMENTTYPE ¸Å°³º¯¼ö´Â ÀÌ ÇÁ·ÎÆÄÀÏ Ä«¼¼Æ®ÀÇ À̸§À» ÁöÁ¤ÇÕ´Ï´Ù.
WebSphere Commerce´Â °è»ê¿ø ÇÁ·ÎÆÄÀÏÀÇ <BuyPageInformation> ¿ä¼Ò¸¦ »ç¿ëÇÏÁö ¾Ê½À´Ï´Ù. µ¿µîÇÑ ±â´ÉÀÌ ÁöºÒ Á¤Ã¥ÀÇ attrPageName Ư¼º°ú ÇÔ²² Á¦°øµË´Ï´Ù.
ÁÖ: ÀÌ ÇÁ·ÎÆÄÀÏ¿¡´Â Ä«¼¼Æ®¿¡ ÇÊ¿äÇÑ $ACCOUNTNUMBER ¸Å°³º¯¼öÀÇ °ªÀÌ 1·Î °íÁ¤µÇ¾î ÀÖ½À´Ï´Ù. ÀÌ ¼ýÀÚ´Â Payment Manager »ç¿ëÀÚ ÀÎÅÍÆäÀ̽ºÀÇ VisaNet¿¡ ´ëÇÑ ÆÇ¸ÅÀÚ °èÁ¤ ¼³Á¤ ȸéÀÇ °èÁ¤ ¹øÈ£ ÇʵåÀÇ °ª°ú ÀÏÄ¡ÇØ¾ß ÇÕ´Ï´Ù. ÀÌ Ä«¼¼Æ®¸¸ ÀÌ ¸Å°³º¯¼ö¸¦ ÇÊ¿ä·Î ÇÕ´Ï´Ù. »óÁ¡ÀÇ VisaNet °èÁ¤À» ±¸¼ºÇÒ ¶§ °èÁ¤ ¹øÈ£ Çʵ忡 ´Ù¸¥ °ªÀ» »ç¿ëÇϸé, ÀÌ ÇÁ·ÎÆÄÀϵµ °»½ÅÇØ¾ß ÇÕ´Ï´Ù. »óÁ¡ ¼³Á¤À» °£´ÜÈ÷ ÇÏ·Á¸é, »óÁ¡ÀÇ ÆÇ¸ÅÀÚ °èÁ¤À» ±¸¼ºÇÒ ¶§¿Í µ¿ÀÏÇÑ °èÁ¤ ¹øÈ£¸¦ »ç¿ëÇÏ´Â °ÍÀÌ ÁÁ½À´Ï´Ù.
VisaNet Ä«¼¼Æ®¿¡ ÇÊ¿äÇÑ ¸Å°³º¯¼ö¿¡ ´ëÇÑ Ãß°¡ Á¤º¸´Â ¸ÖƼÇ÷§Æû¿ë IBM WebSphere Payment Manager, Cassette for VisaNet Supplement, Version 3.1À» ÂüÁ¶ÇϽʽÿÀ.
![]() |