# CFX::REQUEST_PLAYER_COMMERCE_SESSION

- **Hash:** `0x96F93CCE`
- **Namespace:** CFX
- **Runtime name (Lua/JS):** `RequestPlayerCommerceSession`
- **Side:** server (Cfx runtime native)
- **Name status:** official
- **Documentation:** described
- **URL:** https://natives.borderlinerp.com/natives/CFX/REQUEST_PLAYER_COMMERCE_SESSION

## Signature

```c
void REQUEST_PLAYER_COMMERCE_SESSION(char* playerSrc, int skuId);
```

## Parameters

- `playerSrc` (`char*`) — The player handle
- `skuId` (`int`) — The ID of the SKU.

## Returns

`void`

## Description

*Source: Cfx.re native reference*

> This native is deprecated and may be removed in a future version. Use the [Tebex API](https://docs.tebex.io/) instead.

Requests the specified player to buy the passed SKU. This'll pop up a prompt on the client, which upon acceptance
will open the browser prompting further purchase details.

## Usage

### Lua

```lua
RequestPlayerCommerceSession(playerSrc, skuId)

-- always available, by hash
Citizen.InvokeNative(0x96f93cce, playerSrc, skuId)
```

### JavaScript

```js
RequestPlayerCommerceSession(playerSrc, skuId);

// by hash
Citizen.invokeNative('0x96f93cce', playerSrc, skuId);
```

### C#

```csharp
Function.Call((Hash)0x96f93cce, playerSrc, skuId);
```

*Sources: Cfx.re native reference.*
