{"id":11939,"date":"2023-08-05T08:32:15","date_gmt":"2023-08-05T08:32:15","guid":{"rendered":"https:\/\/wooshpay.com\/?post_type=docs&#038;p=11939"},"modified":"2023-08-09T07:32:20","modified_gmt":"2023-08-09T07:32:20","password":"","slug":"wooshpay-checkout","status":"publish","type":"docs","link":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs\/wooshpay-checkout\/","title":{"rendered":"WooshPay \u7ed3\u8d26"},"content":{"rendered":"<h2 class=\"wp-block-heading\" id=\"h-overview\">\u6982\u8ff0<\/h2>\n\n\n\n<p>\u521b\u5efa\u5b8c\u6574\u7684\u7ed3\u8d26\u6709\u56db\u4e2a\u6b65\u9aa4\uff1a<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>\u521b\u5efa\u4ea7\u54c1<\/li>\n\n\n\n<li>\u521b\u5efa\u4ef7\u683c<\/li>\n\n\n\n<li>\u521b\u5efa\u7ed3\u8d26<\/li>\n\n\n\n<li>\u8df3\u8f6c\u5230\u6536\u94f6\u53f0\u5b8c\u6210\u4ed8\u6b3e<\/li>\n<\/ol>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-product\"><a href=\"\/zh\/api-34903706\/\">\u521b\u5efa\u4ea7\u54c1<\/a><\/h2>\n\n\n\n<p>\u4ea7\u54c1\u548c\u4ef7\u683c\u662f\u8bb8\u591a WooshPay \u96c6\u6210\u7684\u6838\u5fc3\u8d44\u6e90\u3002\u4ea7\u54c1\u5b9a\u4e49\u4e86\u4f01\u4e1a\u63d0\u4f9b\u7684\u5546\u54c1\u6216\u670d\u52a1\u3002<\/p>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u540d\u79f0\": \"\u793a\u4f8b\u4ea7\u54c1\"\u3001\n    \"active\":true\u3001\n    \"description\": \"some description\"\u3001\n    \"\u5143\u6570\u636e\":{\n        \"key1\": \"value1\"\u3001\n        \"key3\": \"value3\"\u3002\n    },\n    \"url\": \"www.example.com\"\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\"\uff1a\"prod_1554351292598452224\",\n    \"\u5bf9\u8c61\"\uff1a\"\u4ea7\u54c1\"\u3001\n    \"\u521b\u5efa\"\uff1a1665642282000,\n    \"active\": true\u3001\n    \"description\"\uff1a\"\u4e00\u4e9b\u63cf\u8ff0\"\u3001\n    \"\u5143\u6570\u636e\"\uff1a{\n        \"key1\"\uff1a\"value1\"\u3001\n        \"key2\"\uff1a\"value2\"\n    },\n    \"\u540d\u79f0\"\uff1a\"\u793a\u4f8b\u4ea7\u54c1\"\u3001\n    \"livemode\": false\u3001\n    \"url\"\uff1a\"www.example.com\"\u3001\n    \"\u66f4\u65b0\"\uff1a1665642282000,\n    \"images\": null\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-a-price\"><a href=\"\/zh\/api-55501373\/\">\u521b\u5efa\u4ef7\u683c<\/a><\/h2>\n\n\n\n<p>\u4ef7\u683c\u5b9a\u4e49\u4e86\u4ea7\u54c1\u7684\u4ef7\u683c\u548c\u6536\u8d39\u9891\u7387\u3002\u60a8\u53ef\u4ee5\u4e3a\u4e00\u4e2a\u4ea7\u54c1\u521b\u5efa\u5355\u4e2a\u6216\u591a\u4e2a\u4ef7\u683c\u3002<\/p>\n\n\n\n<p><strong><em>\u8981\u6c42 1\uff1a\u76f4\u63a5\u7ed1\u5b9a\u73b0\u6709\u4ea7\u54c1<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"\u8d27\u5e01\": \"\u82f1\u9551\"\u3001\n    \"product\":\"prod_1554351292598452224\",\n    \"unit_amount\":5\u3001\n    \"active\":true\u3001\n    \"\u5143\u6570\u636e\":{\n        \"key1\": \"value1\"\u3001\n        \"key2\": \"value2\"\u3002\n    },\n    \"\u6635\u79f0\": \"\u67d0\u4e2a\u6635\u79f0\n    \"product_data\":null\u3001\n    \"lookup_key\": \"test_lookup_key\" }.\n}<\/code><\/pre>\n\n\n\n<p><strong><em>\u8981\u6c42 2\uff1a\u5728\u521b\u5efa\u4ef7\u683c\u7684\u540c\u65f6\u521b\u5efa\u65b0\u4ea7\u54c1<\/em><\/strong><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"currency\": \"GBP\"\u3001\n    \"product\":null\u3001\n    \"unit_amount\":5\u3001\n    \"active\":true\u3001\n    \"\u5143\u6570\u636e\":{\n        \"key1\": \"value1\"\u3001\n        \"key2\": \"value2\"\u3002\n    },\n    \"\u6635\u79f0\": \"fengli\"\u3001\n    \"\u4ea7\u54c1\u6570\u636e\":{\n        \"id\":null\u3001\n        \"name\": \"example product\"\u3001\n        \"\u6d3b\u52a8\":true\u3001\n        \"description\": \"\u975e\u5e38\u7f8e\u5473\"\u3001\n        \"\u5143\u6570\u636e\":{\n            \"key1\": \"value1\"\u3001\n            \"key2\": \"value2\n        },\n        \"url\": \"www.example.com\"\n    },\n    \"billing_scheme\": \"testscheme\"\u3001\n    \"lookup_key\": \"test_lookup_key\" }.\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\":\"price_1554384814788837376\",\n    \"\u5bf9\u8c61\": \"\u4ef7\u683c\n    \"created\":1659429194000,\n    \"\u6d3b\u52a8\":true\u3001\n    \"currency\": \"GBP\"\u3001\n    \"\u5143\u6570\u636e\":{\n        \"key1\": \"value1\"\u3001\n        \"key2\": \"value2\"\u3002\n    },\n    \"\u6635\u79f0\": \"\u67d0\u4e2a\u6635\u79f0\n    \"\u4ea7\u54c1\":{\n        \"id\":\"prod_1554351292598452224\",\n        \"\u5bf9\u8c61\": \"\u4ea7\u54c1\"\u3001\n        \"created\":1659421201000,\n        \"\u6d3b\u52a8\":true\u3001\n        \"\u63cf\u8ff0\": \"\u975e\u5e38\u7f8e\u5473\n        \"\u5143\u6570\u636e\":{\n            \"key1\": \"value1\"\u3001\n            \"key3\": \"value3\n        },\n        \"name\": \"taiwan fengli\"\u3001\n        \"livemode\":false\u3001\n        \"url\": \"www.example.com\"\u3001\n        \"updated\":1659422039000\n    },\n    \"type\": \"one_time\"\u3001\n    \"livemode\":false\u3001\n    \"unit_amount\":5\u3001\n    \"billing_scheme\": \"per_unit\"\u3001\n    \"lookup_key\": \"test_lookup_key\"\u3002\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-create-checkout\"><a href=\"\/zh\/api-42654181\/\">\u521b\u5efa\u7ed3\u8d26<\/a><\/h2>\n\n\n\n<p>\u7ed3\u8d26\u4f1a\u8bdd\u662f\u5ba2\u6237\u88ab\u91cd\u5b9a\u5411\u5230\u4ed8\u6b3e\u8868\u5355\u65f6\u6240\u770b\u5230\u7684\u7a0b\u5e8f\u5316\u8868\u793a\u3002\u60a8\u53ef\u4ee5\u901a\u8fc7\u4ee5\u4e0b\u9009\u9879\u5bf9\u5176\u8fdb\u884c\u914d\u7f6e\uff1a<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><code>\u884c\u9879\u76ee<\/code> \u6536\u8d39<\/li>\n\n\n\n<li>\u4f7f\u7528\u7684\u8d27\u5e01<\/li>\n<\/ul>\n\n\n\n<p>\u60a8\u8fd8\u9700\u8981\u8bf4\u660e<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>A <code>success_url<\/code>\u5728\u60a8\u7684\u7f51\u7ad9\u4e0a\u521b\u5efa\u4e00\u4e2a\u9875\u9762\uff0c\u5728\u5ba2\u6237\u5b8c\u6210\u4ed8\u6b3e\u540e\u5bf9\u5176\u8fdb\u884c\u91cd\u5b9a\u5411\u3002<\/li>\n\n\n\n<li>A <code>cancel_url<\/code>\u5982\u679c\u5ba2\u6237\u5728\u7ed3\u8d26\u65f6\u70b9\u51fb\u4e86\u60a8\u7684\u5fbd\u6807\uff0c\u60a8\u53ef\u4ee5\u5728\u7f51\u7ad9\u4e0a\u521b\u5efa\u4e00\u4e2a\u9875\u9762\uff0c\u5c06\u5176\u91cd\u5b9a\u5411\u5230\u60a8\u7684\u7f51\u7ad9\u3002<\/li>\n<\/ul>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\">\n<p>\u6ce8\u610f\uff1a\u7ed3\u8d26\u4f1a\u8bdd\u5c06\u5728\u521b\u5efa 24 \u5c0f\u65f6\u540e\u5931\u6548\u3002<\/p>\n<\/blockquote>\n\n\n\n<p><em>\u8981\u6c42<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"cancel_url\": \"www.example.com\"\u3001\n    \"\u6a21\u5f0f\"\uff1a\"\u4ed8\u6b3e\"\u3001\n    \"success_url\": \"www.wooshpay.com\"\u3001\n    \"line_items\":[\n        {\n            \"price_data\":{\n                \"currency\": \"GBP\"\u3001\n                \"\u4ea7\u54c1\":null\u3001\n                \"unit_amount\":5\u3001\n                \"active\":true\u3001\n                \"\u5143\u6570\u636e\":{\n                    \"key1\": \"value1\"\u3001\n                    \"key2\": \"value2\"\u3002\n                },\n                \"\u6635\u79f0\": \"fengli\"\u3001\n                \"\u4ea7\u54c1\u6570\u636e\":{\n                    \"id\":null\u3001\n                    \"name\": \"example product\"\u3001\n                    \"\u6d3b\u52a8\":true\u3001\n                    \"description\": \"\u975e\u5e38\u7f8e\u5473\"\u3001\n                    \"\u5143\u6570\u636e\":{\n                        \"key1\": \"value1\"\u3001\n                        \"key2\": \"value2\n                    },\n                    \"url\": \"www.example.com\"\n                },\n                \"billing_scheme\": \"testscheme\"\u3001\n                \"lookup_key\": \"test_lookup_key\" }.\n            },\n            \"\u6570\u91cf\":1\n        }\n    ]\n}<\/code><\/pre>\n\n\n\n<p><em>\u56de\u5e94<\/em><\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>{\n    \"id\":\"cs_1580071142008291328\",\n    \"\u5bf9\u8c61\": \"checkout.session\"\u3001\n    \"created\":1665553291000,\n    \"\u8d27\u5e01\": \"\u82f1\u9551\n    \"\u5ba2\u6237\":\"\"\u3001\n    \"\u6a21\u5f0f\": \"\u4ed8\u6b3e\n    \"livemode\":false\u3001\n    \"shipping\":null\u3001\n    \"status\": \"open\"\u3001\n  \"url\": \"https:\/\/checkouttest.wooshpay.com\/pay\/cs_test_1580071142008291328?key=pk_test_dGVzdDpXWUg1eUF4OXZpUUF4UHNoYmdRRjVTTTE=\"\u3001\n    \"cancel_url\": \"www.baidu.com\"\u3001\n    \"client_reference_id\":null\u3001\n    \"customer_email\":null\u3001\n    \"\u884c\u9879\u76ee\":{\n        \"\u5bf9\u8c61\": \"\u5217\u8868\n        \"\u6570\u636e\": {\n            {\n                \"id\":\"li_1580071142847152128\",\n                \"\u5bf9\u8c61\": \"\u9879\u76ee\"\u3001\n                \"currency\": \"GBP\"\u3001\n                \"description\": \"\u793a\u4f8b\u4ea7\u54c1\"\u3001\n                \"\u4ef7\u683c\":{\n                    \"id\":\"price_1580071142859735040\",\n                    \"\u5bf9\u8c61\": \"\u4ef7\u683c\n                    \"created\":1665553291000,\n                    \"\u6d3b\u52a8\":true\u3001\n                    \"currency\": \"GBP\"\u3001\n                    \"\u5143\u6570\u636e\":{\n                        \"key1\": \"value1\"\u3001\n                        \"key2\": \"value2\"\u3002\n                    },\n                    \"\u6635\u79f0\": \"fengli\"\u3001\n                    \"\u4ea7\u54c1\":{\n                        \"id\":\"prod_1580071142880706560\",\n                        \"\u5bf9\u8c61\": \"\u4ea7\u54c1\"\u3001\n                        \"created\":1665553291000,\n                        \"\u6d3b\u52a8\":true\u3001\n                        \"description\": \"\u67d0\u4e9b\u63cf\u8ff0\"\u3001\n                        \"\u5143\u6570\u636e\":{\n                            \"key1\": \"value1\"\u3001\n                            \"key2\": \"value2\"\u3002\n                        },\n                        \"name\": \"\u793a\u4f8b\u4ea7\u54c1\n                        \"livemode\":false\u3001\n                        \"url\": \"www.example.com\"\u3001\n                        \"updated\":1665553291000,\n                        \"\u56fe\u50cf\":null\n                    },\n                    \"\u7c7b\u578b\"\uff1a\"one_time\"\u3001\n                    \"livemode\":false\u3001\n                    \"unit_amount\":5\u3001\n                    \"billing_scheme\": \"per_unit\"\u3001\n                    \"lookup_key\": \"test_lookup_key\" }.\n                },\n                \"\u6570\u91cf\"\uff1a1\u3001\n                \"amount_subtotal\":5\u3001\n                \u91d1\u989d\u5c0f\u8ba1\":5, \"\u91d1\u989d\u603b\u8ba1\":5\n            }\n        ],\n        \"url\":null\u3001\n        \"has_more\":null\n    },\n    \"payment_intent\":\"pi_1580071150141046784\",\n    \"payment_method_types\":null\u3001\n    \"payment_status\": \"unpaid\"\u3001\n    \"success_url\": \"www.wooshpay.com\"\u3001\n    \"amount_subtotal\":5\u3001\n    \"amount_total\":5\u3001\n    \"billing_address_collection\": \"auto\"\u3001\n    \"expires_at\":1665639691214,\n    \"\u4ed8\u6b3e\u94fe\u63a5\":\"\"\u3001\n    \"\u4ed8\u6b3e\u65b9\u5f0f\u9009\u9879\":null\u3001\n    \"\u7535\u8bdd\u6536\u96c6\":null\u3001\n    \"\u6536\u8d27\u5730\u5740\":null\u3001\n    \"client_secret\":\"pi_1580071150141046784_secret_bsOGcAMewpe6orzCbZHMlomu\"\n}<\/code><\/pre>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"h-redirect-the-url\">\u91cd\u5b9a\u5411 URL<\/h2>\n\n\n\n<p>\u521b\u5efa\u7ed3\u8d26\u4f1a\u8bdd\u540e\uff0c\u5c06\u5ba2\u6237\u91cd\u5b9a\u5411\u5230\u54cd\u5e94\u4e2d\u8fd4\u56de\u7684 URL\u3002<\/p>","protected":false},"excerpt":{"rendered":"<p>Overview There are four steps to creating a complete checkout: Create a Product Products and prices are core resources for many WooshPay integrations. Products define what your business offers, whether that\u2019s goods or services. Request Response Create a Price Prices define how much and how often to charge for products. You can create single or [&hellip;]<\/p>","protected":false},"author":6,"featured_media":11943,"comment_status":"open","ping_status":"closed","template":"","meta":{"_uag_custom_page_level_css":"","footnotes":""},"doc_category":[315],"doc_tag":[322,321,323],"class_list":["post-11939","docs","type-docs","status-publish","has-post-thumbnail","hentry","doc_category-online-payments","doc_tag-cashier","doc_tag-checkout","doc_tag-payment"],"year_month":"2026-04","word_count":606,"total_views":"2240","reactions":{"happy":"0","normal":"0","sad":"1"},"author_info":{"name":"zhaozixu","author_nicename":"zhaozixu","author_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/author\/zhaozixu\/"},"doc_category_info":[{"term_name":"Online Payments","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-category\/online-payments\/"}],"doc_tag_info":[{"term_name":"cashier","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/cashier\/"},{"term_name":"checkout","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/checkout\/"},{"term_name":"payment","term_url":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/docs-tag\/payment\/"}],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v20.8 (Yoast SEO v24.9) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>WooshPay Checkout - WooshPay<\/title>\n<meta name=\"description\" content=\"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/\" \/>\n<meta property=\"og:locale\" content=\"zh_CN\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"WooshPay Checkout\" \/>\n<meta property=\"og:description\" content=\"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/\" \/>\n<meta property=\"og:site_name\" content=\"WooshPay\" \/>\n<meta property=\"article:modified_time\" content=\"2023-08-09T07:32:20+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1114\" \/>\n\t<meta property=\"og:image:height\" content=\"1560\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4\" \/>\n\t<meta name=\"twitter:data1\" content=\"1\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/\",\"url\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/\",\"name\":\"WooshPay Checkout - WooshPay\",\"isPartOf\":{\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png\",\"datePublished\":\"2023-08-05T08:32:15+00:00\",\"dateModified\":\"2023-08-09T07:32:20+00:00\",\"description\":\"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment\",\"breadcrumb\":{\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#breadcrumb\"},\"inLanguage\":\"zh-CN\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"zh-CN\",\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage\",\"url\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png\",\"contentUrl\":\"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png\",\"width\":1114,\"height\":1560,\"caption\":\"wooshpay checkout\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.wooshpay.com\/zh\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Docs\",\"item\":\"https:\/\/wooshpay.com\/fr\/docs\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WooshPay Checkout\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.wooshpay.com\/zh\/#website\",\"url\":\"https:\/\/www.wooshpay.com\/zh\/\",\"name\":\"WooshPay\",\"description\":\"One-stop payment platform\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.wooshpay.com\/zh\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"zh-CN\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"WooshPay Checkout - WooshPay","description":"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/","og_locale":"zh_CN","og_type":"article","og_title":"WooshPay Checkout","og_description":"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment","og_url":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/","og_site_name":"WooshPay","article_modified_time":"2023-08-09T07:32:20+00:00","og_image":[{"width":1114,"height":1560,"url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png","type":"image\/png"}],"twitter_card":"summary_large_image","twitter_misc":{"\u9884\u8ba1\u9605\u8bfb\u65f6\u95f4":"1\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/","url":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/","name":"WooshPay Checkout - WooshPay","isPartOf":{"@id":"https:\/\/www.wooshpay.com\/zh\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage"},"image":{"@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage"},"thumbnailUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png","datePublished":"2023-08-05T08:32:15+00:00","dateModified":"2023-08-09T07:32:20+00:00","description":"There are four steps to creating a complete checkout: Create a ProductCreate a PriceCreate a CheckoutJump to the cashier to complete the payment","breadcrumb":{"@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#breadcrumb"},"inLanguage":"zh-CN","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/"]}]},{"@type":"ImageObject","inLanguage":"zh-CN","@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#primaryimage","url":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png","contentUrl":"https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png","width":1114,"height":1560,"caption":"wooshpay checkout"},{"@type":"BreadcrumbList","@id":"https:\/\/wooshpay.com\/docs\/wooshpay-checkout\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.wooshpay.com\/zh\/"},{"@type":"ListItem","position":2,"name":"Docs","item":"https:\/\/wooshpay.com\/fr\/docs\/"},{"@type":"ListItem","position":3,"name":"WooshPay Checkout"}]},{"@type":"WebSite","@id":"https:\/\/www.wooshpay.com\/zh\/#website","url":"https:\/\/www.wooshpay.com\/zh\/","name":"WooshPay","description":"\u4e00\u7ad9\u5f0f\u652f\u4ed8\u5e73\u53f0","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.wooshpay.com\/zh\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"zh-CN"}]}},"uagb_featured_image_src":{"full":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png",1114,1560,false],"thumbnail":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-150x150.png",150,150,true],"medium":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-214x300.png",214,300,true],"medium_large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-768x1075.png",768,1075,true],"large":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-731x1024.png",731,1024,true],"1536x1536":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-1097x1536.png",1097,1536,true],"2048x2048":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration.png",1114,1560,false],"trp-custom-language-flag":["https:\/\/wooshpay-official-img.oss-accelerate.aliyuncs.com\/wp-content\/uploads\/2023\/08\/pic_Flexible-integration-9x12.png",9,12,true]},"uagb_author_info":{"display_name":"zhaozixu","author_link":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/author\/zhaozixu\/"},"uagb_comment_info":0,"uagb_excerpt":"Overview There are four steps to creating a complete checkout: Create a Product Products and prices are core resources for many WooshPay integrations. Products define what your business offers, whether that\u2019s goods or services. Request Response Create a Price Prices define how much and how often to charge for products. You can create single or&hellip;","_links":{"self":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/11939","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/comments?post=11939"}],"version-history":[{"count":0,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/docs\/11939\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media\/11943"}],"wp:attachment":[{"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/media?parent=11939"}],"wp:term":[{"taxonomy":"doc_category","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_category?post=11939"},{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/d2jcf4noflr1cd.cloudfront.net\/zh\/wp-json\/wp\/v2\/doc_tag?post=11939"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}