UWP In app purchase query - win-universal-app

Hopefully some one will know the answer.
I've been the developing a 3d modelling win-10 universal app which is going to include in app purchases.
What I'd preferably like to happen is that the customer can purchase models, textures, new tools etc via the in-app purchase mechanism.
What I need to know does everything have to be included in the original app or does the in app purchase actually add new code,models etc to the original app.?
If so where is the in-app purchase package uploaded to?
I haven't been able to find anything in the documentation that answers this question
Cheers.

Information on user's in-app purchases will be available to you through the
LicenseInformation.ProductLicenses property as a collection of ProductLicense objects. Each object contains basic information about the purchase like ID and expiration date. It means that it cannot contain any data related to your app.
You should include everting in the original app or you may put purchase related data (lets say your models and textures) on a web server and allow the app to download it after purchasing each in-app product. You can also very the receipt of purchases on the web server before providing data to clients.

Related

How To Pass Data From Database Apps To Theme App Extensions Without Metafield?

I am trying to figure out how to pass data between database apps to theme app extensions. In backend, Merchant can create, edit and delete data and it will update database. I also try using Metafield in Product, but when I want to assign metafield to multiple products, it take too much time to save metafield in every product.
How can I pass data from Database to Theme App Extension to update latest data to display on Online Store?
My theme app extension as below:
(https://i.stack.imgur.com/aQ4CD.png)
https://i.stack.imgur.com/UJ8De.png
You have two choices. One, the obvious one, is using Liquid, and rendering your custom data using Liquid, which implies, Metafields. You say that takes too much time, but the reality is, that is by far the best way.
Your second option is to use an App Proxy. It is slower, and prone to network problems obviously, but it does allow your extension to access data from the App's database.
Hope that helps.

How to Log data in a SaaS Cloud Shop

As I now learned, it is not permitted by Shopware to set the permission "log_entry" and therefore use the API endpoint "api/log-entry" to add entries to the Shopware log in a SaaS Instance. :(
Would be the best solution to add an own "Log" Entity for that and provide the data to the shop owner also via an own listing view in the administration?
If so, that would be very bad, because it would be so much easier to just use the log feature Shopware already implemented.
Or is there another easier opportunity for that?
Danny
If you have a custom module you can use the Admin Extension SDK to dispatch a notification from within the iframe. Notifications of the error variant will also be persisted to log_entry.
If your app is subscribing to webhooks and that's when you want to log stuff, you'll probably have to go the route you described or preferably even log on the app server. While it may be inconvenient this measure was likely taken to disencourage using the Shopware log tables because they should be reserved for errors and the likes happening within the system and should not be opened up to apps logging errors happening on their side.

Live Display inventory for Paypal button

I am trying to integrate a PayPal buy button into my website, and I am using the built-in inventory feature. I am trying to find a way to display how many units are left for inventory, as it will be small group tickets I am selling and I want my customers to know if an event is full or not. how would I display that?
The basic HTML hosted buttons generated by PayPal will not display remaining inventory.
To do so, essentially you need your own database that tracks inventory and displays this value on page load. When processing a transaction, before capturing a payment you should verify that there is enough remaining inventory, and decrement the inventory when the capture is successful.
There are third party solutions that implement such functionality (stock/inventory management), if you are unfamiliar with how to program such a site your self. PayPal's partner directory may be a place to start, and you can also search the web.

Making a website but need E-commerce

I want to make a website for my friend who wants to sell clothing items. I can code a website with html, css and basic Javascript. I think this would be great for a portfolio piece. My only concern is I don't know enough programming to build a shopping cart or the checkout. Or any transaction for that matter. I can code forms but only the design of them. Can someone more experienced lend some advice on what I can do? Is there a way I can design my own website but use something else for the e-commerce part? Thanks in advance.
You have 3 options
Develop the whole store yourself
Use a CMS/Plugin to achieve that (like woocommerce for wordpress)
Make your site simple plain html with links to PayPal or similar's
I think you are looking for the last option here. It doesn't come with a lot of options, but would help you sell products and manage prices/expenses/return/etc. in a trusted service. You can create pricing buttons inside paypal for business website, and place them with html on your website. When the person clicks the button, they would be redirected to paypal's website
PayPal for Business
Premier accounts include all the benefits of Personal accounts, as well as our special features. Business accounts allow you to do business under a company or group name, accept all payment types for low fees, and accept payment from customers without PayPal accounts.
You can find more information on how to proceed on PayPal Developer Wiki
cheers :)

Develop a mini web application to exchange books

I must develop a mini web application to exchange/resale school books (more products like school track suits and other used school items later). A tool for the parents of a school to save some money with the school supplies.
I'm an advanced programmer in .NET and I've done some medium enterprise web applications with ASPNET MVC and other .NET technologies, but now I want to be very fast developing and deploying this application, and I thought on a CMS solution with some extensions, but I have not enough time to explore the multiple solutions, so I need help to found a developed solution (or almost) with the following easy requirements:
Every user has its own catalog and the items are public to other users of the application or public for unregistered users too.
User: login/password, basic data
ItemCatalog: basic data (code, name, [photos]). Specific data like year, subject, size, ...
Finally, I've decided to use DRUPAL cms. Defining my own content type (ItemCatalog), assigning permissions to users to Create, Edit own items and query all items. I think that with some extensions I can fit all requirements.

Resources