Search Unity

Is there a go to solution for selling physical products from inside unity?

Discussion in 'General Discussion' started by luniac, Jan 29, 2020.

  1. luniac

    luniac

    Joined:
    Jan 12, 2011
    Posts:
    614
    I've looked and looked and all im seeing are false leads...

    I'm looking for something like an in app shopping cart, then when u check out, it opens up paypal or something and u specify Address, make the payment, boom done.

    Is there anything out there that creates a C# integration inside unity that does this?
     
  2. Kiwasi

    Kiwasi

    Joined:
    Dec 5, 2013
    Posts:
    16,860
    General best practice is to redirect to a webpage in the clients browser.
     
  3. Ryiah

    Ryiah

    Joined:
    Oct 11, 2012
    Posts:
    21,147
    Embedding a browser in your app is another possibility. Asset below embeds Chromium but only works on standalone.

    https://assetstore.unity.com/packages/tools/gui/embedded-browser-55459

    That said if it isn't compatible with your requirements then you're going to have to integrate PayPal through its APIs.

    https://developer.paypal.com/docs/api/rest-sdks/
    https://www.braintreepayments.com/products/braintree-direct
     
    Last edited: Jan 29, 2020
    Mauri likes this.
  4. luniac

    luniac

    Joined:
    Jan 12, 2011
    Posts:
    614
    k thanks guys
     
  5. imaginaryhuman

    imaginaryhuman

    Joined:
    Mar 21, 2010
    Posts:
    5,834
    adamgolden and Ryiah like this.
  6. luniac

    luniac

    Joined:
    Jan 12, 2011
    Posts:
    614
    I bought the paypal shop plugin in unity asset store,
    Works on my pc, was able to create a custom paypal transaction and everything.

    Testing on mobile next.
     
    Ryiah likes this.
  7. xxKristian

    xxKristian

    Joined:
    Mar 16, 2020
    Posts:
    2
    @luniac Did u get any solution there? with mobile or WebGL?
     
  8. luniac

    luniac

    Joined:
    Jan 12, 2011
    Posts:
    614
    https://assetstore.unity.com/packages/tools/integration/paypal-shop-sdk-148840

    it works,
    The author is very unresponsive,
    but the code is using Paypal's API using WWW class, and not some crazy custom implementation.

    the only limitation is u can only do 1x paypal transaction at a time.
    I have cart in my app, so for the Checkout process i have to combine all the cart info into 1 big description and checkout as 1x paypal transaction.

    I haven't tested LIVE yet, but on paypal sandbox accounts it works fine.
     
    Andrewsness likes this.
  9. Andrewsness

    Andrewsness

    Joined:
    Aug 27, 2020
    Posts:
    1
    In this case, there is a solution namely in your question. As you know, the world does not stand still and something is constantly being created, for example, websites or useful tools for creating them. One such I can share with you because I believe that it will help you cope with the problem that you have, this tool is called cs-cart and it is incredibly convenient and easy to use, so it is suitable even for a beginner who does not understand anything about it at all. I like its design and simplicity because complex websites have always repelled me with their complexity and inaccessibility, but now there is a replacement for all these tools, fortunately
     
    Last edited: Aug 28, 2020