Code

Z Store | Android E-Commerce Shop Application with PayPal SDK

Z Store | Android E-Commerce Shop Application with PayPal SDK

Z Store | Android E-Commerce Shop Application with PayPal SDK - 1 Z Store | Android E-Commerce Shop Application with PayPal SDK - 2 Z Store | Android E-Commerce Shop Application with PayPal SDK - 3 Z Store | Android E-Commerce Shop Application with PayPal SDK - 4

Overview

Z Store is a great solution for those who need to quickly build a mobile e-commerce app, showcase and sell goods with a well-designed UI.


Read Mobile and Web tutorials online

Download the demo APK of ZStore
* In case your device will show a Toast message saying “Can’t open file”, just download the Astro File Manager app here: https://play.google.com/store/apps/details?id=com.metago.astro&hl=en
and use it to install the APK. This may happen because of new Android Security options *


iOS version of ZStore template

Online documentation of ZStore app


Z Store | Android E-Commerce Shop Application with PayPal SDK - 5 XSApp is a HTML/CSS theme to create your awesome App Landing Page in no time. Clean, modern design, different header colors, easy to customize.
Z Store | Android E-Commerce Shop Application with PayPal SDK - 6
Z Store | Android E-Commerce Shop Application with PayPal SDK - 7
Z Store | Android E-Commerce Shop Application with PayPal SDK - 8



Z Store | Android E-Commerce Shop Application with PayPal SDK - 9 VintyMag is a complete Magazine/Newspaper Wordpress Theme where you can showcase your blog news in an old-fashioned look. It is easy to install and configure, and it has got 4 different Home and Categories layouts.
Z Store | Android E-Commerce Shop Application with PayPal SDK - 10
Z Store | Android E-Commerce Shop Application with PayPal SDK - 11
Z Store | Android E-Commerce Shop Application with PayPal SDK - 12



Description

ZStore is a full-working template (UI + Source Code) for you to sell goods and get paid through PayPal. People can also purchase products with a cash-on-delivery option. In both cases, the Admin and the buyers will receive an email listing the order details, so the Admin will be able to know if a purchase has been already paid by PayPal or if the goods will be paid on delivery.

Users can edit their profile – username, name, email and shipping address. They can post feedbacks after they have bought a product, or read the existing ones before making a purchase.

The Product screen has a nice full-screen design that shows the first picture, along with the Cart, Gallery, Feedbacks and Wishlist buttons.

The design is clean, code is commented and project folders and files are well organized in the package.

• Check out the Features section below to see what this app does.
• Read the online Documentation to learn how to configure the template’s features and the database (Parse Dashboard).
• Keep an eye to the Change Log on the bottom of this page when an update gets released.

Backend

It’s backend is by Parse Server and it’s hosted on back4appNO MySQL database involved.
Parse Server is flexible, reliable, open source, based on Node.js and well supported by a large community of developers, and back4app is a great BaaS hosting website where you can configure your database, Push Notifications and other features in just a few clicks.

If you want to see a preview of the structure of the demo database, and also clone it in just a click, CLICK HERE!

If you want to use a nice Admin Panel to manage data of your database instead of the Parse Dashboard, sign up for a FOREVER FREE account on Adminca.com and watch this video to see how to create a Panel for your Parse App.


Extended License

As per Envato Marketplace Terms, the Extended License applies to all applications that charge money to their users. In case your users will not be charged of money through your own version of this app, you can still buy it under a Regular license.
Therefore, you must buy this template under and Extended License if your plans are either one or more of the following:
  • Add In-App Purchase or any other Payment Gateway in the source code and publish the app for free on the App/Play Store – NOTE: If you want to publish your own version of this application for FREE only, then you can still buy it under a Regular License.
  • Publish this application as a PAID app on the App Store.
  • Transfer the live app of your own verison of this app on the App/Play Store to another owner by selling your ownership on flippa.com or similar marketplaces.
IMPORTANT: You are NOT allowed to sell or share the original source code of this template anywhere due to copyright infringement

Features

Java/XML language – Native Android Studio project – Edit the template as you wish with the power of Android Studio and Java code.

Android 5.0 and above, Universal – Run your app on about 80% of Android devices

Backend with Parse Server hosted on back4app – Built on a great and reliable BaaS that offers many features with just a few clicks, it’s super easy to create and set up a database on back4app, as well as edit the Parse Server’s SDK code.

