Skip to content

codecodac/shopify-apitosms

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SelfHosted SMS for Shopify

Version: 1.0

Report a Bug

Send SMS notifications to Shopify customers using your own SelfHosted SMS server.

Features

  • Order status SMS notifications
  • Shipping confirmation with tracking
  • Abandoned cart reminders
  • Custom SMS templates with placeholders
  • SMS delivery logs
  • Webhook-based integration

Installation

1. Deploy the Integration

Upload this folder to your web server and configure the settings.

2. Configure Settings

Edit config.php with your settings:

return [
    'api_url' => 'https://your-apitosms-server.com',
    'api_token' => 'your-api-token',
    'shop_domain' => 'your-shop.myshopify.com',
    'shopify_api_key' => 'your-shopify-api-key',
    'shopify_api_secret' => 'your-shopify-api-secret',
];

3. Set Up Webhooks

In your Shopify Admin, go to Settings > Notifications > Webhooks and add:

  • orders/create -> https://your-server.com/shopify-apitosms/webhook.php?topic=orders/create
  • orders/updated -> https://your-server.com/shopify-apitosms/webhook.php?topic=orders/updated
  • orders/fulfilled -> https://your-server.com/shopify-apitosms/webhook.php?topic=orders/fulfilled
  • fulfillments/create -> https://your-server.com/shopify-apitosms/webhook.php?topic=fulfillments/create

Message Templates

Available placeholders:

  • {customer_name} - Customer's first name
  • {customer_full_name} - Customer's full name
  • {order_id} - Order number
  • {order_total} - Order total with currency
  • {shop_name} - Your shop name
  • {tracking_number} - Shipment tracking number
  • {tracking_url} - Shipment tracking URL
  • {order_status} - Current order status

Requirements

  • PHP 7.4+
  • cURL extension
  • SSL certificate (required for Shopify webhooks)

Support

For support, visit https://apitosms.com

License

GPL v2 or later

About

Shopify plugin for apitosms.com integration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages