# Modify nodes

To continue the update, you next modify the Update Next State to Authorize Payment (Assignment) and Get Checkout Session After Summary (Get Records) nodes in the synchronous checkout flow.

## Modify the Update Next State to Authorize Payment (Assignment) node&#x20;

Use the following steps to modify this node for a synchronous checkout flow:

1. Open the Assignment node Update Next State to Authorize Payment.
2. Click **Add Assignment**.
3. Enter the following details under the new assignment sections as below:&#x20;
   * **Variable** – `{!skipCurrentPage}`
   * **Operator** – Equals
   * **Value** – `{!$GlobalConstant.False}`&#x20;
4. Click **Done** when you have finished.

<figure><img src="https://474794349-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2FlKR9Leh9OBazVU7KgFio%2Fuploads%2F9LE7oeUyFFLi8X9NUu9G%2FStep%2018%20modify%20two%20nodes.png?alt=media&#x26;token=fd020f94-8ac2-4748-95ce-dd5e4ab24c12" alt=""><figcaption></figcaption></figure>

## Modify the Get Checkout Session After Summary (Get Records) node

Use the following steps to modify this node for a synchronous checkout flow:

1. Open the Get Checkout Session After Summary (Get Records) node.
2. In the Select Cart Checkout Session Fields to Store in Variable section of the screen, click **Add Field**.
3. &#x20;Enter`OrderId` as the Field name.
4. Click Done

## &#x20;