Featured products, Categories, Search field – The Home screen shows a horizontal section of Featured products and a vertical list of Categories. On the very top of the page, you can find the search text field to look for items by keywords.

Wishlist – Users can save favorite products into a whishlist and decide to purchase or delete them later.

Product sizes – People must choose a size before adding products to Cart (S, M, L, XL).

Feedbacks for items – Reviews are important for an e-commerce store, so rate and read feedbacks for each product.

Orders history – Keep a list of your orders, track shipments and get infoabout them (date, quantity, total amount, delivery, etc.).

Easily insert Categories and Products – The Admin can use either the Parse Dashboard or the Adminca CMS panel to insert Products and Categories and make them visible in the app.

Buyer’s shipping address – Users can edit the their shipping address either in their Accounr screen, or before placing an order in the Cart sreen.

Terms of Use and Privacy Policy HTML file (GDPR compliant) – The template contains a ‘tou.html’ file the Admin can edit to display his Terms of Service to the app’s folks.

Push Notifications – With the aid of Parse Push, users will receive notifications for likes and new answers

Facebook login – Quickly log in or sign up with Facebook from the Intro screen.

Braintree PayPal® SDK integrated – With the power of PayPal®, people can securily buy items in the application, the Admin will receive the money in his PP account.

Cash on Delivery option – This option offers the possibility to still confirm an order and pay for goods on delivery.

Push Notifications – With the aid of Parse Push, the Admin can send custom messages to all registered users.

Modern, clean design – The UI has been carefully crafted to offer the best user experience to your clients.

Online Documentation – Read the extensive guide of this template to be able to configure it properly.

PSD icons included in the package – App and buttons icons are stored into a PSD folder, for easy image replacement.


Requirements

