{"title":"C library process flow","category":"default","creationDate":1776961627,"content":"<p><img alt=\"\" src=\"\/user\/pages\/docs\/03.point-of-sale\/68.classic-library-deprecation\/59.classic-library-integrations\/03.c-library-integration\/02.get-started-with-the-c-library\/01.c-library-process-flow\/noText_c-library-process-flow.png\" \/><\/p>\n<p>The following gives a simplified example of an approved (ICC) transaction with adjusted amount and (accepted) DCC quote:<\/p>\n<ol>\n<li>POS app starts a sale transaction by making a call to the library.<\/li>\n<li>The Library instructs the terminal to start the payment process. The terminal shows the amount and asks for a card, and the customer inserts card.<\/li>\n<li>The Library informs the POS app that the card is inserted.<\/li>\n<li>The Library supplies the POS app with Loyalty data, Global Blue data, and Digital Customer Recognition data.<\/li>\n<li>The POS app responds to the Library with a final (adjusted) amount.<\/li>\n<li>The terminal shows the final amount. The terminal shows a DCC quote and asks the customer to confirm.<\/li>\n<li>The Library informs the POS app that DCC is\u00a0confirmed.<\/li>\n<li>The customer enters their PIN.<\/li>\n<li>The Library informs the POS app that the customer has entered their PIN.<\/li>\n<li>Terminal goes online and validates payment.<\/li>\n<li>The Library supplies the POS app with the\u00a0receipt.<\/li>\n<li>The POS app stores the receipt object.<\/li>\n<li>The POS app confirms that the receipt was printed.<\/li>\n<li>The Library informs the POS app that the payment is approved.<\/li>\n<li>After the tender is complete, the POS prints\/emails the combined order and EMV receipt.<\/li>\n<\/ol>\n<p>The following gives an example of an approved (ICC) transaction with adjusted amount and (accepted) DCC quote, where printing is handled using the txStore:<\/p>\n<ol>\n<li>POS app starts a sale transaction by making a call to the library.<\/li>\n<li>The Library\u00a0instructs the terminal to start the payment process. The terminal shows the amount and asks for a card, and the customer inserts card.<\/li>\n<li>The Library informs the POS app that the card is inserted.<\/li>\n<li>The Library supplies the POS app with Loyalty data, Global Blue data, and Digital Customer Recognition data.<\/li>\n<li>The POS app responds to the Library with a final (adjusted) amount.<\/li>\n<li>The terminal shows the final amount. The terminal shows a DCC quote and asks the customer to confirm.<\/li>\n<li>The Library informs the POS app that DCC is\u00a0confirmed.<\/li>\n<li>The customer enters their PIN.<\/li>\n<li>The Library informs the POS app that the customer has entered their PIN.<\/li>\n<li>Terminal goes online and validates payment.<\/li>\n<li>The Library supplies the POS app with the final state.<\/li>\n<li>The POS app queries txStore for the receipt.<\/li>\n<li>The POS app signals to the system\/staff that goods can be handed out.<\/li>\n<li>The POS app receives the txStore report with the receipt.<\/li>\n<li>The POS app prints\/emails the combined receipt.<\/li>\n<\/ol>","url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/get-started-with-the-c-library\/c-library-process-flow","articleFields":{"id":"28869371","type":"page","_expandable":{"operations":""},"status":"current"},"algolia":{"url":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/get-started-with-the-c-library\/c-library-process-flow","title":"C library process flow","content":"\nThe following gives a simplified example of an approved (ICC) transaction with adjusted amount and (accepted) DCC quote:\n\nPOS app starts a sale transaction by making a call to the library.\nThe Library instructs the terminal to start the payment process. The terminal shows the amount and asks for a card, and the customer inserts card.\nThe Library informs the POS app that the card is inserted.\nThe Library supplies the POS app with Loyalty data, Global Blue data, and Digital Customer Recognition data.\nThe POS app responds to the Library with a final (adjusted) amount.\nThe terminal shows the final amount. The terminal shows a DCC quote and asks the customer to confirm.\nThe Library informs the POS app that DCC is\u00a0confirmed.\nThe customer enters their PIN.\nThe Library informs the POS app that the customer has entered their PIN.\nTerminal goes online and validates payment.\nThe Library supplies the POS app with the\u00a0receipt.\nThe POS app stores the receipt object.\nThe POS app confirms that the receipt was printed.\nThe Library informs the POS app that the payment is approved.\nAfter the tender is complete, the POS prints\/emails the combined order and EMV receipt.\n\nThe following gives an example of an approved (ICC) transaction with adjusted amount and (accepted) DCC quote, where printing is handled using the txStore:\n\nPOS app starts a sale transaction by making a call to the library.\nThe Library\u00a0instructs the terminal to start the payment process. The terminal shows the amount and asks for a card, and the customer inserts card.\nThe Library informs the POS app that the card is inserted.\nThe Library supplies the POS app with Loyalty data, Global Blue data, and Digital Customer Recognition data.\nThe POS app responds to the Library with a final (adjusted) amount.\nThe terminal shows the final amount. The terminal shows a DCC quote and asks the customer to confirm.\nThe Library informs the POS app that DCC is\u00a0confirmed.\nThe customer enters their PIN.\nThe Library informs the POS app that the customer has entered their PIN.\nTerminal goes online and validates payment.\nThe Library supplies the POS app with the final state.\nThe POS app queries txStore for the receipt.\nThe POS app signals to the system\/staff that goods can be handed out.\nThe POS app receives the txStore report with the receipt.\nThe POS app prints\/emails the combined receipt.\n","type":"page","locale":"pt","boost":14,"hierarchy":{"lvl0":"Home","lvl1":"Terminais","lvl2":"Deprecation of classic libraries","lvl3":"Library integrations","lvl4":"C library integration","lvl5":"Get started with the C library","lvl6":"C library process flow"},"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":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration","lvl5":"https:\/\/docs.adyen.com\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/get-started-with-the-c-library","lvl6":"\/pt\/point-of-sale\/classic-library-deprecation\/classic-library-integrations\/c-library-integration\/get-started-with-the-c-library\/c-library-process-flow"},"levels":7,"category":"In-person payments","category_color":"green","tags":["library","process"]},"articleFiles":{"noText_c-library-process-flow.png":"<img alt=\"\" src=\"https:\/\/docs.adyen.com\/user\/pages\/docs\/03.point-of-sale\/68.classic-library-deprecation\/59.classic-library-integrations\/03.c-library-integration\/02.get-started-with-the-c-library\/01.c-library-process-flow\/noText_c-library-process-flow.png\" \/>"}}
