Skip to content

Instantly share code, notes, and snippets.

View dbelling's full-sized avatar
🌜
Looking for answers from the great beyond...

Dan Belling dbelling

🌜
Looking for answers from the great beyond...
View GitHub Profile

Keybase proof

I hereby claim:

  • I am dbelling on github.
  • I am dbelling (https://keybase.io/dbelling) on keybase.
  • I have a public key ASBNGP5OPvRnNvN3bdzDe3aByF29XEIXqXg1wWxKTNzKrQo

To claim this, I am signing this object:

@dbelling
dbelling / 3dcard_soap_req.xml
Created May 30, 2017 20:22
Advanced API SOAP request - 3Dcart
<?xml version=\"1.0\" encoding=\"utf-8\"?>
<soap:Envelope xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\" xmlns:soap=\"http://schemas.xmlsoap.org/soap/envelope/\">
<soap:Body>
<runQuery xmlns=\"http://3dcart.com/\">
<storeUrl>#{@secure_url}</storeUrl>
<userKey>#{@user_key}</userKey>
<sqlStatement>select input_value from payment_fields where orderid=#{order_id}</sqlStatement>
<callBackURL></callBackURL>
</runQuery>
</soap:Body>
// First we must find the ID of our photo: 20830
$('#20830').click()
// This triggers the modal popup, next we must spam the likes by refreshing the modal view with the next and previous btns
$('#btnLikeThis').click()
$('.controls.next').click()
$('.controls.previous').click()