Skip to content

Latest commit

 

History

History
63 lines (43 loc) · 3.79 KB

README.md

File metadata and controls

63 lines (43 loc) · 3.79 KB

#SPHERE.IO Donut Store

This is not a real donut store. This is a free template for subscription ecommerce sites and it's built on top of the APIs of SPHERE.IO, Pactas and Paymill.

⚠️ This template is built based on the SPHERE Play SDK that is now DEPRECATED! ⚠️
If you are looking for a template built using the new SPHERE JVM SDK please have a look at Sunrise instead.

Live demo

Visit a live demo of SPHERE-DONUT store at iwantdonuts.com.

Getting started Build Status

Set it up

Configure it

SPHERE.IO data

  • Point to SPHERE Login or register a new account with SPHERE Signup.
  • Go to Developers -> API Clients to retrieve your project data. API Backend
  • To use your SPHERE.IO project, modify sphere.project, sphere.clientId and sphere.clientSecret in conf/application.conf.

More about the ecommerce PaaS SPHERE.IO at http://sphere.io.

Pactas keys

  • Login to the Pactas sandbox or create a new Pactas sandbox account.
  • Go to Settings -> Pactas Apps -> My Apps and create a new OAuth client. Make sure to select "Confidential" for the client type. PactasAppRegister
  • Copy the newly created client id and secret to pactas.clientId and pactas.clientSecret in conf/application.conf.

More about recurring billing with Pactas at http://www.pactas.com.

PAYMILL keys

  • Register at PAYMILL to get the (test) API keys.
  • Go to PAYMILL Cockpit -> My account -> Settings -> API keys to retrieve your keys.
  • In your Pactas backend, head to Settings -> Payments -> Payment Providers and edit the Paymill settings. Enter your public and private PAYMILL keys and hit 'Save'. PactasPaymill

More information about doing payments with PAYMILL at http://www.paymill.com.

Deploy it

heroku

To run this SPHERE.IO example web shop on heroku just click the button:

Deploy

Develop it

  • Install your favourite IDE (preferably IntelliJ, Eclipse or Netbeans).
  • Generate configuration files for your chosen IDE, following these instructions.
  • Run play command in root project directory.
  • Inside Play Shell, type clean test for compiling and testing it.

This app is a Play Framework app and uses the SPHERE Play SDK.

Have fun!