---
page_source: https://juspay.io/in/docs/ec-headless/cordova/base-sdk-integration/rendering-the-checkout-screen
page_title: 4. Rendering the Checkout Screen
---


## 4. Rendering the Checkout Screen



Once the checkout page is opened, your users can proceed with the transactions. Rendering the checkout page requires multiple `process` SDK calls from the merchant application.


### Step 4.1. Process Payloads


Each process SDK call takes a specific JSON Object as argument. This argument is also known as process payload. Sample payloads for rendering the checkout screen can be found under the **category -** _**Displaying payment options**_  on the [payload samples](https://docs.juspay.in/ec-headless/cordova/payloads/displaying-payment-options) page.



#### Code Snippets: -

#### Javascript Code Snippet:

```javascript
hyperSDKRef.process(JSON.stringify(completePayload));
```



### Step 4.2. Process SDK Calls for Rendering Checkout Page


Rendering the checkout page requires the following process SDK calls from the merchant application -

1. Get Payment Methods
2. Card - List Saved
3. UPI - Get Available Apps
4. Wallet - Refresh All
5. Eligibility - Wallets
6. Is Device Ready

> **Warning**
> * All these process SDK calls can be made in parallel
> * Process SDK call is to be made on the same instance of HyperService using which initiate API was triggered. It should not be called on an HyperSDK instance which has not been initiated.





#### Code Snippets: -

#### Javascript Code Snippet:

```javascript
hyperSDKRef.process(JSON.stringify(completePayload));
```



### Step 4.3. Consume SDK Response


Parse and consume the SDK response for the process SDK calls listed in step 4.2. The SDK responds with the following respectively -

1. Available Payment methods
2. User Stored Cards
3. List of Active UPI Apps
4. Updated Wallet Balances
5. Eligible Paylater/Postpaid wallets
6. Eligibility for in-app flow in PhonePe & GooglePay

Sample response for rendering the checkout screen can be found under the **category -** _**Displaying payment options**_  on the [payload samples](https://docs.juspay.in/ec-headless/cordova/payloads/displaying-payment-options) page.



#### Code Snippets: -

#### Javascript Code Snippet:

```javascript
hyperSDKRef.process(JSON.stringify(completePayload));
```
