10: | PUBLIC PROCEDURE Authorize_Payment
11: |
12: | DESCRIPTION
13: | This procedure makes a call to iPayment's API for Authorization
14: | IBY_Payment_Adapter_pub.OraPmtReq.
15: |
16: |
17: | PSEUDO CODE/LOGIC
18: |
26: | to send to iPayment for Authorizations.
27: |
28: | x_authorize_output_rec OUT
29: | This is the output record and comprises of the output record
30: | returned by iPayment API IBY_Payment_Adapter_pub.ReqResp_rec_type
31: |
32: |
33: | KNOWN ISSUES
34: |
54:
55: /*-----------------------------------------------------------------------+
56: | Local Variable Declarations and initializations |
57: +-----------------------------------------------------------------------*/
58: l_payee_rec IBY_Payment_Adapter_pub.Payee_Rec_type;
59: l_customer_rec IBY_Payment_Adapter_pub.Payer_Rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
55: /*-----------------------------------------------------------------------+
56: | Local Variable Declarations and initializations |
57: +-----------------------------------------------------------------------*/
58: l_payee_rec IBY_Payment_Adapter_pub.Payee_Rec_type;
59: l_customer_rec IBY_Payment_Adapter_pub.Payer_Rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
56: | Local Variable Declarations and initializations |
57: +-----------------------------------------------------------------------*/
58: l_payee_rec IBY_Payment_Adapter_pub.Payee_Rec_type;
59: l_customer_rec IBY_Payment_Adapter_pub.Payer_Rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
57: +-----------------------------------------------------------------------*/
58: l_payee_rec IBY_Payment_Adapter_pub.Payee_Rec_type;
59: l_customer_rec IBY_Payment_Adapter_pub.Payer_Rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
65: l_reqresp_rec IBY_Payment_Adapter_pub.ReqResp_rec_type;
58: l_payee_rec IBY_Payment_Adapter_pub.Payee_Rec_type;
59: l_customer_rec IBY_Payment_Adapter_pub.Payer_Rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
65: l_reqresp_rec IBY_Payment_Adapter_pub.ReqResp_rec_type;
66: l_riskinfo_rec IBY_Payment_Adapter_pub.RiskInfo_rec_type;
60: l_tangible_rec IBY_Payment_Adapter_pub.Tangible_Rec_type;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
65: l_reqresp_rec IBY_Payment_Adapter_pub.ReqResp_rec_type;
66: l_riskinfo_rec IBY_Payment_Adapter_pub.RiskInfo_rec_type;
67:
68: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;
61: l_pmtreqtrxn_rec IBY_Payment_Adapter_pub.PmtReqTrxn_Rec_type;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
65: l_reqresp_rec IBY_Payment_Adapter_pub.ReqResp_rec_type;
66: l_riskinfo_rec IBY_Payment_Adapter_pub.RiskInfo_rec_type;
67:
68: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;
69: l_msg_count NUMBER;
62: l_pmtinstr_rec IBY_payment_adapter_pub.PmtInstr_Rec_type;
63: /* Bug-4606039
64: l_cc_instr_rec IBY_Payment_Adapter_pub.CreditCardInstr_Rec_Type; */
65: l_reqresp_rec IBY_Payment_Adapter_pub.ReqResp_rec_type;
66: l_riskinfo_rec IBY_Payment_Adapter_pub.RiskInfo_rec_type;
67:
68: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;
69: l_msg_count NUMBER;
70: l_msg_data VARCHAR2(2000);
134: arp_standard.debug('l_customer_rec.payer_name: ' ||
135: l_customer_rec.payer_name); */
136: END IF;
137:
138: IBY_Payment_Adapter_pub.OraPmtReq(
139: p_api_version => 1.0,
140: p_init_msg_list => FND_API.G_TRUE,
141: p_commit => FND_API.G_FALSE,
142: p_validation_level => FND_API.G_VALID_LEVEL_FULL,
203: | PUBLIC PROCEDURE Capture_Payment
204: |
205: | DESCRIPTION
206: | This procedure makes a call to iPayment's API for Capture
207: | IBY_Payment_Adapter_pub.OraPmtCapture
208: |
209: |
210: | PSEUDO CODE/LOGIC
211: |
219: | to send to iPayment for Capture.
220: |
221: | x_capture_output_rec OUT
222: | This is the output record and comprises of the output record
223: | returned by iPayment API IBY_Payment_Adapter_pub.CaptureResp_rec_type
224: |
225: | KNOWN ISSUES
226: |
227: |
255: /*-----------------------------------------------------------------------+
256: | Local Variable Declarations and initializations |
257: +-----------------------------------------------------------------------*/
258:
259: l_capturetrxn_rec IBY_Payment_Adapter_pub.CaptureTrxn_rec_type;
260: l_capresp_rec IBY_Payment_Adapter_pub.CaptureResp_rec_type;
261: iby_trxn_id NUMBER;
262:
263: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;
256: | Local Variable Declarations and initializations |
257: +-----------------------------------------------------------------------*/
258:
259: l_capturetrxn_rec IBY_Payment_Adapter_pub.CaptureTrxn_rec_type;
260: l_capresp_rec IBY_Payment_Adapter_pub.CaptureResp_rec_type;
261: iby_trxn_id NUMBER;
262:
263: l_return_status VARCHAR2(1) := FND_API.G_RET_STS_SUCCESS;
264: l_msg_count NUMBER;
306: arp_standard.debug('l_capturetrxn_rec.PmtMode: ' ||
307: l_capturetrxn_rec.PmtMode );
308: END IF;
309:
310: IBY_Payment_Adapter_pub.OraPmtCapture(
311: p_api_version => 1.0,
312: p_init_msg_list => FND_API.G_FALSE,
313: p_commit => FND_API.G_FALSE,
314: p_validation_level => FND_API.G_VALID_LEVEL_FULL,