The latest official version of Android Studio – Beta versions of an IDE usually never work 100% properly, and the code of this app has been written using the latest official version of AS (download it here. You must use it and avoid Betas.

An Apple Mac or Windows computer, updated to its latest OS version – It’s always good to keep your computer’s OS up to date, technology keeps growing and I follow its changes, as well as updating my templates every time a new OS gets released.

A Google Play Developer Account – This is needed for you to publish apps on the Play Store. You can still edit and test this template on Android Studio without that account though.

Basic knowledge of Android Studio and Java/XML language – You don’t need to be a skilled or professional developer, anyway it’s recommended to have at least the basic knowledge of what you’re dealing with, in order to be able to customize this template and publish your applications on the Play Store.

A free account on back4app.com – You can create and edit your Parse App and database, get the necessary keys for configurations and test this template for free. It has limitations though, so please check the Pricing table and consider subscribing for a paid plan after your app got published on the App Store.

A real device to test the app before submitting it to the Play Store – Emulators may fail during tests, they are not reliable as a real device is, so I strongly recommend you to always run this application on a real phone/tablet. This is also suggested by Google’s official Guidelines.

A verified PayPal® Account – Take advantage of the PP features to get paid through this application.

A Sandbox and Production Braintree® Account – Since 2019, the PayPal SDK moved into Braintree® to offer a better payment service. You can create the accounts here:
Sandbox: https://sandbox.braintreegateway.com/
Production: https://www.braintreegateway.com/

A hosting server with PHP 5.6 or higher enabled – GoDaddy is a good choice to create your domain and hosting and upload the PHP file included in the package. NO 000webhost.com or other free hosting providers!

Change Log

May 7, 2020

- Updated to Android Studio 3.6.3
- Added this line side the <application> tag in the 'Manifest.xml' file:
    android:requestLegacyExternalStorage="true" 
This fixes the issue on taking pictures with the camera on Android 10 devices

March 10, 2020

- Updated to Android Studio 3.6.1
- Added this line of code on the top of the onCreate() function in all Java Activity files:
@SuppressLint("SourceLockedOrientationActivity")

December 23, 2019

- Updated the 'main.js' file to compile with the latest Parse Server 3.x version | Remember to update the Parse Server version of your app on back4app from the 'Manage Parse Server' section!

December 17, 2019

- Updated the 'main.js' file to compile with the latest Parse Server 3.x version.
** NOTE: IF THIS IS AN UPDATE FOR YOU, PLEASE DO THE FOLLOWING: **
1. Update your Parse Server to the latest version (currently it's 3.9.0) from the 'Manage Parse Server' section of your Parse App on back4app- unless you already have the latest version selected.
2. Upload the updated 'main.js' file into the 'Cloud Code Function' section of your app on back4app, overwrite the existing one and Deploy it.

December 10, 2019

- Updated to Android Studio 3.5.3
- Updated:
    compileSdkVersion 29  
    targetSdkVersion 29
in the 'build.gradle' file.

August 22, 2019

- Updated to Android Studio 3.5

July 17, 2019

- Updated to Android Studio 3.4.2

June 20, 2019

- Installed 'Android 9.0 (Pie)' Platform form the Android SDK Manager (you should do the same in your Android Studio in case you haven't done that yet, and the perform the updates below).
- Edited build.gradle (Module: app) file by setting the 'compileSdkVersion and 'targetSdkVersion' into 28
- Did: Refractor -> Migrate to AndroidX, so after doing the suggested Refractor, some dependencies changed in the build.gradle (Module: app) file, compare your old files with the updated ones.
- Updated some dependencies in build.gradle(Module: app) file, compare your old build.gradle file with the updated one to perform updates
- Replaced:
    import com.parse.ParseFacebookUtils;
with:
    import com.parse.facebook.ParseFacebookUtils;
in Configurations.java and Intro.java

June 7, 2019

- Updated to Android Studio 3.4.1

May 7, 2019

- Updated to Android Studio 3.4
- Updated some dependencies in build.gradle(Modiule:app) to their latest versions

February 22, 2019

- Fixed a bug on Push notifications by editing the following files:
    build.gradle (Module:app)
    Manifest.xml
    Home.java -> 'onStart()' function.

- Updated the 'main.js' file, so you have to upload it again into your own Cloud Code Functions section on back4app and overwrite the existing one, then click the DEPLOY button.

** In order to update your app, compare the updated files mentioned above with your own ones and perform the changes accordingly **  

February 20, 2019

** THE PAYPAL SDK IS NOW DEPRECATED, SO I HAD TO SWITCH TO BRAINTREE SDK**
- Removed the PayPal SDK since it's deprecated, so I've added the Braintree SDK in build.gradle:
    implementation 'com.braintreepayments.api:braintree:2.+'

- Added the "com.braintreepayments.api.BraintreeBrowserSwitchActivity" <activity> on the bottom of the Manifest.xml file
- Implemented Braintree PayPal Checkout payment by editing the following files:
    Cart.java
    Configurations.java

So please compare your old files with those ones and perform changes.
- Updated the online Documentation in order to explain how to set up a PayPal and Braintree accounts

February 8, 2019

- Updated to Android Studio 3.3.1
- Updated the 'build.gradle(Project:)' and 'build.gradle(Module:app)' files 
[compare the updated code with your old code and perform changes accordingly]

January 22, 2019

- Updated to Android Studio 3.3

January 3, 2019

- Updated the Facebook Android SDK and ParseFacebookUtils versions in build.gradle:
    implementation 'com.facebook.android:facebook-android-sdk:4.37.0'
    implementation 'com.parse:parsefacebookutils-v4-android:1.10.7@aar'

October 24 2018

- Added Cash on Delivery option for orders in Cart.java
- Added an 'orderCompleteLayout' RealtiveLayout in the cart.xml file (it replaces the order confirmation's Alert Dialog) 
- Edited the Cart.java file to show the 'orderCompleteLayout' and process orders:
   void processOrder() {
      ...
   }

- Added the total amount of an order and payment info in the email that both Admin and Buyer will get after purchase
- Added this line of code in the onCreate() function of all the .java files, in order to change the status bar color:
     // Change StatusBar color
     getWindow().setStatusBarColor(getResources().getColor(R.color.main_color));

- Removed all the "Configurations." instances in all the .java files, since I've imported them in the 'import' list on the top of the .java files

October 19, 2018

- Updated to Android Studio 3.2.1, build.gradle's dependencies included

October 15, 2018

- First release, Android 5.0 and above
- Native Android Studio project, Java, Pasre Server, Braintree PayPal SDK



Support

For any support requests, please contact me through my Profile’s Contact Form

Rate my Work

Your support is always greatly appreciated, from comments to product’s reviews, so please click here to rate your purchases!



Flag Counter

by
by
by
by
by
by