DBA Data[Home] [Help]

APPS.IBY_FNDCPT_SETUP_PUB dependencies on IBY_CREDITCARD_PKG

Line 2128: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;

2124: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2125:
2126: -- validate billing address information
2127: IF (NOT Validate_CC_Billing(FND_API.G_FALSE,p_card_instrument)) THEN
2128: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;
2129: iby_fndcpt_common_pub.Prepare_Result
2130: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2131: RETURN;
2132: END IF;

Line 2135: -- These validations have been moved from iby_creditcard_pkg because the TCA

2131: RETURN;
2132: END IF;
2133:
2134: -- lmallick (bug# 8721435)
2135: -- These validations have been moved from iby_creditcard_pkg because the TCA
2136: -- data might not have been committed to the db before invoking the Create_card API
2137: iby_debug_pub.add('Starting address validation ..',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2138:
2139: -- If Site use id is already provied then no need to call get_billing address

Line 2142: IF (p_card_instrument.Address_Type = IBY_CREDITCARD_PKG.G_PARTY_SITE_USE_ID) AND

2138:
2139: -- If Site use id is already provied then no need to call get_billing address
2140: iby_debug_pub.add('p_card_instrument.Address_Type = '||p_card_instrument.Address_Type,
2141: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2142: IF (p_card_instrument.Address_Type = IBY_CREDITCARD_PKG.G_PARTY_SITE_USE_ID) AND
2143: (NOT (p_card_instrument.Billing_Address_Id IS NULL)) THEN
2144: l_billing_site := p_card_instrument.Billing_Address_Id;
2145: ELSE
2146: IF (p_card_instrument.Billing_Address_Id = FND_API.G_MISS_NUM ) THEN

Line 2150: IBY_CREDITCARD_PKG.Get_Billing_Site(p_card_instrument.Billing_Address_Id,

2146: IF (p_card_instrument.Billing_Address_Id = FND_API.G_MISS_NUM ) THEN
2147: l_billing_site := FND_API.G_MISS_NUM;
2148: ELSIF (NOT (p_card_instrument.Billing_Address_Id IS NULL)) THEN
2149: l_billing_site :=
2150: IBY_CREDITCARD_PKG.Get_Billing_Site(p_card_instrument.Billing_Address_Id,
2151: p_card_instrument.Owner_Id);
2152: IF (l_billing_site IS NULL) THEN
2153: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_ADDRESS;
2154: iby_debug_pub.add('Invalid Billing site.',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);

Line 2153: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_ADDRESS;

2149: l_billing_site :=
2150: IBY_CREDITCARD_PKG.Get_Billing_Site(p_card_instrument.Billing_Address_Id,
2151: p_card_instrument.Owner_Id);
2152: IF (l_billing_site IS NULL) THEN
2153: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_ADDRESS;
2154: iby_debug_pub.add('Invalid Billing site.',iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2155: iby_fndcpt_common_pub.Prepare_Result
2156: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2157: RETURN;

Line 2170: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_ADDRESS;

2166: OR (p_card_instrument.Billing_Address_Territory = FND_API.G_MISS_CHAR) )
2167: )
2168: THEN
2169: IF (NOT iby_utility_pvt.Validate_Territory(p_card_instrument.Billing_Address_Territory)) THEN
2170: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_ADDRESS;
2171: iby_debug_pub.add('Invalid Territory '|| p_card_instrument.Billing_Address_Territory,
2172: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2173: iby_fndcpt_common_pub.Prepare_Result
2174: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);

Line 2181: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_PARTY;

2177: END IF;
2178:
2179: IF (NOT p_card_instrument.Owner_Id IS NULL) THEN
2180: IF (NOT iby_utility_pvt.validate_party_id(p_card_instrument.Owner_Id)) THEN
2181: x_response.Result_Code := IBY_CREDITCARD_PKG.G_RC_INVALID_PARTY;
2182: iby_debug_pub.add('Invalid Owner party '||p_card_instrument.Owner_Id,
2183: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2184: iby_fndcpt_common_pub.Prepare_Result
2185: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);

Line 2264: iby_creditcard_pkg.Create_Card

2260: ELSE
2261: iby_debug_pub.add('database registration',
2262: iby_debug_pub.G_LEVEL_INFO,l_dbg_mod);
2263:
2264: iby_creditcard_pkg.Create_Card
2265: (FND_API.G_FALSE,
2266: p_card_instrument.Owner_Id, p_card_instrument.Card_Holder_Name,
2267: l_billing_site,
2268: p_card_instrument.Address_Type,

Line 2326: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;

2322: END IF;
2323:
2324: -- validate billing address information
2325: IF (NOT Validate_CC_Billing(FND_API.G_TRUE,p_card_instrument)) THEN
2326: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;
2327: iby_fndcpt_common_pub.Prepare_Result
2328: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2329: RETURN;
2330: END IF;

Line 2334: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_CCEXPIRY;

2330: END IF;
2331: -- validate expiration date
2332: IF (TRUNC(p_card_instrument.Expiration_Date,'DD') < TRUNC(SYSDATE,'DD'))
2333: THEN
2334: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_CCEXPIRY;
2335: iby_fndcpt_common_pub.Prepare_Result
2336: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2337: RETURN;
2338: END IF;

Line 2340: iby_creditcard_pkg.Update_Card

2336: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2337: RETURN;
2338: END IF;
2339:
2340: iby_creditcard_pkg.Update_Card
2341: (FND_API.G_FALSE, lx_card_rec.Card_Id, p_card_instrument.Owner_Id,
2342: p_card_instrument.Card_Holder_Name,
2343: p_card_instrument.Billing_Address_Id,
2344: p_card_instrument.Address_Type,

Line 2603: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;

2599: l_info_only := p_card_instrument.Info_Only_Flag;
2600: END IF;
2601: -- validate billing address information
2602: IF (NOT Validate_CC_Billing(FND_API.G_TRUE,p_card_instrument)) THEN
2603: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_ADDRESS;
2604: iby_fndcpt_common_pub.Prepare_Result
2605: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2606: RETURN;
2607: END IF;

Line 2609: iby_creditcard_pkg.Update_Card

2605: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2606: RETURN;
2607: END IF;
2608:
2609: iby_creditcard_pkg.Update_Card
2610: (FND_API.G_FALSE, p_card_instrument.Card_Id, p_card_instrument.Owner_Id,
2611: p_card_instrument.Card_Holder_Name,
2612: p_card_instrument.Billing_Address_Id,
2613: p_card_instrument.Address_Type,

Line 2885: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_CCNUMBER;

2881: lx_return_status, lx_msg_count, lx_msg_data, lx_cc_number
2882: );
2883:
2884: IF (lx_cc_number IS NULL) THEN
2885: x_response.Result_Code := iby_creditcard_pkg.G_RC_INVALID_CCNUMBER;
2886: iby_fndcpt_common_pub.Prepare_Result
2887: (l_prev_msg_count,x_return_status,x_msg_count,x_msg_data,x_response);
2888: RETURN;
2889: END IF;