Advertisement
Guest User

Untitled

a guest
Nov 6th, 2015
191
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Bash 8.63 KB | None | 0 0
  1. ==============================
  2.    ORDER SUBMISSION TO ODB    
  3. ==============================
  4. Number of orders to process: 1
  5. Endpoint is: https://50.205.155.171:4433/apps/processOrders.php
  6.  
  7. Credit Card Number is: 123456789012345
  8. Encrypted padded number is: hiD3oA8REn6j1j3/6w/LaCMXBXXWu9SX84IAAjA/29o=
  9.  
  10. Requested data in raw is:
  11. {'promo_code': u'', 'enduser_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'Nicholas', 'last_name': u'Herriot', 'country': u'US', 'company': u'vodafone', 'attention': None, 'email': u'Nicholas.Herriot@gmail.com', 'phone': u'', 'state': u'IA', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 210}, 'account_num': u'0', 'shipfrom_location': u'UK', 'carrier_id': None, 'currency': u'GBP', 'shipping_cost': 0, 'id': 70, 'user_id': 141320, 'cc_number': 'hiD3oA8REn6j1j3/6w/LaCMXBXXWu9SX84IAAjA/29o=', 'order_changed_during_approval': False, 'type': u'W', 'po': u'123456789', 'billing_address_id': 209, 'cc_name': u'Mr Nicholas Herriot', 'status': u'PN', 'cc_security_code': '', 'billing_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'', 'last_name': u'', 'country': u'GB', 'company': u'vodafone', 'attention': u'', 'email': None, 'phone': None, 'state': u'', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 209}, 'collect_number': u'', 'cc_type': u'AE', 'phone': u'07717275049', 'billing_address_changed': True, 'enduser_address_id': 210, 'business_number': None, 'duns': None, 'order_date': '2015-11-06', 'allow_partial_shipment': True, 'items': [{'item_number': u'B24471', 'restrictions_message': None, 'size_code_description': u'100g', 'size_code': u'22', 'order_id': 70, 'tax': 0.0, 'price': 88.2, 'warehouse': u'UK', 'availability_message': u'3 available on 9-Nov-2015', 'item_id': 12400, 'item_name': u'Isopropyl salicylate, 99%', 'id': 153, 'quantity': 3}, {'item_number': u'B24471', 'restrictions_message': None, 'size_code_description': u'25g', 'size_code': u'14', 'order_id': 70, 'tax': 0.0, 'price': 27.4, 'warehouse': u'UK', 'availability_message': u'2 available on 6-Nov-2015', 'item_id': 12400, 'item_name': u'Isopropyl salicylate, 99%', 'id': 154, 'quantity': 2}], 'notes': u'', 'batch': 24, 'email': u'Nicholas.Herriot@gmail.com', 'shipping_address_id': 208, 'carrier': '', 'vat': None, 'shipping_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'', 'last_name': u'', 'country': u'GB', 'company': u'vodafone', 'attention': u'', 'email': None, 'phone': None, 'state': u'', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 208}, 'cc_expiration_date': '1116', 'order_number': 40600069}
  12. Endpoint is: https://50.205.155.171:4433/apps/processOrders.php
  13.  
  14. Credit Card Number is: 123456789012345
  15. Encrypted padded number is: hiD3oA8REn6j1j3/6w/LaCMXBXXWu9SX84IAAjA/29o=
  16.  
  17. Requested data in raw is:
  18. {'promo_code': u'', 'enduser_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'Nicholas', 'last_name': u'Herriot', 'country': u'US', 'company': u'vodafone', 'attention': None, 'email': u'Nicholas.Herriot@gmail.com', 'phone': u'', 'state': u'CA', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 207}, 'account_num': u'0', 'shipfrom_location': u'UK', 'carrier_id': None, 'currency': u'GBP', 'shipping_cost': 0, 'id': 69, 'user_id': 141320, 'cc_number': 'hiD3oA8REn6j1j3/6w/LaCMXBXXWu9SX84IAAjA/29o=', 'order_changed_during_approval': False, 'type': u'W', 'po': u'1234567890', 'billing_address_id': 206, 'cc_name': u'Mr Nicholas Herriot', 'status': u'PN', 'cc_security_code': '', 'billing_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'', 'last_name': u'', 'country': u'GB', 'company': u'vodafone', 'attention': u'', 'email': None, 'phone': None, 'state': u'', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 206}, 'collect_number': u'', 'cc_type': u'AE', 'phone': u'07717275049', 'billing_address_changed': True, 'enduser_address_id': 207, 'business_number': None, 'duns': None, 'order_date': '2015-11-06', 'allow_partial_shipment': True, 'items': [{'item_number': u'A10101', 'restrictions_message': None, 'size_code_description': u'500g', 'size_code': u'36', 'order_id': 69, 'tax': 0.0, 'price': 27.3, 'warehouse': u'UK', 'availability_message': u'3 available on 6-Nov-2015', 'item_id': 1, 'item_name': u'Ethyl salicylate, 99%', 'id': 150, 'quantity': 3}, {'item_number': u'A10101', 'restrictions_message': None, 'size_code_description': u'100g', 'size_code': u'22', 'order_id': 69, 'tax': 0.0, 'price': 13.2, 'warehouse': u'UK', 'availability_message': u'2 available on 6-Nov-2015', 'item_id': 1, 'item_name': u'Ethyl salicylate, 99%', 'id': 151, 'quantity': 2}, {'item_number': u'A10101', 'restrictions_message': None, 'size_code_description': u'2500g', 'size_code': u'0E', 'order_id': 69, 'tax': 0.0, 'price': 109.0, 'warehouse': u'UK', 'availability_message': u'3 available on 6-Nov-2015<br />1 available on 9-Nov-2015', 'item_id': 1, 'item_name': u'Ethyl salicylate, 99%', 'id': 152, 'quantity': 4}], 'notes': u'', 'batch': 24, 'email': u'Nicholas.Herriot@gmail.com', 'shipping_address_id': 205, 'carrier': '', 'vat': None, 'shipping_address': {'address_line2': u'', 'city': u'egham', 'first_name': u'', 'last_name': u'', 'country': u'GB', 'company': u'vodafone', 'attention': u'', 'email': None, 'phone': None, 'state': u'', 'address_line1': u'31 kingsley avenue', 'postal_code': u'tw20 0pp', 'id': 205}, 'cc_expiration_date': '1116', 'order_number': 40600068}
  19. *** Sending request to server ***
  20. /home/nherriot/virtualenv/alfaAesar/local/lib/python2.7/site-packages/requests/packages/urllib3/connectionpool.py:730: InsecureRequestWarning: Unverified HTTPS request is being made. Adding certificate verification is strongly advised. See: https://urllib3.readthedocs.org/en/latest/security.html (This warning will only appear once by default.)
  21.   InsecureRequestWarning)
  22.  
  23. Error
  24.  
  25. ODB processing URL: https://50.205.155.171:/apps/processOrders.php
  26. Email sent to jeff.day@alfa.com:
  27. ===============================
  28. Content-Type: multipart/alternative;
  29.  boundary="===============5741878445106769094=="
  30. MIME-Version: 1.0
  31. Subject: Order processing error report
  32. From: noreply@alfa.com
  33. To: jeff.day@alfa.com
  34. Date: Fri, 06 Nov 2015 20:13:58 -0000
  35. Message-ID: <20151106201358.28547.52515@kieran>
  36.  
  37. --===============5741878445106769094==
  38. MIME-Version: 1.0
  39. Content-Type: text/plain; charset="utf-8"
  40. Content-Transfer-Encoding: 7bit
  41.  
  42. An error has occured while sending orders from Django to ODB. Details below.JSON response:message: Batch failed - no orders processed.partial success: False Failed orders:40600069: Value for column or variable WHCCN too long. SQLCODE=-40440600068: Value for column or variable WHCCN too long. SQLCODE=-404FULL JSON RESPONSE, UNPARSED:{u'unprocessed_orders_errors': [u'Value for column or variable WHCCN too long. SQLCODE=-404', u'Value for column or variable WHCCN too long. SQLCODE=-404'], u'partial_success': False, u'message': u'Batch failed - no orders processed.', u'unprocessed_orders': [40600069, 40600068], u'success': False}
  43. --===============5741878445106769094==
  44. MIME-Version: 1.0
  45. Content-Type: text/html; charset="utf-8"
  46. Content-Transfer-Encoding: 7bit
  47.  
  48. An error has occured while sending orders from Django to ODB. Details below.<br /><br />JSON response:<br />message: Batch failed - no orders processed.<br />partial success: False<br /> <br />Failed orders:<br />40600069: Value for column or variable WHCCN too long. SQLCODE=-404<br />40600068: Value for column or variable WHCCN too long. SQLCODE=-404<br /><br /><br />FULL JSON RESPONSE, UNPARSED:<br />{u'unprocessed_orders_errors': [u'Value for column or variable WHCCN too long. SQLCODE=-404', u'Value for column or variable WHCCN too long. SQLCODE=-404'], u'partial_success': False, u'message': u'Batch failed - no orders processed.', u'unprocessed_orders': [40600069, 40600068], u'success': False}<br />
  49. --===============5741878445106769094==--
  50.  
  51. -------------------------------------------------------------------------------
  52. An error has occured while sending orders from Django to ODB. Details below.
  53.  
  54. JSON response:
  55. message: Batch failed - no orders processed.
  56. partial success: False
  57.  
  58. Failed orders:
  59. 40600069: Value for column or variable WHCCN too long. SQLCODE=-404
  60. 40600068: Value for column or variable WHCCN too long. SQLCODE=-404
  61.  
  62.  
  63. FULL JSON RESPONSE, UNPARSED:
  64. {u'unprocessed_orders_errors': [u'Value for column or variable WHCCN too long. SQLCODE=-404', u'Value for column or variable WHCCN too long. SQLCODE=-404'], u'partial_success': False, u'message': u'Batch failed - no orders processed.', u'unprocessed_orders': [40600069, 40600068], u'success': False}
  65.  
  66. ===============================
  67.  
  68. DONE in 5.96 seconds
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement