Click here to Skip to main content
15,443,631 members
Home / Discussions / Linux, Apache, MySQL, PHP
   

Linux, Apache, MySQL, PHP

 
QuestionFailover Architecture (Apache/TOMCAT) Pin
Member 143600218-May-19 3:21
MemberMember 143600218-May-19 3:21 
Questionwhat is the error:mysqli_query() expects parameter 1 to be mysqli, null given in Pin
Amir karim30-Apr-19 7:29
MemberAmir karim30-Apr-19 7:29 
AnswerRe: what is the error:mysqli_query() expects parameter 1 to be mysqli, null given in Pin
Richard MacCutchan30-Apr-19 21:39
mveRichard MacCutchan30-Apr-19 21:39 
AnswerRe: what is the error:mysqli_query() expects parameter 1 to be mysqli, null given in Pin
Member 1456979427-Aug-19 7:03
MemberMember 1456979427-Aug-19 7:03 
Questionany latest api for currency converter free Pin
Member 1434851229-Apr-19 21:32
MemberMember 1434851229-Apr-19 21:32 
AnswerRe: any latest api for currency converter free Pin
OriginalGriff29-Apr-19 21:34
mveOriginalGriff29-Apr-19 21:34 
AnswerRe: any latest api for currency converter free Pin
Richard MacCutchan29-Apr-19 21:35
mveRichard MacCutchan29-Apr-19 21:35 
QuestionUtilize webhook using PHP Webhook Listener Pin
Jassim Rahma18-Apr-19 5:04
MemberJassim Rahma18-Apr-19 5:04 
I have a webhook from fastSpring.

The webhook sends something like below and I want to know how can I create a webhook listener to use the inflammation passed by the webhook?

How can I create the listener to capture below information please?
<pre lang="text">{
   "order":"yzaP3EQAQtCOBLhYP2ZN-Q",
   "id":"yzaP3EQAQtCOBLhYP2ZN-Q",
   "reference":"MyDomain190418-3737-54184",
   "buyerReference":null,
   "completed":true,
   "changed":1555598658633,
   "changedValue":1555598658633,
   "changedInSeconds":1555598658,
   "changedDisplay":"4/18/19",
   "language":"en",
   "live":false,
   "currency":"USD",
   "payoutCurrency":"USD",
   "invoiceUrl":"<a href="https://MyDomain.test.onfastspring.com/account/order/MyDomain190418-3737-54184/invoice">https://MyDomain.test.onfastspring.com/account/order/MyDomain190418-3737-54184/invoice</a>",
   "account":{
      "id":"qjY3pex6TH6rj6A2f71vVg",
      "account":"qjY3pex6TH6rj6A2f71vVg",
      "contact":{
         "first":"Jassim",
         "last":"Al Rahma",
         "email":"myemail@gmail.com",
         "company":null,
         "phone":"123456789"
      },
      "language":"en",
      "country":"AE",
      "lookup":{
         "global":"XNpsaeO3QLO906bY9HcusA"
      },
      "url":"<a href="https://MyDomain.test.onfastspring.com/account">https://MyDomain.test.onfastspring.com/account</a>"
   },
   "total":29.99,
   "totalDisplay":"USD 29.99",
   "totalInPayoutCurrency":29.99,
   "totalInPayoutCurrencyDisplay":"USD 29.99",
   "tax":0.0,
   "taxDisplay":"USD 0.00",
   "taxInPayoutCurrency":0.0,
   "taxInPayoutCurrencyDisplay":"USD 0.00",
   "subtotal":29.99,
   "subtotalDisplay":"USD 29.99",
   "subtotalInPayoutCurrency":29.99,
   "subtotalInPayoutCurrencyDisplay":"USD 29.99",
   "discount":0.0,
   "discountDisplay":"USD 0.00",
   "discountInPayoutCurrency":0.0,
   "discountInPayoutCurrencyDisplay":"USD 0.00",
   "discountWithTax":0.0,
   "discountWithTaxDisplay":"USD 0.00",
   "discountWithTaxInPayoutCurrency":0.0,
   "discountWithTaxInPayoutCurrencyDisplay":"USD 0.00",
   "billDescriptor":"FS* fsprg.com",
   "payment":{
      "type":"test",
      "cardEnding":"4242"
   },
   "customer":{
      "first":"Jassim",
      "last":"Al Rahma",
      "email":"myemail@gmail.com",
      "company":null,
      "phone":"123456789"
   },
   "address":{
      "country":"AE",
      "display":"AE"
   },
   "recipients":[
      {
         "recipient":{
            "first":"Jassim",
            "last":"Al Rahma",
            "email":"myemail@gmail.com",
            "company":null,
            "phone":"123456789",
            "account":{
               "id":"qjY3pex6TH6rj6A2f71vVg",
               "account":"qjY3pex6TH6rj6A2f71vVg",
               "contact":{
                  "first":"Jassim",
                  "last":"Al Rahma",
                  "email":"myemail@gmail.com",
                  "company":null,
                  "phone":"123456789"
               },
               "language":"en",
               "country":"AE",
               "lookup":{
                  "global":"XNpsaeO3QLO906bY9HcusA"
               },
               "url":"<a href="https://MyDomain.test.onfastspring.com/account">https://MyDomain.test.onfastspring.com/account</a>"
            },
            "address":{
               "country":"AE",
               "display":"AE"
            }
         }
      }
   ],
   "notes":[

   ],
   "items":[
      {
         "product":"featured-ad",
         "quantity":1,
         "display":"Featured Ad",
         "sku":null,
         "subtotal":29.99,
         "subtotalDisplay":"USD 29.99",
         "subtotalInPayoutCurrency":29.99,
         "subtotalInPayoutCurrencyDisplay":"USD 29.99",
         "discount":0.0,
         "discountDisplay":"USD 0.00",
         "discountInPayoutCurrency":0.0,
         "discountInPayoutCurrencyDisplay":"USD 0.00",
         "fulfillments":{

         }
      }
   ]
}</pre>

