Sophia(sofi) Posted June 11, 2015 Share Posted June 11, 2015 Hi anybody there can help me integrate SMS API to my site. We have bought the necessary SMS from one of our local service provider . But I m very new to prestashop and have no idea how to go ahead with this . How am I going integrate the third party API into my account Link to comment Share on other sites More sharing options...
NemoPS Posted July 3, 2015 Share Posted July 3, 2015 Well unless there is a pre-made module for it already, you need to make one yourself (or pay someone to do it) Link to comment Share on other sites More sharing options...
Sophia(sofi) Posted July 3, 2015 Author Share Posted July 3, 2015 Hi Nemo, thank you for the response. so I did a demo check by setting a php file with the SMS API settings and triggered it whenever the user has done a payment. But Although I don't have a module built for it. I tried it in a simple way like this. Now the scenario is whever the payment is done, through any gateway. Its redirects to Orderdetailcontroller.php and passes all db to the tpl file . So basically it is rediredcted to order_detail.tpl. 1) As per my event which is triggered I am able to send sms whenever a payment is done, without knowing whether the payment is successful / unsuccessful . I want this to be checked. 2) Another is I have called the sms.php file before it goes to the tpl, but I amnot able tp redirect from the php to the tpl . Basically I want it to check the status if payment response is success then only trigger the sms.php , and once it goes there it executes the sms script and revert to the tpl template with all details. Link to comment Share on other sites More sharing options...
Amorino Posted July 25, 2019 Share Posted July 25, 2019 Hello, Up please I have the same difficulty here I have an api url and parameters but I don't know how to make it working to send sms to the admin when they have a new order Link to comment Share on other sites More sharing options...
Amorino Posted July 30, 2019 Share Posted July 30, 2019 I hope someone will help Link to comment Share on other sites More sharing options...
yusufraza Posted August 5, 2019 Share Posted August 5, 2019 On 7/3/2015 at 3:12 PM, Sophia(sofi) said: Hi Nemo, thank you for the response. so I did a demo check by setting a php file with the SMS API settings and triggered it whenever the user has done a payment. But Although I don't have a module built for it. I tried it in a simple way like this. Now the scenario is whever the payment is done, through any gateway. Its redirects to Orderdetailcontroller.php and passes all db to the tpl file . So basically it is rediredcted to order_detail.tpl. 1) As per my event which is triggered I am able to send sms whenever a payment is done, without knowing whether the payment is successful / unsuccessful . I want this to be checked. 2) Another is I have called the sms.php file before it goes to the tpl, but I amnot able tp redirect from the php to the tpl . Basically I want it to check the status if payment response is success then only trigger the sms.php , and once it goes there it executes the sms script and revert to the tpl template with all details. hi sofi, presently am working on it after all test we ll shear you. Link to comment Share on other sites More sharing options...
Amorino Posted August 27, 2019 Share Posted August 27, 2019 Any news please? Link to comment Share on other sites More sharing options...
CedCommerce Team Posted August 27, 2019 Share Posted August 27, 2019 On 6/11/2015 at 1:40 PM, Sophia(sofi) said: Hi anybody there can help me integrate SMS API to my site. We have bought the necessary SMS from one of our local service provider . But I m very new to prestashop and have no idea how to go ahead with this . How am I going integrate the third party API into my account Hello @Amorino, CedCommerce is an eCommerce Integration Provider that integrate the Prestashop store with various marketplaces like Walmart, Ebay, Amazon etc. on the basis of API. If you want we can do it for you! Please contact us for more! Link to comment Share on other sites More sharing options...
Amorino Posted August 27, 2019 Share Posted August 27, 2019 Hello, here is an example of my api any help to make it working in a module ? https://api.MON_FOURNISSEUR.com/v2/send?&apiKey=YOUR_API_KEY&identifier=YOUR_NUMBER&sender=YOUR_SENDER&message=YOUR_MESSAGE Link to comment Share on other sites More sharing options...
CedCommerce Team Posted August 29, 2019 Share Posted August 29, 2019 On 6/11/2015 at 1:40 PM, Sophia(sofi) said: Hi anybody there can help me integrate SMS API to my site. We have bought the necessary SMS from one of our local service provider . But I m very new to prestashop and have no idea how to go ahead with this . How am I going integrate the third party API into my account Also, you can use hooks to get current status as per your need and trigger sms send you can use below hooks as you need to send sms on order success actionPaymentConfirmation This hook trigger when Payment Accepted actionOrderStatusPostUpdate . This hook is triggered when status of order is updated, you can check status of new order after successful payment and then write logic to send sms you will get customer phone details from order and rest api key and sender number from settings you make . Let me know if any other help needed Thanks For working with hooks you can get help from there https://devdocs.prestashop.com/1.7/modules/concepts/hooks/ Link to comment Share on other sites More sharing options...
Amorino Posted February 28, 2020 Share Posted February 28, 2020 Hello Any news please? Link to comment Share on other sites More sharing options...
Naomi_cequen Posted April 18 Share Posted April 18 On 6/11/2015 at 1:40 PM, Sophia(sofi) said: Hi anybody there can help me integrate SMS API to my site. We have bought the necessary SMS from one of our local service provider . But I m very new to prestashop and have no idea how to go ahead with this . How am I going integrate the third party API into my account Hi Sophia, Certainly! Integrating an SMS API into your PrestaShop website can enhance communication with your customers and improve their overall experience. Here's a general outline of how you can go about it: Understand the SMS API Documentation Identify Integration Points Access PrestaShop Backend Modify or Create Modules Implement API Calls Handle Responses Test Integration Deploy to Production Remember to consider factors such as user privacy, opt-in/opt-out mechanisms, and compliance with relevant regulations (e.g., GDPR) when implementing SMS notifications on your website. If you encounter any specific challenges or need further assistance during the integration process, feel free to ask for help! Cequens Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now