Quartz platform using PayPal for marketplaces and platforms.
- join our community forum
- connect at our developers' chat
To run and install this application you need:
- node and npm
- A PayPal account
- A wallet able to receive Interledger payments. Such as:
- A Quartz account. Now we can only create accounts manually. Stay tuned for when Quartz registrations open.
- An account in some service like Uphold
First, clone the repo. Then, to install, run:
npm install
There are three ways of configuring this app, as we describe bellow. Each of them has more priority than the following. For instance, using the properties of the react component would override the QuartzSettings data element and the configuration file options.
The App component receives PayPal_email
and ILP_wallet
as properties. Thus, you can configure the app by specifying them in your html as:
<App PayPal_email="email@example.com" ILP_wallet="ILPAdrress">
The app will alse read the data of an HTML data element with id "QuartzOASettings" and the following data parameters:
<data id="QuartzOASettings"
data-paypal_email="email@example.com"
data-ilp_wallet="ILPAdrress">
</data>
Enter src/components
and copy config.json.example
in config.json
and set the email associated to the PayPal account in PayPal_email
and the wallet that can receive Interledger payments in ILP_wallet
.
cp src/components/config.json.example src/components/config.json
You must set your accounts in the copied document. Make sure the PayPal account can receive donations and the ILP account can receive payments.
Once everything is set up, the application can be run.
To run the web app, run:
npm start
A browser window should then open, with our web app working and connected to PayPal and Interledger.