www.softnames.com

QuestionHaving Trouble moving my Wordpress site offline using MAMP Pin
Davstr15-Apr-19 8:02
MemberDavstr15-Apr-19 8:02 
QuestionConvert the sql query into linq Pin
Member 1246113211-Apr-19 22:52
MemberMember 1246113211-Apr-19 22:52 
AnswerRe: Convert the sql query into linq Pin
Richard MacCutchan11-Apr-19 23:05
mveRichard MacCutchan11-Apr-19 23:05 
Questionwhat is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Amir karim3-Apr-19 20:47
MemberAmir karim3-Apr-19 20:47 
AnswerRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Peter_in_27803-Apr-19 21:02
professionalPeter_in_27803-Apr-19 21:02 
GeneralRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Amir karim3-Apr-19 21:24
MemberAmir karim3-Apr-19 21:24 
GeneralRe: what is the error : SQL syntax; check the manual that corresponds to your MariaDB server version? Pin
Richard Deeming3-Apr-19 22:28
mveRichard Deeming3-Apr-19 22:28 
QuestionStored procedure is needed Pin
Member 1246113225-Mar-19 4:02
MemberMember 1246113225-Mar-19 4:02 
AnswerRe: Stored procedure is needed Pin
Richard MacCutchan25-Mar-19 5:40
mveRichard MacCutchan25-Mar-19 5:40 
QuestionHow to call php divisions by a button click Pin
Member 1417791010-Mar-19 22:54
MemberMember 1417791010-Mar-19 22:54 
QuestionDEVELOPING WEB FORM Pin
Member 1402329817-Oct-18 5:40
MemberMember 1402329817-Oct-18 5:40 
AnswerRe: DEVELOPING WEB FORM Pin
Mycroft Holmes17-Oct-18 12:43
professionalMycroft Holmes17-Oct-18 12:43 
QuestionWhy my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 3:12
MemberMember 1399562824-Sep-18 3:12 
AnswerRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 3:48
MemberGraham Breach24-Sep-18 3:48 
GeneralRe: Why my field returns boolean instead of object? Pin
Member 1399562824-Sep-18 3:50
MemberMember 1399562824-Sep-18 3:50 
GeneralRe: Why my field returns boolean instead of object? Pin
Graham Breach24-Sep-18 4:57
MemberGraham Breach24-Sep-18 4:57 
AnswerRe: Why my field returns boolean instead of object? Pin
SiFinances28-Oct-18 0:52
MemberSiFinances28-Oct-18 0:52 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.