This repository provides an example of how to integrate Xsolla PayStation and handle payment processing
Video instruction - https://www.youtube.com/watch?v=7kjZN0239SE
See documentation https://developers.xsolla.com/solutions/payments/client-side-token-generation/create-and-set-up-pa-project/
First, create a .env
file from the provided .env.example
template:
cp .env.example .env
Next, fill in the necessary values in the .env file
PROJECT_ID and LOGIN_PROJECT_ID can be found in your Xsolla Publisher Account.
yarn install
yarn run dev
Open http://localhost:5173/