I Want to integrate sms module on checkoutAdding Magento coupon code in (last) step of onepage checkoutMagento code or extension to add coupon code in last step of onestep checkoutError on sidebar's checkout button URL with IWD OPC extensionHow can i send SMS when only customer register success Magento ver. 1.9.2.2?Magento 1.9 Continue Button not moving to next section in onepage checkout pageMagento 2 - How to Override Checkout LayoutProcessorProduct back Stock Alert to customer through SMSSMS not Sending to Customers from Observer.phpPass the values to rest api from magento2 checkout pagemagento 1 checkout page gives error “checkout is not defined” in console prototype.js::5598
Is "Busen" just the area between the breasts?
LWC - Local Dev - How can I run the local server on HTTPS?
Should an enameled cast iron pan be seasoned?
Do I need a shock-proof watch for cycling?
I don't like coffee, neither beer. How to politely work my way around that in a business situation?
Count All Possible Unique Combinations of Letters in a Word
Why do all the teams that I have worked with always finish a sprint without completion of all the stories?
How would modern naval warfare have to have developed differently for battleships to still be relevant in the 21st century?
How does a blind passenger not die, if driver becomes unconscious
Android Material and appcompat Manifest merger failed in react-native or ExpoKit
career in signal processing
Ruining the family name
Why does using different ArrayList constructors cause a different growth rate of the internal array?
How can I get my left hand to sound legato when I'm leaping?
Greeting with "Ho"
How large would a mega structure have to be to host 1 billion people indefinitely?
What does it mean to not be able to take the derivative of a function multiple times?
Did the CIA blow up a Siberian pipeline in 1982?
DBCC checkdb on tempdb
Primes and SemiPrimes in Binary
Why is it easier to balance a non-moving bike standing up than sitting down?
Cut the gold chain
Story about hunting giant lizards for hides on privately owned planet
Similarity score: Can Sklearn SVR predict values greater than 1 and less than 0?
I Want to integrate sms module on checkout
Adding Magento coupon code in (last) step of onepage checkoutMagento code or extension to add coupon code in last step of onestep checkoutError on sidebar's checkout button URL with IWD OPC extensionHow can i send SMS when only customer register success Magento ver. 1.9.2.2?Magento 1.9 Continue Button not moving to next section in onepage checkout pageMagento 2 - How to Override Checkout LayoutProcessorProduct back Stock Alert to customer through SMSSMS not Sending to Customers from Observer.phpPass the values to rest api from magento2 checkout pagemagento 1 checkout page gives error “checkout is not defined” in console prototype.js::5598
.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;
I have purchased my desired sms API and i have also written the code for that just need to invoke my code on checkout button how can you help me.
Looking for a quick and easy solution
Thanks
magento-1.9 onepage-checkout custom
add a comment |
I have purchased my desired sms API and i have also written the code for that just need to invoke my code on checkout button how can you help me.
Looking for a quick and easy solution
Thanks
magento-1.9 onepage-checkout custom
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13
add a comment |
I have purchased my desired sms API and i have also written the code for that just need to invoke my code on checkout button how can you help me.
Looking for a quick and easy solution
Thanks
magento-1.9 onepage-checkout custom
I have purchased my desired sms API and i have also written the code for that just need to invoke my code on checkout button how can you help me.
Looking for a quick and easy solution
Thanks
magento-1.9 onepage-checkout custom
magento-1.9 onepage-checkout custom
asked Sep 20 '16 at 5:26
EtutsEtuts
296
296
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13
add a comment |
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13
add a comment |
4 Answers
4
active
oldest
votes
In app/code/My/Module/etc/frontend/events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="MyModuleObserverMyObserver" />
</event>
In app/code/My/Module/Observer/MyObserver.php
<?php
namespace MyModuleObserver;
use MagentoFrameworkEventObserverInterface;
class MyObserver implements ObserverInterface
public function execute(MagentoFrameworkEventObserver $observer)
//Write your sms code here $order = $observer->getEvent()->getOrder(); //Get order from event observer
$order_id = $order->getID(); //Get order ID from order
$order_number = $order->getIncrementId(); //Get order increment ID from order
$customerId = $order->getCustomerId(); //Get customer ID from order
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customer = $objectManager->create('MagentoCustomerModelCustomer')->load($customerId);
$name = $customer->getName(); //customer name
?>
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
add a comment |
Isn't it safer to do what you have to do after success ordering or even after receiving payment?
I mean in success.phtml or with an observer when order status changes to i.e. Invoiced.
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
add a comment |
Simply use this extension http://ext.topmage.com/Hacky_Smsnotifications.html to trigger SMS while place order, invoice, shipment etc. Its free and opensource and easy to customize (add new events for SMS).
You will only needed API details from SMS subscribing company.
add a comment |
I have create a module for telenor sms api.
It will send an sms to the customer when place an order.
you can Download the module Here
add a comment |
Your Answer
StackExchange.ready(function()
var channelOptions =
tags: "".split(" "),
id: "479"
;
initTagRenderer("".split(" "), "".split(" "), channelOptions);
StackExchange.using("externalEditor", function()
// Have to fire editor after snippets, if snippets enabled
if (StackExchange.settings.snippets.snippetsEnabled)
StackExchange.using("snippets", function()
createEditor();
);
else
createEditor();
);
function createEditor()
StackExchange.prepareEditor(
heartbeatType: 'answer',
autoActivateHeartbeat: false,
convertImagesToLinks: false,
noModals: true,
showLowRepImageUploadWarning: true,
reputationToPostImages: null,
bindNavPrevention: true,
postfix: "",
imageUploader:
brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
allowUrls: true
,
onDemand: true,
discardSelector: ".discard-answer"
,immediatelyShowMarkdownHelp:true
);
);
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f137153%2fi-want-to-integrate-sms-module-on-checkout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
4 Answers
4
active
oldest
votes
4 Answers
4
active
oldest
votes
active
oldest
votes
active
oldest
votes
In app/code/My/Module/etc/frontend/events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="MyModuleObserverMyObserver" />
</event>
In app/code/My/Module/Observer/MyObserver.php
<?php
namespace MyModuleObserver;
use MagentoFrameworkEventObserverInterface;
class MyObserver implements ObserverInterface
public function execute(MagentoFrameworkEventObserver $observer)
//Write your sms code here $order = $observer->getEvent()->getOrder(); //Get order from event observer
$order_id = $order->getID(); //Get order ID from order
$order_number = $order->getIncrementId(); //Get order increment ID from order
$customerId = $order->getCustomerId(); //Get customer ID from order
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customer = $objectManager->create('MagentoCustomerModelCustomer')->load($customerId);
$name = $customer->getName(); //customer name
?>
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
add a comment |
In app/code/My/Module/etc/frontend/events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="MyModuleObserverMyObserver" />
</event>
In app/code/My/Module/Observer/MyObserver.php
<?php
namespace MyModuleObserver;
use MagentoFrameworkEventObserverInterface;
class MyObserver implements ObserverInterface
public function execute(MagentoFrameworkEventObserver $observer)
//Write your sms code here $order = $observer->getEvent()->getOrder(); //Get order from event observer
$order_id = $order->getID(); //Get order ID from order
$order_number = $order->getIncrementId(); //Get order increment ID from order
$customerId = $order->getCustomerId(); //Get customer ID from order
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customer = $objectManager->create('MagentoCustomerModelCustomer')->load($customerId);
$name = $customer->getName(); //customer name
?>
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
add a comment |
In app/code/My/Module/etc/frontend/events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="MyModuleObserverMyObserver" />
</event>
In app/code/My/Module/Observer/MyObserver.php
<?php
namespace MyModuleObserver;
use MagentoFrameworkEventObserverInterface;
class MyObserver implements ObserverInterface
public function execute(MagentoFrameworkEventObserver $observer)
//Write your sms code here $order = $observer->getEvent()->getOrder(); //Get order from event observer
$order_id = $order->getID(); //Get order ID from order
$order_number = $order->getIncrementId(); //Get order increment ID from order
$customerId = $order->getCustomerId(); //Get customer ID from order
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customer = $objectManager->create('MagentoCustomerModelCustomer')->load($customerId);
$name = $customer->getName(); //customer name
?>
In app/code/My/Module/etc/frontend/events.xml:
<config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Event/etc/events.xsd">
<event name="checkout_onepage_controller_success_action">
<observer name="mymodule_controller_success_action" instance="MyModuleObserverMyObserver" />
</event>
In app/code/My/Module/Observer/MyObserver.php
<?php
namespace MyModuleObserver;
use MagentoFrameworkEventObserverInterface;
class MyObserver implements ObserverInterface
public function execute(MagentoFrameworkEventObserver $observer)
//Write your sms code here $order = $observer->getEvent()->getOrder(); //Get order from event observer
$order_id = $order->getID(); //Get order ID from order
$order_number = $order->getIncrementId(); //Get order increment ID from order
$customerId = $order->getCustomerId(); //Get customer ID from order
$objectManager = MagentoFrameworkAppObjectManager::getInstance();
$customer = $objectManager->create('MagentoCustomerModelCustomer')->load($customerId);
$name = $customer->getName(); //customer name
?>
edited Sep 20 '16 at 15:28
answered Sep 20 '16 at 7:19
Sivabupathy V RSivabupathy V R
645
645
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
add a comment |
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
can you tell me how to get information like order id customer phone number etc...
– Etuts
Sep 20 '16 at 9:23
add a comment |
Isn't it safer to do what you have to do after success ordering or even after receiving payment?
I mean in success.phtml or with an observer when order status changes to i.e. Invoiced.
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
add a comment |
Isn't it safer to do what you have to do after success ordering or even after receiving payment?
I mean in success.phtml or with an observer when order status changes to i.e. Invoiced.
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
add a comment |
Isn't it safer to do what you have to do after success ordering or even after receiving payment?
I mean in success.phtml or with an observer when order status changes to i.e. Invoiced.
Isn't it safer to do what you have to do after success ordering or even after receiving payment?
I mean in success.phtml or with an observer when order status changes to i.e. Invoiced.
answered Sep 20 '16 at 23:09
pontikospontikos
1243
1243
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
add a comment |
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
i want to sms on successful order placement
– Etuts
Oct 20 '16 at 8:10
add a comment |
Simply use this extension http://ext.topmage.com/Hacky_Smsnotifications.html to trigger SMS while place order, invoice, shipment etc. Its free and opensource and easy to customize (add new events for SMS).
You will only needed API details from SMS subscribing company.
add a comment |
Simply use this extension http://ext.topmage.com/Hacky_Smsnotifications.html to trigger SMS while place order, invoice, shipment etc. Its free and opensource and easy to customize (add new events for SMS).
You will only needed API details from SMS subscribing company.
add a comment |
Simply use this extension http://ext.topmage.com/Hacky_Smsnotifications.html to trigger SMS while place order, invoice, shipment etc. Its free and opensource and easy to customize (add new events for SMS).
You will only needed API details from SMS subscribing company.
Simply use this extension http://ext.topmage.com/Hacky_Smsnotifications.html to trigger SMS while place order, invoice, shipment etc. Its free and opensource and easy to customize (add new events for SMS).
You will only needed API details from SMS subscribing company.
answered Sep 21 '16 at 12:36
Ravi BhalodiaRavi Bhalodia
401411
401411
add a comment |
add a comment |
I have create a module for telenor sms api.
It will send an sms to the customer when place an order.
you can Download the module Here
add a comment |
I have create a module for telenor sms api.
It will send an sms to the customer when place an order.
you can Download the module Here
add a comment |
I have create a module for telenor sms api.
It will send an sms to the customer when place an order.
you can Download the module Here
I have create a module for telenor sms api.
It will send an sms to the customer when place an order.
you can Download the module Here
answered Jun 12 at 13:23
Hafiz ArslanHafiz Arslan
322118
322118
add a comment |
add a comment |
Thanks for contributing an answer to Magento Stack Exchange!
- Please be sure to answer the question. Provide details and share your research!
But avoid …
- Asking for help, clarification, or responding to other answers.
- Making statements based on opinion; back them up with references or personal experience.
To learn more, see our tips on writing great answers.
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f137153%2fi-want-to-integrate-sms-module-on-checkout%23new-answer', 'question_page');
);
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
Required, but never shown
When do you want to trigger the sms?
– Sivabupathy V R
Sep 20 '16 at 6:44
when user click on checkout button to place order
– Etuts
Sep 20 '16 at 7:02
Create a ajax function on click of the function & in controller function you can write your action to do.
– Sivabupathy V R
Sep 20 '16 at 7:09
i am new in magento so can you please guide in which file i have to add..
– Etuts
Sep 20 '16 at 7:10
easy solution is to purchase the readymade extension magecomp.com/magento-sms-notification.html
– Gaurav Jain
Apr 13 '17 at 14:13