Mini E-commerce android application that uses PayPal gateway with Node.js backend to verify payments and Firebase as database to store products , sales and payment information .
These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system.
npm install
this command will install the required libraries that will be used for our Node.js back-end .
assuming you already created firebase project :-
go to PayPal developer :-
open index.js file and do the necessary changes .
first step is to run our server locally so navigate to server folder and execute
node index.js
open Android Studio and import the Android project then go to strings.xml and Config.java file and do the nessecary changes .
add google-services.json file of your firebase project to the android app folder .
when you come to the part where u should enter paypal login info to complete the buying process , login with the personl account previously created for testing then login to paypal sandbox with the Business account to see the transactions .
That's it you did it :)
Copyright 2017 Omar Ali
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.