I have a bot for automated sending of XMR. The bot can send XMR to integrated addresses only, without separate payment ID support.
One customer has given me both a regular address and an old-style long payment ID. I have no feedback with this customer and I can't ask him to generate an integrated address or short payment ID.
I know an integrated address is made from a regular address and short payment ID, but the customer gave me a long payment ID. Is it possible to create an integrated address, which corresponds to a given pair? Otherwise, is it possible to convert the long payment ID to a short payment ID?