MOD10 Validation for Credit Card and Checks
Hi Friends, I am looking for MOD10 Validation function for Credit Card and Checks.
See example below. Suggest you check this a.) suits your requirements and b.) actually works ;-)
FUNCTION luhn_check_digit (
n IN VARCHAR2)
RETURN NUMBER
IS
SUBTYPE st_num IS NUMBER (10);
m st_num := 0;
FUNCTION luhn_sum (
n IN VARCHAR2)
RETURN NUMBER
IS
l st_num := LENGTH (n);
t st_num := 0;
s st_num := 0;
BEGIN
<<multiply>>
FOR i IN 0 .. (l - 1) LOOP
t := SUBSTR (n, (l - i), 1) * (MOD ((i + 1), 2) + 1);
<<combine>>
FOR j IN 1 .. LENGTH (t) LOOP
s := s + SUBSTR (t, j, 1);
END LOOP combine;
END LOOP multiply;
RETURN s;
END luhn_sum;
BEGIN
m := luhn_sum (n);
RETURN (CEIL (m / 10) * 10) - m;
END luhn_check_digit;
Similar Messages
-
RMA when Orignial SO was paid thru Credit Card and Check (Multiple Payment)
Hi,
If I have an original sales order of $100 and customer has paid $100 through Credit Card and Check. Now when he is returning the material back, will RMA take the same payment methods by default?
Also, when customer has purchased the material, there was an Authorization happened. Now when he returns the material, how the payment will go to customer on Credit Card?
Any help will be highly appreciated.I am running RFFOUS_C. I'm not sure what you mean by 'set the variant for check print by using the new dummy check number range'. I had created a check number range (and lot) and attached it to the house bank I enter when running the program - is this what I should be doing? Under print control, I have the 'print checks', 'print payment advice' and 'print payment summary' options selected, but I do not have 'print immediately' selected. When I run RFFOUS_C in this manner, check numbers do not get created. In fact, their is a function module 'get_check_number', but this only gets executed when you run RFFOEDI1. What could I be doing wrong?
-
For our family finances, how do I create a monthly expenditure report that automatically merges data (by category) from checking, credit card, and savings accounts?
You can set up four tables:
1) a summary table
2) a table for pasting Checking transactions
3) a table for pasting Credit Card transactions
4) a table for pasting Savings transactions
You will have catagorize each transaction or using the ones from the bank/credit card
I used pop-up menus to make the categories (Type) and summed the two accounts in the summary table. -
Hello,
Last night my daughter was trying to log in to take care or some apps she has. While she was doing so, she got a message that said credit card was declined. Three time that popped up on her. then I tired with my credit card, and the same thing happened. So I left it and tired calling. But do you think there could be a person to talk with **** NO. Now I am stuck doing this. So anyway's sorry to rant, I Checked my checking account today and found there were a charge from itunes of $1.38 on it. I then looked at my daughter account and found 3 charges of the same amount. Mine ended up getting a overdraft fee of $35.00.
My question is. What are you going to do about this? If I am unable to log in how can I get charged? does not make a hole lot of scene to me.How about you?We are fellow users here on these user-to-user forums, you're not talking to iTunes Support nor Apple.
Is the credit card registered to exactly the same name and address (including format and spacing etc) that you have on your iTunes account, it was issued by a bank in your country and you are currently in that country ? If it is then you could check with the card issuer to see if it's them that are declining it, and if not then try contacting iTunes support and see if they know why it's being declined : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Account Management
Each time that you add or change your card details then a temporary store holding charge may be applied to check that the card details are correct and valid (though that is usually $1 or the approximate local equivalent) : http://support.apple.com/kb/HT3702
Did your daughter owe any amounts to iTunes ? Does anything show on your purchase history : http://support.apple.com/kb/HT2727 ? If they are proper charges which you don't think that you should have then you can contact iTunes Support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
Dear Customer Service:
It is very frustrating for me. My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for
the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Techcombank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
Sincerely,
<Edited by Host>Just as a warning, your credit card number has been sent in the clear to probably thousands of people, including anyone who subscribes to e-mail alerts to this forum. That's very, very bad. The credit card should be considered compromised at this point, and you should cancel it immediately, if you haven't done so already.
-
My Visa account keeps getting declined at Apple. I used this very same Visa card on Amazon with no problem. I checked my status for the card and it is still all good. My friends and I buy a lots of Apple applications on iTune.
We have the correct CVV2, Expiration Date and Billing address, but you keeps declining us. Please fix this problem for me. The issuing bank for this card is Eximbank, one of the largest banks in Vietnam. According to the bank, the transaction is processed in the US. This is a legitimate Visa card.
Please let me know as soon as possible. Apple does a disservice to its brand name by declining legitimate Visa account holders from using the cards in Vietnam.
Sincerely,
<Personal Information Edited by Host>These are user-to-user forums, you are not talking to Apple here - I've asked the hosts to remove your credit card number from your post as these are public forums (you should consider getting a new card from your provider as you've posted it here).
Your card is registered to exactly the same address (spacing and format) as is on your iTunes account ?You can contact iTunes support via this page : http://www.apple.com/support/itunes/contact/ - click on Contact iTunes Store Support on the right-hand side of the page, then Purchases, Billing & Redemption -
How do I remove my credit card from my account? Right now I have debit or credit card and when I try to download a free app like Facebook, it tells me to update my billing info and won't accept it blank. It says I owe for a previous purchase.
Sorry- edited:
How do I remove my credit card from my account? Right now I have no* debit or credit card and when I try to download a free app like Facebook, it tells me to update my billing info and won't accept it blank. It says I owe for a previous purchase. So take it back and unlock my ability to DL free apps. -
I am trying to update some apps but my ipad wont let me because it wants me to enter the security code for my credit card and I dont want to do that how can i fix this?
Try temporarily disabling your firewall and antivirus.
-
ok So my for months I have been trying to fix this. A few months ago my credit card got turned off. Ever since then my iphone wont let me say 'no credit card' and I can't download anything or update anything. I have tried making a new Apple ID. Nothing is working. can somelme please help me
Hello uriah12345,
Thanks for the question. Based on what you stated, it seems like you dont want to use a credit card with the Apple ID and it wont let you. I would recommend that you read this article, it may be able to help you isolate or resolve the issue.
Why can’t I select None when I edit my Apple ID payment information? - Apple Support
Thanks for using Apple Support Communities.
Cheers,
Mario -
How do I delete a credit card from my iTunes account without adding another one? My friend bought an app with her credit card and I no longer have the info but every time I try to download a free app (ex: Instagram, Twitter, vine etc.) it ask for the credit cards security code. I can not find a way to delete that cards info without adding another cards info.
http://support.apple.com/kb/ht1918
http://support.apple.com/kb/ts5366 -
Every time I try to download a free or paid app or in iTunes
it asks me for a credit card. (Which i don't have one)
How can i download free apps without a credit card and not reset my apple ID?
I already put in 20$!!!!!How to Get Apps From the App Store Without a Credit Card
http://ipadhelp.com/ipad-help/how-to-get-free-apps-from-the-app-store-without-a- credit-card/
Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
http://support.apple.com/kb/ht2534
If None is not available - On your computer launch iTunes and click "iTunes Store" in the left navigation pane. Click the "down arrow" next to your name at the top right side of the page and click "Account." Enter your username and password and click "View Account" to log into your account information. Next to your Payment Type, click "Edit." Select the "None" button and click "Done." Confirm that your card has been removed by returning to the Apple account information screen. Under Payment Type, it should say that there is no credit card on file.
Cheers, Tom -
ok... i am trying to sign into my apple account in the itunes store on my ipod and i have all the correct data for my credit card and it says " your payment information does not match your banks records. try again or nenter a new payment method. " what does this mean and how can i fix it??
- See:
]iTunes Store: My credit card's security code or zip code does not match my bank's records
- If still problem contact iTunes by:
Contact iTunes -
Help - have an iTunes account on iPad for well over a year. Just bought iPhone 5 and I cannot purchase apps using my account. I am asked to verify my credit card and details but then it rejects them. They are still fine on the iPad. Any ideas?
I tried to contact support but they do not recognise my Thai phone number.
the Thai support site is all in Thai (and I neither read or write it).
All I want is a single email address that works - it must be quite a simple process.
I don't want to create another account with another credit card - life will just get seriously complicated then.
BTW my apple I'd is accepted for downloading free apps!!!First of all, you should always save you photos on computer like any other digital camera.
Backup on iCloud or iTunes only backup your Camera Roll. The other photos should be already on the computer.
Note: Photos are not saved in iTunes, it's only a conduit between your iPhone and your photo managing software on computer.
What computer do you have? -
When I try to set up an Apple ID, it's asking for a credit card, and there is no "None" option, like this page suggests. How can I bypass this? This iPad is for a younger child who has no credit card, and will not need to make any purchases.
You can create an iTune and App Store account without credit card details
1. Sign out of current Apple ID if you are sign-in to one (important)
2. Go to App Store and select a free app
3. Tap INSTALL APP
4. Create New Apple ID
5. Confirm Your Country
6. Agree with Terms and Conditions
7. Fill in your Apple ID and Password (you must create a new Apple ID; don't use your old Apple ID)
8. Create and answer your secret question
9. Select NONE for Payment Method
10. Fill in Billing Address
11. Submit application for new Apple ID
12. Wait for verification email
13. When email arrive, verify your account
14. Start downloading your free apps -
I create my apple id from my boyfriend macbook and its says that I have to review my itunes information , when I get to the credit card number info etc. Its keep asking me for that I dont have any credit card and I dont want to put any , what should I do?
You cannot use that ID without a credit card. You did not create your account correctly. There is very specific way in which you must create your account if you do not want to use a credit card. If you don't have a credit card, you will have to start all over again.
1. You will have to sign out of that ID before you can create a new one. Settings>iTunes & App Store>Apple ID>Sign out.
2. You cannot use the email address that you used for the first ID that you created. You will need to use another email address now
3. You have to download a free app in order to start the new Apple ID process.
Read this before proceeding.
http://support.apple.com/kb/HT2534
Maybe you are looking for
-
Time machine hard drive question
hi i heard from someone that you need to have twice the size external drive then your internal for complete back up is this true so if i have a 320 internal i will need a 720gb external ? thanks Jason
-
How do you retrieve downloaded music and playlists after a complete computer crash. I can log into my Itunes account and make purchases but my music library is gone. I have an external backup on a flash drive but for some reason the music does not
-
External HD compatible for Mac and PC
Hi, anyone knows how to make an external HD compatible for Mac and PC? I tried formatting in ExFAT and MS DOS but on Mac does not let to copy big files (aprox 4GB) onto the HD. And if I format on Mac Extended, Windows doesnt recognize.
-
IPhone 4 Syncing Error- Too Many Computers
I get an error message that says my iPhone has been cynced to 5 computers and it won't sync to my new MacBook Pro. Is there any way to Unsync it from computers I no longer have access to? We're talking about computers from three years ago, before I e
-
Elements 12 use Win7 will change to Mac Book License
IHi, I am going to Buy a Mac Book Pro. Can I simply instal PSe 12 with the Apple CD from the package? Do I first have to deactivate my PSE 12 on the currently used Win 7 HP Laptop?