Find Jobs
Hire Freelancers

Make woocomerce plugin to run shell commands on a remote server after order status = processing

$30-250 USD

Tamamlandı
İlan edilme: 5 yıldan fazla önce

$30-250 USD

Teslimde ödenir
We are using woocommerce to sell digital services. We are currently manually completing order and we need to automate this. Workflow: This is what we need to happen 1. Customer places a new Order gets placed on our site 2. Based on the product type, Commands are then triggered to run on a remote server 3. # htpasswd /etc/squid/squid_passwd "woocommerce order number" 4. # Generate Password 5. # Confirm Generated password 6. # vi /etc/[login to view URL] 7. We need to enter 2 lines of text in a specific area about 10 lines down the file. First is a date and comment and the second is "woocommerce order number" and data allowance see example below - Format must exactly match 8. # # Delete 01/30/2019 # 4856 1Gb/month The product we sell is a data plan so we will have to enter a different data quota per product as the second line above. We sell 1 GB, 2 GB, 5 GB, and 10 GB 9. After that info is entered we will then save the file and exit and run 2 more commands. 10. # /usr/sbin/squid -k reconfigure 11. The remote server connection can now be closed as we are finished. 12. We need to add to the order notes to customer of the woocommerce the username and password we made using htpasswd. We can do this using the command on the woocommerce server: wp wc order_note create "order number" --note=" username:password " --customer_note=true --user=1 13. We will then mark the order as complete Additional steps 1. 30 days after the order has been marked complete we need to reverse some of the steps above. # Remove the user from our authentication file # htpasswd -D /etc/squid/squid_passwd "woocommerce order number" # Remove the 2 lines we made in this file # vi /etc/[login to view URL] # Run the command # /usr/sbin/squid -k reconfigure
Proje No: 18373468

Proje hakkında

4 teklif
Uzaktan proje
Son aktiviteden bu yana geçen zaman 5 yıl önce

Biraz para mı kazanmak istiyorsunuz?

Freelancer'da teklif vermenin faydaları

Bütçenizi ve zaman çerçevenizi belirleyin
Çalışmanız için ödeme alın
Teklifinizin ana hatlarını belirleyin
Kaydolmak ve işlere teklif vermek ücretsizdir
Seçilen:
Kullanıcı Avatarı
Hi there, I'm sure that will be able to help you with this plugin. Please explain what you mean by 4. # Generate Password 5. # Confirm Generated password Also, you won't be able to use vi through PHP, you will just need to edit it on your server and then upload back to destination. Or, which is better (and is the only correct way IMHO), as will be local - create a shell script on destination server and call it by PHP with needed parameters. That will be faster and will guarantee that someone else won't overwrite your files in the process. So, if interested, just contact me by chat and we will discuss everything. Thanks
$150 USD 1 gün içinde
5,0 (373 değerlendirme)
7,6
7,6
4 freelancer bu proje için ortalama $192 USD teklif veriyor
Kullanıcı Avatarı
Dear As I am mobile and web expert, have rich experience with web site and application development If you are interested with my proposal, please let me know it. I hope to work with you on this project. Thanks.
$250 USD 3 gün içinde
5,0 (4 değerlendirme)
2,9
2,9

Müşteri hakkında

   UNITED STATES bayrağı
las vegas, United States
5,0
6
Ödeme yöntemi onaylandı
Ara 10, 2016 tarihinden bu yana üye

Müşteri Doğrulaması

Teşekkürler! Ücretsiz kredinizi talep etmeniz için size bir bağlantı gönderdik.
E-postanız gönderilirken bir şeyler yanlış gitti. Lütfen tekrar deneyin.
Kayıtlı Kullanıcı İlan Edlien Toplam İş
Freelancer ® is a registered Trademark of Freelancer Technology Pty Limited (ACN 142 189 759)
Copyright © 2024 Freelancer Technology Pty Limited (ACN 142 189 759)
Ön izleme yükleniyor
Coğrafik konum için izin verildi.
Giriş oturumunuzun süresi doldu ve çıkış yaptınız. Lütfen tekrar giriş yapın.