Display last four digits of a credit card number

Hi!
How can I display the last four digits of a credit card number with x or asterix masking the other digits?
I.E.
xxxx-xxxx-xxxx-1234
Thanks for suggestions or scripts!

but this will not work when the pattern is not symmetric if the input is as below
'2345-2341-567856-12-6578' so the general solution can be
SQL> with t as(select '2345-2341-567856-12-6578' card_no from dual)
  2  select substr(regexp_replace(card_no,'[0-9]','X'),1,instr(card_no,'-',-1,1))||substr(card_no,-4) from t;
SUBSTR(REGEXP_REPLACE(CA
XXXX-XXXX-XXXXXX-XX-6578

Similar Messages

  • Show last four digits of credit card

    Hi all,
    From SBO 8.8 the credit card is encrypted and cannot be read from sql table.
    I try to make a crystal report layout for Incoming payment, this layout should contain last four digits of credit card. When the layout is printed the credit card number is shown as encrypted data.
    How can I print only the last four digits of the credit card that was written in the incoming payment.
    Thanks in advance.
    Yossi

    Hi,
    Check This Tread , I am not sure this will be helpful,
    http://scn.sap.com/message/4853784#4853784
    http://scn.sap.com/thread/1491483
    Regards
    Kennedy

  • Why did myEE ask for my sort number and last 4 digits of my debit card

    When trying to set up myEE I was asked for my sort number and last four digits of my debit card, I got the myEE app from the App Store for my ipad

    It asks you for this information if you say you are the bill payer when setting up your account. This information is used to check and match the details with EE's payment systems so you can then access your bills/payments online.

  • TS2446 How do I change the credit card number in itunes, the system will not let me change the last four numbers for verification

    the itunes will not allow me to change my credit card number it takes the acct #, the date but the four numbers on my american express are frozen.

    I am stuck with a similar problem. I moved from Ireland to the UK but for some reason, iTunes would not let me change the country in my payment information, it remains Ireland. I do not have any credit to spend and I still cannot change it. I even set up a new iTunes account and the country still remains uncangable. Hence, I cannot add the details of my UK card as iTunes believes it is set in Ireland. Have you managed to solve your problem?

  • Credit card number display in sales order

    Hi,
    I would like to know in which transaction the configuration needs to be done, to display partial credit card number as *.  Eg.  it should be displayed as ************7654
    Thanks in advance.
    Meenakshi

    Hi,
    The sales order is created using the Idoc information sent from a website.
    E1EDK36 segment has that credit card details.
    Menu Goto->Header->Payment card will display the details in the sales order after creation.
    Thanks
    Meenakshi

  • I am running Itunes 9 on Tiger. Everytime I try to edit my credit card number, it says "session timed out". I need to change the card number in order to purchase music. Also, I lost the last 2 purchases. Can I download them again without a charge?

    I am running itunes 9 on Tiger. Everytime I try to edit my credit card number, it says "session timed out". I need to change the card number in order to purchase music. Suggestions?
    Also, I lost the last 2 purchases when I backed up after a hard drive crash.  Can I download them again without a charge? Newton

    Downloading past purchases from the App Store, iBookstore, and iTunes Store - http://support.apple.com/kb/ht2519 - enabled with iTunes 10.3 and newer; not available in all countries; apps, books (not audiobooks), music, t.v. shows, and movies (some - not all studios have permitted this). Movies currently available in the USA only. Downloading previously purchased movies and TV shows requires iTunes 10.6 or later.  Discontinued items not available. For items not included in the iCloud list, or locations or computer systems where iCloud is not (yet?) available, you only get one download per fee paid.  Apple notes it is your responsibility to back up your purchases.

  • HT2534 I have a $70 credit in my iTunes account but when i bought an album last night it charged by credit card not the itunes account. How do I reverse this and get the itunes account used up first?

    Ihave a $70 credit in my itunes account but when I purchased an album last night itunes charged my credit card, not my itunes account. How do I get this reversed

    How did you create the account ? Unless the instructions on this page are followed when creating an account : http://support.apple.com/kb/HT2534
    then credit card details will need to be entered before the account can be used to download any item from the store.
    If you are being prompted to review the account then see if this post by mountaingoatgirl lets you do so without needing to enter credit card details : https://discussions.apple.com/message/24303054
    If not then you will need to enter your credit card details - you should be able to remove it after entering it.

  • Credit card number field in sales order

    Hi Friends,
    Can we configure this field so that it only retains the card number as xxxx1234 (last 4 digits.  Currently we have full visibility to customer card data to anyone who has SD display access in sales order.
    Thanks,
    Sree.Manam

    Sree,
    I'd suggest you have a look at OSS note 766703.  SAP has functionality for encrypting credit card number and note 766703 is an FAQ that references notes related to that functionality.  You'll find reference to notes that discuss how to activate the "masking" of the card number - which is what you describe.  Once you've implemented those notes you'll be able to have all execpt the last several digits of the card number masked with '*'.
    Regards,
    Eric Bushman
    VP, Solutions Engineering
    Paymetric

  • Apple Pay: The last 4 digits of my device account number is not showing up on my phone.

    My credit card company needs the last 4 digits of my device account number, and only ***** (stars) show up under my divice account number.  I have 8.1 installed, and have tried restarting my phone.  Any suggestions on how to get my divice account number to show?

    natapech wrote:
    It sounds like your bank requires additional authentication before you can use Apple Pay. It does not look like there was a token activated for your wallet. When you are in your Passbook app- does it say under the card that your card is activated and ready for Apple Pay? If it does not, contact your Bank to get DAN (token) activated.
    DAN will show once token is provisioned and activated, no need for transaction to occur first.
    Hope this helps.
    My credit card is obviously activated, as I was just able to use Apple Pay with it at a store (where they didn't ask for any DAN code). When I view the card in Passbook, it says nothing about whether it's been activated, one way or the other, but obviously the card is working for Apple Pay.
    But I just did find the DAN, way, way down at the very bottom of the Info page, below the whole list of recent transactions.
    Nowhere in any documentation I've seen does it indicate that this would be at the very bottom and one has to scroll so far down. Does seem like an unfriendly place to put it,

  • I am so frustrated and can't get Apple to help. I have charges on my bank statement for Apple ITunes and they occur every day or so. I've removed my credit card number but they continue. How can I stop these?  My bank says I have to contact apple.

    Please help. How can I get Apple to stop charging my bank for purchases. They are showing up every other day. I removed my credit card number from my account. That has not helped.

    FOR ASSISTANCE WITH ORDERS - iTUNES STORE CUSTOMER SERVICE
    For assistance with billing questions or other order inquiries, please refer to our online support page by clicking here: http://www.apple.com/support/itunes/store/. If you cannot find the answers you are seeking in our robust knowledge base, you can contact us by visiting the following URL http://www.apple.com/support/itunes/store/, clicking on the appropriate Customer Service topic, then using the contact button or email form at the bottom of the page. Responses to emails will be provided as soon as possible.
    Phone: 800-275-2273 How to reach a live person: Press 0 four times
    Hours of Operation: Mon-Fri: 9am-5pm ET
    Email: mailto:[email protected]
    How to report an issue with Your iTunes Store purchase
    http://support.apple.com/kb/HT1933
    https://reportaproblem.apple.com/
    iTunes Purchase Problems: How to Report a Problem to iTunes Support
    http://tinyurl.com/7tscpa7
    iOS: Troubleshooting applications purchased from the App Store
    http://support.apple.com/kb/TS1702?viewlocale=en_US&locale=en_US
    How to Get a Refund from the App Store
    http://gizmodo.com/5886683/how-to-get-a-refund-from-the-app-store
    Getting Refunds for your iTunes Store Purchases
    http://www.labnol.org/software/itunes-app-store-refunds/13838/
    Canceling a Digital Subscription
    http://gadgetwise.blogs.nytimes.com/2011/10/14/qa-canceling-a-digital-subscripti on/
     Cheers, Tom

  • My Ipod Touch will not let me sign into my apple account without adding a credit card number

    I don't have a credit card, or a gift card; an when I go to download an app I log into my account; but it wont 'Fully' log me in until I press 'review', then it does the whole "Your credit card number is a required field". Thus resulting in me not being able to download my desired app, even though my account is verified on the sight ect. But even still, when I go to save my "billing" information on the sight, my "Credit card number" is STILL a required field..! I don't have a credit card..! So how can I download apps without a credit card..?

    Try logging into your account in iTunes on a computer and setting the payment method to None.
    Why can’t I select None when I edit my payment information?
    Last, contact iTunes.
    You can always
    Create a NEW account/ID for her using these instructions. Make sure you follow the instructions. Many do not and if you do not you will not get the None option. You must use an email address that you have not used with Apple before. Make sure you specify a birthdate that results in being at least 13 years old
      Creating an iTunes Store, App Store, iBookstore, and Mac App Store account without a credit card
    More details of how:
    http://ipadhelp.com/ipad-help-tips-tricks/how-to-get-free-apps-from-the-app-stor e-without-a-credit-card/

  • How to see masked Credit Card number in Sales Order !!

    Hi,
    In our SAP system credit card enceryption is activated. Certain users want to see the credit card number in the sales order change/display screen.We are in SAP ECC 6.0.
    Please let me know how we can achieve this.
    Thanks
    Ambuj

    Dear Ambuj,
    There is no possibility to view the credit card number unmasked in the sales order. You will always get the masked number even if you have C4 authorisation ('C4' action for the V_VBAK_AAT authorisation object). You can view the unmasked credit card number in transaction XD02/XD03.
    If you use BAPISDORDER_GETDETAILEDLIST to view the order then the C4 authorisation will be checked and the unmasked number will be displayed (if the user has this authorisation).
    If you have access to OSS notes then please check 836079 (FAQ: Credit card encryption and master data) and 766703 (FAQ: Credit card encryption in R/3 systems).
    I hope this helps.
    Best regards,
    Ian Kehoe.

  • Masking credit card number

    HI
    I have a situation in hand.
    The legacy system is sending the credit card number and the security number to XI system which then is passed to R/3 system while creating the orders.
    The data is sent to XI through the HTTP post.
    What I want to do is to mask the card number as 1234********5678 and the security number as *** . before the data is monitored in SXMB_MONI.
    I dont wnat to make the card number avaliable in the monitoring but wnat to paa the exact card number to R/3
    If anyone has any idea do let me know
    Regards
    Nikhil

    Nikhil,
    I would suggest you a workaround on this. First while developing your interface you dont need to do anything since you will testing with some test data. But in production and quality you  can restrict access to software components, integration scenario, interface and mapping objects aswell.
    check with this blog:
    /people/michal.krawczyk2/blog/2005/05/25/xi-how-to-add-authorizations-to-repository-objects
    Also you restrict  your message in sxmb_moni with this weblog:
    /people/michal.krawczyk2/blog/2006/01/02/xi-sxmbmoni--controlling-access-to-message-display
    https://sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/7e4105db-0601-0010-bf87-bd3f714f2c0c
    So in you production and quality only the required users can see the message.
    ---Satish

  • [POSDM] Credit card number masking

    Hi Experts
    We have a requirement to mask the credit card number on display (i.e. POS workbench) BUT show full card number on data level for BW data processing.
    I am able to mask the card number on display through the config below:
    Cross Application Component --> Payment Cards --> Make Security Settings for Payment Cards. (Masked Display and Encrypted When Saved)
    Appreciate if you can kindly guide me to the setting for allowing to show the full card number on data level.
    Moreover, I have searched in the note here that Installation of the encryption library "SAPCRYPTOLIB" is needed. Is it true?
    PCI Implementation - Logistics - SAP Library
    Thanks a lot for your help.
    Dominic

    Hi Lam,
    Your question is not clear,
    You can achive the BW data processing from following IMG settings,
    Here we can do the Enrichment/Modification of Data During Update to BW for masked credit card details,
    Credit card details in BW (POS ANALYTICS) can be achived from the below datasource,
    Thanks and Regards,
    Ramesh D

  • Leading zeros in credit card number

    I'm trying to allow leading zeros in a credit card field.
    I have 4 fields, one for each set of numbers.
    I'm currently using number format for each field.
    When the user types a leading zero in their credit card number, acrobat gets all excited and assumes that the leading zero(s) should not be there, then removes it / them.
    Is there any way I can allow leading zeros?
    Thank You.

    Thank You! I ended up following your instructions and using this:
    var fmt = /^\d\d\d\d$/;
    if(event.value != "")
        if(!fmt.test(event.value))
            app.alert("Incorrect format, must be four numbers");
            event.rc = false;

Maybe you are looking for

  • Debugfs using 100% cpu on boot for 10 minutes

    Hi, I've recently installed archlinux on my Thinkpad x230. I have arch and windows on my SSD which is /dev/sdb and I've got an HD for storing files at /dev/sda1 (ext4). I set it up with systemd in the beginning so I can't compare to what it was like

  • Sync of Zencast items INCREDIBLY s

    I just upgraded from a Zen V Plus to the Zen. On the V Plus, I occassionally used Zencast (video casts) and aside from memory issues the process worked ok. I subscribed with Zencast, updated channels, and then converted and downloaded in Sync Manager

  • CF memberships tut

    Hello eveyerone, i'm looking for a tutorial on creating a memberships based web-site. I'm wanting to create a site that each one of my clients can sign in to and view documents and other info relating to thier business with me. i'm using DW CS3 with

  • Password protecting the MAC?

    How do I password protect the Mac? I want to leave programs running in the background, but password protect it so no one can hop on my computer while I'm away.

  • Creating a template with drawing scales

    I am creating a template for an architecture office. We need to have a drawing scale on most pages so I would like to include one in the master. However, the drawing scale changes according to the drawing on each sheet. Basically, we need to be able