Odessa Content Sharing  





  Register now   Forgot password ?

PayForPack

Step 4: Paying for package

NOTE ! MAYBE THIS SERVICE WILL BE CHANGED . CRD CARD DETAILS OR PAYPAL CAN BE ADDED

 http://localhost/CheapSender/webservices/?service=PayForPack
  
    [
    {     
        "pack_id" : "7",
        "pack_price" : "90.4491",
        "is_insurance_payed" : "1",
        "log_session_key" : "88405B20-E8D1-4B51-8999-1F55DE4762942017032923330",
        "log_device_id"   : "deviceid123",
        "log_user_argent" : "Firefox",
        "log_device_type" : "APPLE_PHONE"        
    }
]

{"code":"18","msgtext":"Package price doesnt match with calculated one . Pack price : 12 . Calculated price : 90.4491","short":"PackPriceNotCorrect"}

{"code":"19","msgtext":"You don't have enought money for paying . Please load your balance . Pack price : 90.4491 . Your balance ['balance']","short":"NotEnoughtBalance"}

on success
{"code":"0","inserted_id":-1,"details":{"pack_price":"90.4491","insurance_price":0,"is_insurance_payed":"1","insurance_mode":1,"sender_paid":"1"}}