Skip to content

A Laravel-based application that integrates with the Shopify PHP library to handle order creation. It includes zip code validation to process only valid orders

Notifications You must be signed in to change notification settings

furqankhalid729/Shopify-Custom-Order-PHP

Repository files navigation

Laravel Shopify Order Processing System

This project integrates Laravel with the Shopify PHP library to handle order creation directly from the Shopify Admin panel. It features a zip code validation system that ensures only orders with valid zip codes are processed.

Key Features:

  • Zip Code Validation: When a user submits an order through the Shopify store, the system validates the zip code against a pre-defined list of valid zip codes.
  • Order Processing: If the zip code is valid, the order is successfully created and processed in Shopify.
  • Error Handling: If the zip code is invalid, the order is canceled, and the user is redirected to an error page with appropriate messaging.
  • This application ensures smooth, automated order processing with robust zip code validation for better customer experience and fraud prevention.

Installation Instructions:

  • Install dependencies using Composer:

    composer install
  • Create .env file and add these fields:

    
    ACCESS_TOKEN="Shopify Acces Token"
    API_KEY="Shopify API KEY"
    SECRET_KEY="Shopify Secret Key"
    APP_HOST_NAME="Application URL"
    SCOPE="Scope of Private Shopify App"
    STORE_URL="Store URL"
            

About

A Laravel-based application that integrates with the Shopify PHP library to handle order creation. It includes zip code validation to process only valid orders

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published