---
page_title: 4. Rendering the Checkout Screen
product: EC Headless
platform: Capacitor
page_source: https://juspay.io/in/docs/ec-headless/capacitor/base-sdk-integration/rendering-the-checkout-screen
llms_txt: https://juspay.io/in/docs/llms.txt
product_llms_txt: https://juspay.io/in/docs/ec-headless/llms.txt
---


## 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/capacitor/payloads/displaying-payment-options) page.




### 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: -

#### Capacitor Code Snippet:

```capacitor
{"success":false,"message":"Failed to fetch snippet"}
```



### 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/capacitor/payloads/displaying-payment-options) page.



---

## Complete Code Reference

The following code files are referenced in the steps above:

### payment_page.js

```
{"success":false,"message":"Failed to fetch snippet"}
```


---

## See Also

- [3. Initialize SDK](https://juspay.io/in/docs/ec-headless/capacitor/base-sdk-integration/initiating-sdk)
- [5. Making a Payment](https://juspay.io/in/docs/ec-headless/capacitor/base-sdk-integration/making-a-payment)
