Home API docs AppMarket integration Login
My apps
Login first

Help & Docs
Settings page
Pricing page
Credits API
Events

Events

Server events
  • payment completed - Invokes when customer is complete an order.
    The given url is invoked by HttpPost method and send the customer order by JSON.
    example:
    If your event url is: "http://www.domain.com/payment-completed-event-handler" this is what we send to this URL when customer is complete an order (parameter name: "result"):
    result="{"Id":2282,"CustomerId":640,"ShipingType":4, "FirstName":"Joe","LastName":"Doe","Email":"test@test.com", "Phone":"+123456789","Address":"some address","OrderStatus":1, "OrderDate":"\/Date(1407966419361)\/","ShipingPrice":15,"TotalPrice":53.9, "IsSelfDelivery":false,"IsAccountReadThisOrder":false,"PaymentOptionType":3, "TotalProducts":1, "Products":[{"customer_product_id":2944,"Id":2035,"Total":33,"Qty":1, "Name":"342424","Attributes":null,"Order_Code":null}], "CuponId":0,"FullResponse":"{\"query\":\"\",\"form\":\"[FULL-ORDER-RESPONSE-HERE]\"}", "TransactionId":null,"LastDigits":null}"

    result parameter types:
    parameter description
    ShipingType
    • 1:Shiping price per product
    • 2:Shiping price by destination
    • 3:shiping price by weight
    • 4:shiping price by custom options
    OrderStatus
    • 1:Phone/BankTransfer
    • 2:Lead
    • 4:Paid
    • 5:Error
    • 6:Delivered
    • 7:Paypal pending review
    • 8:Cancaled
    • 9:Claimed
    PaymentOptionType
    • 1:Paypal
    • 2:Redirect
    • 3:Phone
    • 4:BankTransfer
    • 5:Pelepay
    • 6:PaypalExpress
    • 7:Netpay
    • 8:Tranzilla
    • 9:GPrimium
    • 10:CreditGuard
    • 11:EasyCard
    • 12:ZCredit
    • 13:PayCard
    • 14:CardCom
    • 15:Authorize.net
    • 16:Pelecard
    • 17:Cellarix
    • 18:VeriPAY
    • 19:Stripe
    • 20:2Checkout
    • 30:CashCowCalExpress
    • 40:Credit2000
    • 45:ICredit
    • 50:PayMe
    • 60:GetPay
    • 70:Meshulam
    • 80:PayPlus
    • 90:Yaad
  • customer created - Invokes wher customer filled his personal information.
    The given url is invoked by HttpPost method and send the customer order by JSON.
    example:
    If your event url is: "http://www.domain.com/customer-created-event-handler" this is what we send to this URL when customer is complete an order (parameter name: "result"):
    result="{"Email":"test@test.com","Address":"Some address","ZipCode":"123456789", "FirstName":"Joe","LastName":"Doe","Phone":"+123456789","IsConfirmedGetNews":true}"
Client events
Client event is external Html or Javascript codes that you can add to the account store.
  • store_loaded - When store is loaded.
    You can put a Javascript or HTML code will invoke when store is loaded.