create wix manual wallet

Cerrado Publicado hace un año Pagado a la entrega
Cerrado Pagado a la entrega

I am looking for someone to create a web-based wallet for me. I have existing code for the wallet that I would like integrated into the project. The wallet should include basic functionality. Ideally, the wallet should be easy-to-use and secure. If you are experienced in creating wallets with these requirements,

To create a manual wallet in Wix, you will need to build a custom solution using Wix Corvid (now known as Velo by Wix), the platform's development framework. The following steps will guide you through the process of creating a manual wallet to add money manually for your users.

1. *Enable Velo by Wix:*

First, enable Velo by Wix in the Wix Editor.

- Go to your Wix site's Editor.

- Click on 'Dev Mode' in the top menu.

- Turn on 'Enable Velo'.

2. *Create a Wallet database:*

You will need a database to store wallet information for each user.

- In the Editor's left panel, click 'Content Manager'.

- Click '+ New Collection'.

- Name the collection 'Wallets' and set the custom permissions for this collection.

- Click 'Create Collection'.

3. *Add fields to the Wallet database:*

In the Wallets collection, add the following fields:

- `userId`: This field will store the user's unique ID. Set the field type to 'Text'.

- `balance`: This field will store the user's wallet balance. Set the field type to 'Number'.

4. *Create a Wallet management page:*

You will need a page to manage wallet balances.

- In the Editor's left panel, click 'Menus & Pages'.

- Click '+ Add Page'.

- Name the page 'Wallet Management' and set its visibility to 'Admin Only' if you want to restrict access to administrators.

5. *Add a dataset to the Wallet management page:*

- In the Editor's left panel, click 'Add'.

- Navigate to 'Database' and click 'Dataset'.

- Drag the dataset to the page.

- In the dataset's settings, connect it to the 'Wallets' collection and set the mode to 'Read & Write'.

6. *Create a user search feature:*

Add a search box and a button to the Wallet management page to search for users by their email address.

- Add an input element for the search box and a button element.

- Assign IDs to both elements (e.g., 'searchEmail' and 'searchButton').

7. *Create a form to update wallet balances:*

Add a form to the Wallet management page with the following elements:

- A text element to display the user's email.

- An input element to enter the new wallet balance.

- A button to update the wallet balance.

- Assign IDs to all elements (e.g., 'userEmail', 'newBalance', and 'updateButton').

8. *Add code to the Wallet management page:*

Now, you need to add some code to make everything work.

javascript

import wixUsers from 'wix-users';

import wixData from 'wix-data';

$[login to view URL](function () {

$w('#searchButton').onClick(async () => {

const email = $w('#searchEmail').value;

const user = await [login to view URL](email);

const userId = [login to view URL];

[login to view URL]('Wallets').eq('userId', userId).find().then(results => {

if ([login to view URL] > 0) {

const wallet = [login to view URL][0];

$w('#userEmail').text = email;

$w('#newBalance').value = [login to view URL];

$w('#walletDataset').setFilter([login to view URL]().eq('userId', userId));

} else {

// No wallet found for user, create one

[login to view URL]('Wallets', {

userId: userId,

balance: 0

}).then(wallet => {

$w('#userEmail').text = email;

$w('#newBalance').value = [login to view URL];

$w('#walletDataset').setFilter([login to view URL]().eq('userId', userId));

});

}

});

});

$w('#updateButton').onClick(() => {

const newBalance = parseFloat($w('#newBalance').value);

if (!isNaN(newBalance)) {

$w('#walletDataset').save();

} else {

// Show an error message if the value is not a number

}

});

});

This code will search for users by their email address, display their current wallet balance, and update the balance when the 'Update' button is clicked.

Now, you have a manual wallet system set up in Wix. You can add money manually to users' wallets through the Wallet management page.

Diseño de sitios web HTML PHP Diseño gráfico Comercio electrónico

Nº del proyecto: #36343422

Sobre el proyecto

23 propuestas Proyecto remoto Activo hace un año

23 freelancers están ofertando un promedio de $54 por este trabajo

sharmarahulraman

Hi I'm happy to discuss this project so we can clear up all the flow for you to get started as soon as possible. Thanks

$100 USD en 5 días
(144 comentarios)
6.9
AmeliaArty

Hello Tamim H. I have gone through your project brief for create wix manual wallet & feel confident to design a creative designs. Please check My Portfolio: https://www.freelancer.com/u/AmeliaArty Expect the followi Más

$100 USD en 3 días
(98 comentarios)
6.4
sharmeenmaknojia

Hi. After going through your project details about create wix manual wallet and I will provide you a high-quality work I have done similar projects in past and I am a graphic artist with 6 years of professional experi Más

$30 USD en 1 día
(32 comentarios)
4.8
dealzdekho

Hello Tamim H., I have reviewed the details of your project and I am confident that I possess the necessary skills and experience to complete it to your satisfaction. I am excited about the opportunity to work with yo Más

$20 USD en 7 días
(19 comentarios)
4.2
Creaditech

Hi We're thrilled to have stumbled upon your project brief and can't wait to turn your vision into reality! Our team of web developers is composed of seasoned experts with over 7 years of experience, delivering high-q Más

$200 USD en 3 días
(11 comentarios)
4.1
kanwarrajani

Respective Client, Have a great day ahead ! I had gone through your requirements on job post. I am glad to tell you that I have done same job in my past. It has mobile app too available on android , ios , huawei and Más

$20 USD en 7 días
(11 comentarios)
4.0
sairusk

Job Title: create wix manual wallet I'm cerified in webdesigning and development by freelancer.com.I'm also certified in wordpress , Woocommerce , Bidcommerce designing and development by freelancer.com. You can als Más

$10 USD en 5 días
(15 comentarios)
3.4
Dhawan8787

I can create a secure and easy-to-use web-based wallet for you by integrating your existing code using Wix Corvid. Let me know if you're interested and we can discuss further details.

$100 USD en 7 días
(1 comentario)
2.4
thebrandchapter

Hello there, Greetings from The Brand Chapter! We saw your posting on Freelancer. We seem to be the perfect match for your requirements. We are a digital marketing firm with 5 years of operations and 50+ active client Más

$15 USD en 7 días
(1 comentario)
1.6
UBtrade

Our team will create a visually appealing and effective website that communicates your brand's values and resonates with your target audience. We'll provide you with three initial concepts, make revisions based on your Más

$50 USD en 1 día
(0 comentarios)
0.0
sandeepnawhal

To start, we will need to define the requirements and functionalities of the manual wallet, such as the ability to add funds manually, view balance, transaction history, and withdrawal options. Once we have a clear und Más

$20 USD en 14 días
(0 comentarios)
0.0
samguna

Dear Prospective Client, I am writing to propose my services for the creation of a Wix manual wallet on your website. As a skilled professional with experience in web development, I am confident that I can provide you Más

$45 USD en 7 días
(0 comentarios)
0.0