{"title":"Shopper recognition","category":"default","creationDate":1776961627,"content":"<div class=\"sc-notice warning\"><div>\n<p>We are <a href=\"\/pt\/point-of-sale\/classic-library-deprecation\">discontinuing classic libraries<\/a>. If you are currently using a classic library, you need to migrate to <a href=\"\/pt\/point-of-sale\/design-your-integration\/terminal-api\">Terminal API<\/a>.<br \/>\nDo not build a new integration with a classic library.<\/p>\n<\/div><\/div>\n<ol>\n<li>\n<p>Initiate a transaction with the <code>GetAdditionalData<\/code> tender option, and without recurring parameters.<\/p>\n<\/li>\n<li>\n<p>If a recurring contract already exists, the\u00a0Adyen CA retrieves the <code>shopperReference<\/code> and <code>shopperEmail<\/code> from the recurring contracts based on the card number. The card alias is always returned.<\/p>\n<\/li>\n<li>\n<p>The Merchant POS system is provided with these shopper details and can check the merchant database for previous shopper purchases. It can then decide on a discount for the ongoing transaction.\u00a0<\/p>\n<\/li>\n<li>\n<p>The adjusted amount is then provided and the transaction can be completed. The merchant database can be checked on both shopper reference and card alias.<\/p>\n<\/li>\n<\/ol>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/shopper-recognition","articleFields":{"id":"31492777","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/shopper-recognition","title":"Shopper recognition","content":"\nWe are discontinuing classic libraries. If you are currently using a classic library, you need to migrate to Terminal API.\nDo not build a new integration with a classic library.\n\n\n\nInitiate a transaction with the GetAdditionalData tender option, and without recurring parameters.\n\n\nIf a recurring contract already exists, the\u00a0Adyen CA retrieves the shopperReference and shopperEmail from the recurring contracts based on the card number. The card alias is always returned.\n\n\nThe Merchant POS system is provided with these shopper details and can check the merchant database for previous shopper purchases. It can then decide on a discount for the ongoing transaction.\u00a0\n\n\nThe adjusted amount is then provided and the transaction can be completed. The merchant database can be checked on both shopper reference and card alias.\n\n","type":"page","locale":"pt","boost":16,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"Shopper recognition"},"hierarchy_url":{"lvl0":"https:\/\/docs.adyen.com\/pt","lvl1":"https:\/\/docs.adyen.com\/pt\/point-of-sale","lvl2":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation","lvl3":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations","lvl4":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/shopper-recognition"},"levels":5,"category":"In-person payments","category_color":"green","tags":["Shopper","recognition"]}}
