Skip to content

AlexLamond/sendcloud-checkout-php-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sendcloud Dynamic Checkout API - PHP Example Project

This repository hosts a simple PHP app that lists the delivery methods associated with your specified Sendcloud Dynamic Checkout Configuration

Documentation

Sendcloud Dynamic Checkout API Documentation

Environment Variables

To run this project, you will need to add the following environment variables to your keys.env file

API_KEY : Your Sendcloud API Public Key

SECRET_KEY : Your Sendcloud API Private Key

CHECKOUTID : The ID of the Dynamic Checkout Configuration you are testing

Run in Docker

Clone the project

  git clone https://github.com/AlexLamond/sendcloud-checkout-php-example

Go to the project directory and start the server

  docker compose -f "docker-compose.yaml" up -d --build

Launch the server

Run Locally

Clone the project

  git clone https://github.com/AlexLamond/sendcloud-checkout-php-example

Go to the web directory

  cd app

Install the dependancies

  composer install

Run the local PHP server

  php -S 127.0.0.1:8070

Launch the server

Contributing

Contributions are welcome, please add clear descriptions of changes made Pull requests should be committed with semantic naming

About

For the launch of the new Sendcloud Checkout API, I wrote a PHP service to show the checkout methods and their functions

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published