{"metadata":{"image":[],"title":"","description":""},"api":{"url":"","auth":"required","results":{"codes":[]},"settings":"","params":[]},"next":{"description":"","pages":[]},"title":"Order Processing Status","type":"basic","slug":"wallet-order-processing","excerpt":"","body":"[block:image]\n{\n  \"images\": [\n    {\n      \"image\": [\n        \"https://files.readme.io/aeae0a8-Untitled_Diagram.png\",\n        \"Untitled Diagram.png\",\n        371,\n        241,\n        \"#141414\"\n      ]\n    }\n  ]\n}\n[/block]\n\n[block:parameters]\n{\n  \"data\": {\n    \"h-0\": \"Status\",\n    \"h-1\": \"Description\",\n    \"0-0\": \"`RUNNING_CHECKS`\",\n    \"1-0\": \"`PROCESSING`\",\n    \"2-0\": \"`FAILED`\",\n    \"3-0\": \"`COMPLETE`\",\n    \"0-1\": \"Newly created orders are created in the `RUNNING_CHECKS` state. In this state we are processing the request and seeing if the customer is eligible to transact.\\n\\nIf the checks fail the order will immediately transition to `FAILED`.\\n\\nIf the checks pass the order will transition to `PROCESSING`.\",\n    \"1-1\": \"Orders in the `PROCESSING` state have passed the checks and the user's payment information has been validated. At this point a Transfer has been created on Wyre for the user's Order. Orders in this state will have the `transferId` field populated and more status information can be pulled from the [Track Widget Order](doc:track-wallet-order) API.\",\n    \"2-1\": \"Orders in the `FAILED` state have failed and cannot be processed. If we had additional information on why the order failed we provide it\",\n    \"3-1\": \"Orders in the `COMPLETE` state are complete and the funds have been confirmed on the blockchain.\"\n  },\n  \"cols\": 2,\n  \"rows\": 4\n}\n[/block]\n\n[block:api-header]\n{\n  \"title\": \"More on `PROCESSNG`\"\n}\n[/block]\nWhen an order enters `PROCESSING` that means that a Transfer has been created that represents the fulfillment of the Order. \n\nWhile it is not a requirement that you monitor the details of the state in `PROCESSING` it can make for a better user experience. For example, you could tell the user their funds are on the way before the funds are fully confirmed on the blockchain.\n\nIf you wish to track the Transfer to provide additional context to the user we provide an unauthenticated endpoint that can be called directly from your UI. The details of that endpoint can be found on [Track Widget Order](doc:track-wallet-order).\n\nIn the case of Orders, funds have already been secured before the Transfer is created. That means that there is really just one thing you need to worry about for the Transfer: when the funds are processed on the blockchain.\n\nThere are 3 different states here: \n - Blockchain Tx has not been submitted to the network - in this state the Transfer Tracker's `blockchainNetworkTx ` object will appear as `null`\n - Blockchain Tx has been submitted to the network, but has not been confirmed -in this state the Transfer Tracker's `blockchainNetworkTx ` object will be present\n - Blockchain Tx has been confirmed - Transfer Tracker will appear as with a `COMPLETE` status","updates":[],"order":4,"isReference":true,"hidden":false,"sync_unique":"","link_url":"","link_external":false,"_id":"5e012bf1b60eb5005da06545","project":"550f74bb6fc8130d0038aad3","version":{"version":"3","version_clean":"3.0.0","codename":"","is_stable":true,"is_beta":true,"is_hidden":false,"is_deprecated":false,"categories":["550f75de61d9d30d00af9e02","551027e38579861900a86698","551029e08579861900a8669a","551029e7498062190006328a","5bc633a722d682005c9ad9e4","5bc633b08c4b0b000d6a7eaa","5bc633b48f3ff600626e3e18","5bc63538e5a6ba000d22ee6d","5bc63587a18a6b000decd295","5bc635c0937fcb0056223d9c","5bc6360f42f41800319aeaa6","5be5d13ff1d319002baca9ce","5be5d2287cd14d00291fbfdb","5be8b3b09f7cb70023c56a39","5be8b3cbb910100044e20206","5c1d769a4f6aed001fe527f0","5c402942010f0d001496dded","5e8127d61c906800374eeb1c","5f2768c98622b8005106544a","5f2768d05702ca0011f7655e","5f276e5348d2b600321aef9b","5f276fd300e519001139200a"],"_id":"550f75de61d9d30d00af9e01","__v":22,"releaseDate":"2015-03-23T02:09:34.221Z","project":"550f74bb6fc8130d0038aad3","createdAt":"2015-03-23T02:09:34.221Z","forked_from":"550f74bb6fc8130d0038aad6"},"category":{"sync":{"isSync":false,"url":""},"pages":[],"title":"Wyre Checkout","slug":"wyre-sdk","order":2,"from_sync":false,"reference":true,"_id":"5bc63538e5a6ba000d22ee6d","project":"550f74bb6fc8130d0038aad3","version":"550f75de61d9d30d00af9e01","createdAt":"2018-10-16T19:00:08.331Z","__v":1},"user":"54eb883f4f94620d00789aaa","createdAt":"2019-12-23T21:04:49.919Z","__v":0,"parentDoc":null}

Order Processing Status


[block:image] { "images": [ { "image": [ "https://files.readme.io/aeae0a8-Untitled_Diagram.png", "Untitled Diagram.png", 371, 241, "#141414" ] } ] } [/block] [block:parameters] { "data": { "h-0": "Status", "h-1": "Description", "0-0": "`RUNNING_CHECKS`", "1-0": "`PROCESSING`", "2-0": "`FAILED`", "3-0": "`COMPLETE`", "0-1": "Newly created orders are created in the `RUNNING_CHECKS` state. In this state we are processing the request and seeing if the customer is eligible to transact.\n\nIf the checks fail the order will immediately transition to `FAILED`.\n\nIf the checks pass the order will transition to `PROCESSING`.", "1-1": "Orders in the `PROCESSING` state have passed the checks and the user's payment information has been validated. At this point a Transfer has been created on Wyre for the user's Order. Orders in this state will have the `transferId` field populated and more status information can be pulled from the [Track Widget Order](doc:track-wallet-order) API.", "2-1": "Orders in the `FAILED` state have failed and cannot be processed. If we had additional information on why the order failed we provide it", "3-1": "Orders in the `COMPLETE` state are complete and the funds have been confirmed on the blockchain." }, "cols": 2, "rows": 4 } [/block] [block:api-header] { "title": "More on `PROCESSNG`" } [/block] When an order enters `PROCESSING` that means that a Transfer has been created that represents the fulfillment of the Order. While it is not a requirement that you monitor the details of the state in `PROCESSING` it can make for a better user experience. For example, you could tell the user their funds are on the way before the funds are fully confirmed on the blockchain. If you wish to track the Transfer to provide additional context to the user we provide an unauthenticated endpoint that can be called directly from your UI. The details of that endpoint can be found on [Track Widget Order](doc:track-wallet-order). In the case of Orders, funds have already been secured before the Transfer is created. That means that there is really just one thing you need to worry about for the Transfer: when the funds are processed on the blockchain. There are 3 different states here: - Blockchain Tx has not been submitted to the network - in this state the Transfer Tracker's `blockchainNetworkTx ` object will appear as `null` - Blockchain Tx has been submitted to the network, but has not been confirmed -in this state the Transfer Tracker's `blockchainNetworkTx ` object will be present - Blockchain Tx has been confirmed - Transfer Tracker will appear as with a `COMPLETE` status