# Eomm Mod Docs Link https://main-modern-checkout-qa.iso.an01.pcf.dcsg.com/swagger-ui/index.html#/ ```javascript= export function getPaygateRequestHeaderDetails(paymentDetails, base64EncodedCookies, accessToken) { if (paymentDetails != undefined && (paymentDetails.cardInfo.cardType === "savedTender" || paymentDetails.cardInfo.saveForLater === true)) < return { 'Content-Type': 'application/json', 'X-Application-Name': 'dsg-ecomm', 'token': base64EncodedCookies, 'x-apikey': ${process.env.APIGEE_API_KEY}*, 'authorization': accessToken } else < return l 'Content-Type': 'application/json', 'X-Application-Name': 'dsg-ecomm', 'token': base64EncodedCookies, 'x-apikey': '${process.env.APIGEE_API_KEY}| } export function getEncodedCookieString) ‹ let cartCookie = getCookieKeyValuePair ('DCSG-CART' ); let checkoutAccessCookie = getCookieKeyValuePair ('DCSG-CHECKOUT-ACCESS'); let CheckoutCookie = getCookieKeyValuePair ('X-DCSG-CHECKOUT' ) ; let failover = getCookieKeyValuePair('failover'): return btoa ('${cartCookie}:${checkoutAccessCookie};${xCheckoutCookie};${failover ? failover : "'}*); } ``` GG Website Using Modern Checkout: https://www.golfgalaxy.com/modern-checkout E-comm manual: https://dcsgcloud.atlassian.net/wiki/spaces/PTC/pages/16263798/Modern+Checkout+Instructions+Manual Checkout API Change Docs: https://dcsgcloud.atlassian.net/wiki/display/PTC/Checkout+Object+UI+Changes https://dcsgcloud.atlassian.net/wiki/display/PTC/Modern+Checkout+Instructions+Manual Checkout NEW Swagger: https://main-modern-checkout.iso.ap01.pcf.dcsg.com/swagger-ui/index.html#/ Paygate: (link does not work. need clarification with Gunupati Audisesha) https://paygate.isosec.an01.pcf.dcsg.com/swagger-ui.html#/Authorization/authorize Gift Cart Iteration: https://miro.com/app/board/o9J_luuwMrw=/ Checkout Flow Overview: Understanding Logic and Proposed high-level approach https://miro.com/welcomeonboard/Z3lYRUV5cFlpM0xSRDU5RktEMDhoOUtUR0M0SFJOTUVRWXp5bFNQRnBnUXNlSkpJRDdLZFEwY3lDdllpR0pKZ3wzNDU4NzY0NTYyNzUxMzc1MTc0fDI=?share_link_id=513316089856 Blocked work due current checkout logic *(deprioritazed by product team)*. Findings in the ticket link. https://dcsgcloud.atlassian.net/browse/CMT-8614?focusedCommentId=1642779