Skip to content

Forum in maintenance, we will back soon 🙂

Connect Streamlit t...
 
Notifications
Clear all

Connect Streamlit to WordPress: Monetize with Custom API Endpoints and Credits System - Building out the wordpress woocommerce store

1 Posts
1 Users
0 Reactions
1 Views
(@atillathehun)
Posts: 1
New Member
Topic starter
 

Hi Hasan and everyone,

I managed to get my streamlit app and credit system in wordpress working 100 percent so when a user logs in with his ID and API Key, then uses the app, the credit system subtracts credits as it should, but now I need some help with regards to building out the wordpress/woocommerce store. How do I productize the credits into woocommerce? For instance, how do I create say a 500 credit product for USD10, then 1000 credit product for USD15 and a 2000 credit product for USD20? Obviously after the user has purchased the credits in the frontend his or her ID, API key generation, and purchase history should be available in a seperate login dashboard within the woocommerce/Wordpress system and automatically increase his credit balance by what he or she just purchased. Would really appreciate a step by step guide achieving this in wordpress with woocommerce and the myCred plugins. I'll build out the frontend and display the products using something like Elementor.

 
Posted : 09/20/2024 9:22 am
Share: