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

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

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


Z Store | Android E-Commerce Shop Application with PayPal SDK - 7
* 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 *


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

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


Z Store | Android E-Commerce Shop Application with PayPal SDK - 10 Z Store is a full-working Application for you to sell goods in mobility and get paid through PayPal. There’s also a Cash on delivery option. In both cases, you – as the Admin of the app – and the buyers will receive an order details email, so you’ll be able to know if a purchase has been already paid by PayPal or if the goods will be paid on delivery.
This application has several features such as editing profile, posting and reading feedbacks, Braintree PayPal SDK, image gallery, full-screen product image, and much more.

It’s backend is by Parse Server and it’s hosted on back4appNO MySQL database involved. Parse Server is easy to use, flexible, reliable, open source, based on Node.js and well supported by a large community of developers. back4app is a great BaaS hosting website where you can configure your database and Facebook login features in just a few clicks.
This template includes an extensive HTML Documentation file that explains how to configure the app’s features and database.

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.


Z Store | Android E-Commerce Shop Application with PayPal SDK - 11 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

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

  • Android Java/XML language – Native Android Studio project
  • Android 5.0 and above – Universal
  • Backend with Parse Server hosted on back4app.com
  • Browse products by category or make a search by keywords
  • Add products to your Wishlist
  • Select the size of products before adding them to Cart
  • Read and post feedbacks after buying products
  • Orders list to track shipments and get info
  • Easily insert Categories and Products in the database via the Parse Dashbord or Adminca.com CMS panel
  • Buyer can change his shipping address even in the Cart screen
  • Intro, Login and Sign Up custom screens
  • Terms of Use and Privacy Policy HTML file (GDPR compliant)
  • Facebook login
  • Braintree PayPal SDK integrated
  • Cash on Delivery option
  • Modern, clean UI design
  • Online Documentation
  • PSD icons included in the package


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

  • The latest official version of Android Studio (NO Betas)
  • An Apple Mac or Windows computer, updated to its latest OS version
  • A Google Play Developer Account
  • A verified PayPal® Account
  • A Sandbox and Production Braintree® Account
  • Basic knowledge of Android Studio and Java language
  • An active AdMob account
  • A real device to test the app before submitting it to the Play Store (the Emulators may fail during test)
  • A free account on back4app.com
  • An hosting server with PHP enabled


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

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



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

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


Z Store | Android E-Commerce Shop Application with PayPal SDK - 17 For any support requests, please contact me through my Profile’s Contact Form

Z Store | Android E-Commerce Shop Application with PayPal SDK - 18 Your support is always appreciated, from comments to product’s reviews, so please write us a review here

by
by
by
by
by
by