{"id":107269,"date":"2021-06-09T09:04:34","date_gmt":"2021-06-09T00:04:34","guid":{"rendered":"https:\/\/support.questetra.com\/?p=107269"},"modified":"2022-06-08T16:56:58","modified_gmt":"2022-06-08T07:56:58","slug":"stripe-customer-create-2021","status":"publish","type":"post","link":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-create-2021\/","title":{"rendered":"Stripe: Customer, Create"},"content":{"rendered":"\n<p class=\"wp-block-paragraph\"><div class=\"su-box su-box-style-soft\" id=\"\" style=\"border-color:#cc66cc;border-radius:0px;max-width:none\"><div class=\"su-box-title\" style=\"background-color:#ff99ff;color:#000000;border-top-left-radius:0px;border-top-right-radius:0px\">Stripe: Customer, Create<\/div><div class=\"su-box-content su-u-clearfix su-u-trim\" style=\"border-bottom-left-radius:0px;border-bottom-right-radius:0px\"> Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1\" data-anchor=\"configs\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Configs<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n<ul class=\"fa-ul\">\n<li><span class=\"fa-li\"><i class=\"fal fa-badge-check fa-lg\"><\/i><\/span> U: Select HTTP_Authz Setting<span style=\"color:#990000;\"> *<\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> B: Set Token<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> C1: Set Customer Email<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> C2: Set Customer Description (Registration Num, Corp Name, etc)<span style=\"color:#990000;\"> *<\/span><span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"far fa-pen-square fa-lg\"><\/i><\/span> C3: Set Customer Name (Contact Name, Trade Name, etc)<span style=\"color:#000099;\"><sup style=\"font-style:italic;\">#{EL}<\/sup><\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D1: Select STRING DATA for Stripe Customer ID (update)<span style=\"color:#990000;\"> *<\/span><\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D2: Select STRING DATA for Card Brand (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D3: Select STRING DATA for Card Last4 (update)<\/li>\n<li><span class=\"fa-li\"><i class=\"fal fa-caret-square-down fa-lg\"><\/i><\/span> D4: Select STRING\/YMDATE for Card Exp (update)<\/li>\n<\/ul>\n<\/div><\/div>\n\n\n<div class=\"su-spoiler su-spoiler-style-modern-light su-spoiler-icon-plus-square-1 su-spoiler-closed\" data-anchor=\"script\" data-scroll-offset=\"0\" data-anchor-in-url=\"no\"><div class=\"su-spoiler-title\" tabindex=\"0\" role=\"button\"><span class=\"su-spoiler-icon\"><\/span>Script (click to open)<\/div><div class=\"su-spoiler-content su-u-clearfix su-u-trim\">\n\n\n\n<div class=\"hcb_wrap\"><pre class=\"prism line-numbers lang-js\" data-lang=\"JavaScript\"><code>\/\/ GraalJS Script (engine type: 2)\n\n\/\/\/\/\/\/\/\/ START &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\nmain();\nfunction main(){ \n\n\/\/\/\/ == Config Retrieving \/ \u5de5\u7a0b\u30b3\u30f3\u30d5\u30a3\u30b0\u306e\u53c2\u7167 ==\nconst strAuthzSetting     = configs.get      ( &quot;AuthzConfU&quot; );   \/\/\/ REQUIRED\n  engine.log( &quot; AutomatedTask Config: Authz Setting: &quot; + strAuthzSetting );\nconst strTokenId       = configs.get( &quot;strSetConfB&quot;  ); \/\/ required\nconst strCustomerEmail = configs.get( &quot;strSetConfC1&quot; ); \/\/ required\nconst strCustomerDescr = configs.get( &quot;strSetConfC2&quot; ); \/\/ required\nconst strCustomerName  = configs.get( &quot;strSetConfC3&quot; ); \/\/ not\nconst pocketCustomerId = configs.getObject( &quot;SelectConfD1&quot; ); \/\/ required\nconst pocketCardBrand  = configs.getObject( &quot;SelectConfD2&quot; ); \/\/ not\nconst pocketCardLast4  = configs.getObject( &quot;SelectConfD3&quot; ); \/\/ not\nconst pocketCardExp    = configs.getObject( &quot;SelectConfD4&quot; ); \/\/ not *STRING\/YMDATE\n\nif( strTokenId === &quot;&quot; ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {Token ID B} is empty \\n&quot; );\n}\nif( strCustomerEmail === &quot;&quot; ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {CustomerEmail C1} is empty \\n&quot; );\n}\nif( strCustomerDescr === &quot;&quot; ){\n  throw new Error( &quot;\\n AutomatedTask ConfigError:&quot; +\n                   &quot; Config {CustomerDescription C2} is empty \\n&quot; );\n}\n\n\n\/\/\/\/ == Data Retrieving \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u306e\u53c2\u7167 ==\n\/\/ (nothing, except Expression Language config)\n\n\n\/\/\/\/ == Calculating \/ \u6f14\u7b97 ==\n\/\/\/ POST \/v1\/customers\n\/\/ https:\/\/stripe.com\/docs\/api\/customers\/create\n\/\/ https:\/\/stripe.com\/docs\/api\/authentication\n\/\/ If you need to authenticate via bearer auth (e.g., for a cross-origin request), \n\/\/ use -H &quot;Authorization: Bearer sk_xxx&quot; instead of -u sk_test_xxx.\n\n\/\/ preparing for API Request\nlet apiUri = &quot;https:\/\/api.stripe.com\/v1\/customers&quot;;\nlet apiRequest = httpClient.begin(); \/\/ HttpRequestWrapper\n    apiRequest = apiRequest.authSetting( strAuthzSetting ); \/\/ with &quot;Authorization: Bearer XX&quot;\n    \/\/ https:\/\/questetra.zendesk.com\/hc\/en-us\/articles\/360024574471-R2300#HttpRequestWrapper\n    apiRequest = apiRequest.formParam( &quot;source&quot;,      strTokenId );\n    apiRequest = apiRequest.formParam( &quot;email&quot;,       strCustomerEmail );\n    apiRequest = apiRequest.formParam( &quot;description&quot;, strCustomerDescr );\n    apiRequest = apiRequest.formParam( &quot;name&quot;,        strCustomerName );\n\n\/\/ throwing Request to the API (POST, GET, PUT, etc)\nengine.log( &quot; AutomatedTask Trying: POST &quot; + apiUri );\nconst response = apiRequest.post( apiUri );\nconst responseCode = response.getStatusCode() + &quot;&quot;;\nengine.log( &quot; AutomatedTask ApiResponse: Status &quot; + responseCode );\nif( responseCode !== &quot;200&quot;){\n  throw new Error( &quot;\\n AutomatedTask UnexpectedResponseError: &quot; +\n                    responseCode + &quot;\\n&quot; + response.getResponseAsString() + &quot;\\n&quot; );\n} \/\/ C.F. https:\/\/stripe.com\/docs\/api\/errors\n\n\/\/ parsing Response Json\nconst responseStr = response.getResponseAsString() + &quot;&quot;;\n\/\/engine.log( &quot; DEBUG for api upgrade: \\n&quot; + responseStr );\nconst responseObj = JSON.parse( responseStr );\nengine.log( &quot; AutomatedTask ApiResponse:&quot; +\n            &quot; New CustomerObject ID: &quot; + responseObj.id );\nengine.log( &quot; AutomatedTask ApiResponse:&quot; +\n            &quot; Card Brand: &quot; + responseObj.sources.data[0].brand );\n\n\n\/\/\/\/ == Data Updating \/ \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30c7\u30fc\u30bf\u3078\u306e\u4ee3\u5165 ==\nengine.setData( pocketCustomerId, responseObj.id );\nif( pocketCardBrand !== null ){ \/\/ STRING\n  engine.setData( pocketCardBrand, responseObj.sources.data[0].brand );\n}\nif( pocketCardLast4 !== null ){ \/\/ STRING\n  engine.setData( pocketCardLast4, responseObj.sources.data[0].last4 );\n}\nif( pocketCardExp !== null ){ \/\/ STRING or YMDATE\n  if( pocketCardExp.matchDataType( &quot;STRING&quot; ) ){\n    engine.setData( pocketCardExp, \n         (&quot;0&quot; + responseObj.sources.data[0].exp_month).slice(-2) + &quot;\/&quot; +\n         responseObj.sources.data[0].exp_year );\n  }else{\n    engine.setData( pocketCardExp, \n         java.sql.Date.valueOf(\n           responseObj.sources.data[0].exp_year + &quot;-&quot; +\n           (&quot;0&quot; + responseObj.sources.data[0].exp_month).slice(-2) + &quot;-01&quot;\n         )\n    );\n  }\n}\n\n} \/\/\/\/\/\/\/\/ END &quot;main()&quot; \/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\n\n\/*\nNotes:\n- Create a &quot;Customer object&quot; on Stripe using Token.\n    - An environment for recurring charges will be built on Stripe.\n    - Eg. place it after the &quot;Payment card registration&quot; step in the order handling workflow.\n- A Tokenization mechanism (card registration form) is required.\n    - Refer to the sample below for how to implement the card registration form (tokenization).\n        - &quot;Elements&quot; (custom payment forms)\n            - https:\/\/stripe.com\/docs\/stripe-js\n            - https:\/\/support.questetra.com\/tips\/form-decoration-examples\/#tokenize\n        - &quot;Checkout&quot; (forms hosted on Stripe)\n            - https:\/\/stripe.com\/docs\/payments\/checkout\n- Use the customer object ID (CustomerID) for flat-rate billing and usage billing.\n    - Can be obtained in this creation process. Example &quot;cus_XXXXXYYYYYZZZZ&quot;\n\nNotes(ja):\n- Token \u3092\u5229\u7528\u3057\u3066 Stripe \u4e0a\u306b &quot;\u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8&quot; \u3092\u751f\u6210\u3057\u307e\u3059\u3002\n    - Stripe\u4e0a\u306b\u300c\u7d99\u7d9a\u7684\u306a\u8ab2\u91d1\u3092\u5b9f\u73fe\u3059\u308b\u305f\u3081\u306e\u74b0\u5883\u300d\u304c\u69cb\u7bc9\u3055\u308c\u307e\u3059\u3002\n    - \u305f\u3068\u3048\u3070\u3001\u53d7\u6ce8\u5bfe\u5fdc\u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u306b\u304a\u3051\u308b\u300c\u6c7a\u6e08\u30ab\u30fc\u30c9\u306e\u767b\u9332\u300d\u306e\u5de5\u7a0b\u306e\u76f4\u5f8c\u306b\u914d\u7f6e\u3057\u307e\u3059\u3002\n- Token \u5316\u306e\u4ed5\u7d44\u307f\uff08\u30ab\u30fc\u30c9\u767b\u9332\u30d5\u30a9\u30fc\u30e0\uff09\u304c\u5225\u9014\u5fc5\u8981\u3067\u3059\u3002\n    - \u30ab\u30fc\u30c9\u767b\u9332\u30d5\u30a9\u30fc\u30e0\uff08\u30c8\u30fc\u30af\u30f3\u5316\uff09\u306e\u5b9f\u88c5\u65b9\u6cd5\u306f\u4ee5\u4e0b\u306e\u30b5\u30f3\u30d7\u30eb\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n        - &quot;Elements&quot; (custom payment forms)\n            - https:\/\/stripe.com\/docs\/stripe-js\n            - https:\/\/support.questetra.com\/ja\/tips\/form-decoration-examples\/#tokenize\n        - &quot;Checkout&quot; (forms hosted on Stripe)\n            - https:\/\/stripe.com\/docs\/payments\/checkout\n- \u5b9a\u984d\u8ab2\u91d1\u3084\u5229\u7528\u91cf\u8ab2\u91d1\u306e\u969b\u306b\u306f\u3001\u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306eID\uff08CustomerID\uff09\u3092\u4f7f\u7528\u3057\u307e\u3059\u3002\n    - \u751f\u6210\u5de5\u7a0b\u3067\u53d6\u5f97\u53ef\u80fd\u3067\u3059\u3002 \u4f8b &quot;cus_XXXXXYYYYYZZZZ&quot;\n\nAPPENDIX\n- PCI DSS Compliance (SAQ A) is to ensure that payment card data never touches any server.\n    - https:\/\/stripe.com\/docs\/security\/guide\n    - This automated step allows you to build a system that does not retain sensitive info with no-code.\n- Set Stripe SecretKey in &quot;HTTP Authentication&quot; &gt; &quot;Token Fixed Value&quot;\n    -&quot;sk_live_XXXXXyyyyyZZZZZxxxxxYYYY&quot; (32 letters)\n- For the contents of the error code (ResponseCode other than 200)\n    - https:\/\/stripe.com\/docs\/api\/errors\n- When migrating from the old version (2020-06-03), add a new one instead of updating.\n    - The method of setting SecretKey has changed. (To be hidden)\n    - https:\/\/support.questetra.com\/addons\/stripe-customer-object-create\/\n    - Add a new Addon to the workflow app (Maage Add-on &gt; Definition of Service task &gt; Add)\n    - Added &quot;Token Fixed Value&quot; at &quot;HTTP Authz Settings&quot;\n    - In the modeler, place the new version of the add-on and remove the old version of the add-on.\n    - Release workflow app.\n\nAPPENDIX-ja\n- PCI DSS \u300c\u30ab\u30fc\u30c9\u60c5\u5831\u306e\u975e\u4fdd\u6301\u300d(SAQ A)\u306b\u306f\u3001\u30ab\u30fc\u30c9\u60c5\u5831\u306f\u3044\u304b\u306a\u308b\u30b5\u30fc\u30d0\u3082\u7d4c\u7531\u3057\u3066\u306f\u3044\u3051\u307e\u305b\u3093\u3002\n    - https:\/\/stripe.com\/docs\/security\/guide\n    - \u3053\u306e\u81ea\u52d5\u5de5\u7a0b\u3092\u6d3b\u7528\u3059\u308c\u3070\u3001\u30bb\u30f3\u30b7\u30c6\u30a3\u30d6\u60c5\u5831\u3092\u4fdd\u6301\u3057\u306a\u3044\u4ed5\u7d44\u307f\uff08\u5b8c\u5168\u59d4\u8a17\uff09\u3092\u30ce\u30fc\u30b3\u30fc\u30c9\u958b\u767a\u3067\u304d\u307e\u3059\u3002\n- Stripe SecretKey \u306f &quot;HTTP\u8a8d\u8a3c\u8a2d\u5b9a&quot; \uff1e &quot;\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a&quot; \u306b\u3066\u30bb\u30c3\u30c8\u3057\u3066\u304f\u3060\u3055\u3044\n    - &quot;sk_live_XXXXXyyyyyZZZZZxxxxxYYYY&quot; (32\u6587\u5b57)\n- \u30a8\u30e9\u30fc\u30b3\u30fc\u30c9\uff08200\u4ee5\u5916\u306eResponseCode\uff09\u306e\u5185\u5bb9\u306b\u3064\u3044\u3066\u306f\u4ee5\u4e0b\u3092\u53c2\u7167\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - https:\/\/stripe.com\/docs\/api\/errors\n- \u65e7\u7248(2020-06-03)\u304b\u3089\u79fb\u884c\u3059\u308b\u5834\u5408\u3001\u66f4\u65b0\u3067\u306f\u306a\u304f\u3001\u65b0\u898f\u306b\u8ffd\u52a0\u3057\u3066\u304f\u3060\u3055\u3044\u3002\n    - SecretKey \u306e\u8a2d\u5b9a\u65b9\u6cd5\u304c\u5909\u66f4\u3055\u308c\u3066\u3044\u307e\u3059\u3002\uff08\u96a0\u853d\u5316\uff09\n    - https:\/\/support.questetra.com\/ja\/addons\/stripe-customer-object-create\/\n    - \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u306b\u3001\u65b0\u3057\u3044Addon\u3092\u8ffd\u52a0 \uff08\u30a2\u30c9\u30aa\u30f3\u306e\u7ba1\u7406 \uff1e \u30b5\u30fc\u30d3\u30b9\u30bf\u30b9\u30af\u5b9a\u7fa9\u30d5\u30a1\u30a4\u30eb \uff1e \u8ffd\u52a0\uff09\n    - &quot;HTTP\u8a8d\u8a3c\u8a2d\u5b9a&quot; \u304b\u3089 &quot;\u30c8\u30fc\u30af\u30f3\u76f4\u63a5\u6307\u5b9a&quot; \u3092\u8ffd\u52a0\n    - \u30e2\u30c7\u30e9\u3067\u3001\u65b0\u7248\u306e\u30a2\u30c9\u30aa\u30f3\u3092\u914d\u7f6e\u3057\u3001\u65e7\u7248\u306e\u30a2\u30c9\u30aa\u30f3\u3092\u524a\u9664\n    - \u30ef\u30fc\u30af\u30d5\u30ed\u30fc\u30a2\u30d7\u30ea\u3092\u30d0\u30fc\u30b8\u30e7\u30f3\u30a2\u30c3\u30d7\uff08\u30ea\u30ea\u30fc\u30b9\uff09\n*\/\n\n<\/code><\/pre><\/div>\n\n\n<\/div><\/div>\n\n\n\n<div class=\"wp-block-image\"><figure class=\"alignright\"><a href=\"#\"><img decoding=\"async\" src=\"data:image;base64,\niVBORw0KGgoAAAANSUhEUgAAACAAAAAgCAYAAABzenr0AAADaUlEQVRYR8WXSUwTYRTH\/x9bS8tS\nKCWIbLFElkgiICQdw2I0xujB6MGo0cRojOBJEy0HLyQmJlQDnoSLXDQYLibGNUoili0sAoKGICAE\nLLKWRVpKW+YzHWiBtpQpYGau897\/\/ea9973vDYHAD+EbP7O4TSKRLp0llBwBRToIEgCErfrPgGII\nBB2U0M9Gg+jl1+JDRj7aWwLka1qiWGotAkEBADEfUQAmUFT4EL+SWnX2mCcfjwA5JU0FhNBHAKQ8\nAzubGSgld+qKVBWb+W8KkKdpekJBC7cZeIMbASn\/olbddKflFiBH01hFgAu7EdyuQYEXdWrmorOm\nC8BufrlrMNdMbABYrXn5bn65sxalpHB9TzgAuG6HtX8HDceX2+ADv0T76XAA5JY0loHgFl+VHdlR\nPNYWMbdtGhyAbchIJeZpL875juLb5oTBGCC3DSsOIOdhwyVCyTNvVRXBAYgKEaFb99dbV1BCL9fd\nPfycA8jVND4FcNWTSt5+OaQiX7zrnnCY3T+dhMz4UJR++oWanilvISq1aubaCkBJYzsI0p0VVPvC\nIAnwhb8fwY3ceOhmTahq1sHf1weWZRaRISLEhYtR3zeDYLEfDGYrWBZoH55DgjwQSoUUA5MGDE0v\nusJRdGiLmAx7BvTrLhbO+N6pRBxLicCihcX0ghmx4YEwmZfRN2FAWkwILFYWUwtmyCT+6ByZh0oZ\nBpalsCxTvP8+gaMpEfAhgMnCQvNhAM2Ds84QM1o1E24HoM5vH5xJhkop48Tr+vS4nhOHnj8LGJtf\nwvFUBapbR5EaHYTkqCDOJitBhtahWWQlhGJYb0K8PBDD04uIlolR3TaKyvoRlyxo1QzZFCAjLhTn\ns6M5wYb+Ga7WvWMLGJ1bAahq0eFAdDBS9qwBdI7M4WBsKAanjFAqJOj6PQ+90QLtTz1qe22HbOOz\nHsClBKXnUrmgS1YWr7+NIz9JjoigAK6ee2ViFwBGubIazC9a8aZrHCfTIrnyGM3LKKsZxMcfkx5K\nsEkT8m1r9QmlIyvuUu1Wx6kJtzyGnmCuMDFgEsPxtmscrzrH+XKvHcPtDiK+kdzZbRhEgo\/i1WEk\n3GVkAxD8OuYupZUlVJiFxN4ogq5kdghBl9L\/kQmv13JHJoT8MbFDCPprtn6CCfZzupNxy8f3Hyxn\noTBfuPFrAAAAAElFTkSuQmCC\n\" alt=\"\"\/><\/a><\/figure><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-cloud-download-alt\"><\/i> Download<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li><a href=\"https:\/\/drive.google.com\/file\/d\/1IsQqiAhkaUeGR38AqlzDKJS8zurYVMNS\/view?usp=drivesdk\" target=\"_blank\" rel=\"noreferrer noopener\">Stripe-Customer-Create-2021.xml<\/a><\/li><\/ul>\n\n\n\n<p class=\"has-text-align-right has-small-font-size wp-block-paragraph\">2021-06-07 (C) Questetra, Inc. (MIT License)<br><a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-create-2021\/\">https:\/\/support.questetra.com\/addons\/stripe-customer-create-2021\/<\/a><br><i class=\"fal fa-info-circle\"><\/i> The Addon-import feature is available with <span style=\"color:#4a86e8\" class=\"has-inline-color\"><strong>Professional<\/strong><\/span> edition.<\/p>\n\n\n<div class=\"su-divider su-divider-style-dashed\" style=\"margin:30px 0;border-width:8px;border-color:#009900\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-lightbulb-exclamation\"><\/i> Notes<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>Create a &#8220;Customer object&#8221; on Stripe using Token.<ul><li>An environment for recurring charges will be built on Stripe.<\/li><li>Eg. place it after the &#8220;Payment card registration&#8221; step in the order handling workflow.<\/li><\/ul><\/li><li>A Tokenization mechanism (card registration form) is required.<ul><li>Refer to the sample below for how to implement the card registration form (tokenization).<ul><li>&#8220;Elements&#8221; (custom payment forms)<ul><li><a href=\"https:\/\/stripe.com\/docs\/stripe-js\" rel=\"nofollow\">https:\/\/stripe.com\/docs\/stripe-js<\/a><\/li><li><a href=\"https:\/\/support.questetra.com\/tips\/form-decoration-examples\/#tokenize\">https:\/\/support.questetra.com\/tips\/form-decoration-examples\/#tokenize<\/a><\/li><\/ul><\/li><li>&#8220;Checkout&#8221; (forms hosted on Stripe)<ul><li><a href=\"https:\/\/stripe.com\/docs\/payments\/checkout\" rel=\"nofollow\">https:\/\/stripe.com\/docs\/payments\/checkout<\/a><\/li><\/ul><\/li><\/ul><\/li><\/ul><\/li><li>Use the customer object ID (CustomerID) for flat-rate billing and usage billing.<ul><li>Can be obtained in this creation process. Example &#8220;cus_XXXXXYYYYYZZZZ&#8221;<\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-images\"><\/i> Capture<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"107272\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-create-2021\/attachment\/stripe-customer-create-2021-capture-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"stripe-customer-create-2021-capture-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?resize=1200%2C675&#038;ssl=1\" alt=\"Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.\" class=\"wp-image-107272\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-capture-en.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/a><\/figure>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default q-box\"><a href=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?ssl=1\" target=\"_blank\" rel=\"noopener\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"991\" height=\"1144\" data-attachment-id=\"107275\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-create-2021\/attachment\/stripe-customer-create-2021-config-en\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?fit=991%2C1144&amp;ssl=1\" data-orig-size=\"991,1144\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"stripe-customer-create-2021-config-en\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?fit=546%2C630&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?resize=991%2C1144&#038;ssl=1\" alt=\"Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.\" class=\"wp-image-107275\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?w=991&amp;ssl=1 991w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?resize=273%2C315&amp;ssl=1 273w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?resize=546%2C630&amp;ssl=1 546w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-config-en.png?resize=768%2C887&amp;ssl=1 768w\" sizes=\"auto, (max-width: 991px) 100vw, 991px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-book\"><\/i> Appendix<\/h3>\n\n\n\n<ul class=\"wp-block-list\"><li>PCI DSS Compliance (SAQ A) is to ensure that payment card data never touches any server.<ul><li><a href=\"https:\/\/stripe.com\/docs\/security\/guide\" rel=\"nofollow\">https:\/\/stripe.com\/docs\/security\/guide<\/a><\/li><li>This automated step allows you to build a system that does not retain sensitive info with no-code.<\/li><\/ul><\/li><li>Set Stripe SecretKey in &#8220;HTTP Authentication&#8221; &gt; &#8220;Token Fixed Value&#8221;<ul><li>&#8220;sk_live_XXXXXyyyyyZZZZZxxxxxYYYY&#8221; (32 letters)<\/li><\/ul><\/li><li>For the contents of the error code (ResponseCode other than 200)<ul><li><a href=\"https:\/\/stripe.com\/docs\/api\/errors\" rel=\"nofollow\">https:\/\/stripe.com\/docs\/api\/errors<\/a><\/li><\/ul><\/li><li>When migrating from the old version (2020-06-03), add a new one instead of updating.<ul><li>The method of setting SecretKey has changed. (To be hidden)<\/li><li><a href=\"https:\/\/support.questetra.com\/addons\/stripe-customer-object-create\/\">https:\/\/support.questetra.com\/addons\/stripe-customer-object-create\/<\/a><\/li><li>Add a new Addon to the workflow app (Maage Add-on &gt; Definition of Service task &gt; Add)<\/li><li>Added &#8220;Token Fixed Value&#8221; at &#8220;HTTP Authz Settings&#8221;<\/li><li>In the modeler, place the new version of the add-on and remove the old version of the add-on.<\/li><li>Release workflow app.<\/li><\/ul><\/li><\/ul>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-university\"><\/i> Glossary<\/h3>\n\n\n\n<figure class=\"wp-block-image size-full is-style-default\"><img data-recalc-dims=\"1\" loading=\"lazy\" decoding=\"async\" width=\"1200\" height=\"675\" data-attachment-id=\"88717\" data-permalink=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-object-create\/attachment\/stripe-payment-payout-transfer-2\/\" data-orig-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?fit=1200%2C675&amp;ssl=1\" data-orig-size=\"1200,675\" data-comments-opened=\"0\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"stripe-payment-payout-transfer\" data-image-description=\"\" data-image-caption=\"\" data-large-file=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?fit=1024%2C576&amp;ssl=1\" src=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?resize=1200%2C675&#038;ssl=1\" alt=\"\" class=\"wp-image-88717\" srcset=\"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?w=1200&amp;ssl=1 1200w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?resize=560%2C315&amp;ssl=1 560w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/stripe-payment-payout-transfer.png?resize=768%2C432&amp;ssl=1 768w\" sizes=\"auto, (max-width: 1000px) 100vw, 1000px\" \/><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\"><i class=\"fal fa-balance-scale\"><\/i> See also<\/h3>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"CcWJN5wS5D\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-charge-2021\/\">Stripe: Customer, Charge<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Stripe: Customer, Charge&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/stripe-customer-charge-2021\/embed\/#?secret=WrOtrdBkk7#?secret=CcWJN5wS5D\" data-secret=\"CcWJN5wS5D\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n\n\n\n<figure class=\"wp-block-embed is-type-wp-embed is-provider-questetra-support wp-block-embed-questetra-support\"><div class=\"wp-block-embed__wrapper\">\n<blockquote class=\"wp-embedded-content\" data-secret=\"nmnizkUHVr\"><a href=\"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-destination-charge-2021\/\">Stripe: Customer, Destination Charge<\/a><\/blockquote><iframe loading=\"lazy\" class=\"wp-embedded-content\" sandbox=\"allow-scripts\" security=\"restricted\" style=\"position: absolute; clip: rect(1px, 1px, 1px, 1px);\" title=\"&#8220;Stripe: Customer, Destination Charge&#8221; &#8212; Questetra Support\" src=\"https:\/\/support.questetra.com\/addons\/stripe-customer-destination-charge-2021\/embed\/#?secret=Ln8GdOsdGt#?secret=nmnizkUHVr\" data-secret=\"nmnizkUHVr\" width=\"500\" height=\"282\" frameborder=\"0\" marginwidth=\"0\" marginheight=\"0\" scrolling=\"no\"><\/iframe>\n<\/div><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.<\/p>\n","protected":false},"author":2,"featured_media":107270,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_coblocks_attr":"","_coblocks_dimensions":"","_coblocks_responsive_height":"","_coblocks_accordion_ie_support":"","_uag_custom_page_level_css":"","advanced_seo_description":"Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.","jetpack_seo_html_title":"","jetpack_seo_noindex":false,"jetpack_seo_schema_type":"","_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_wpcom_ai_launchpad_first_post":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"{title}\n\n{excerpt}\n\n{url}","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"_wpas_customize_per_network":false,"jetpack_post_was_ever_published":false},"categories":[168],"tags":[3167,404],"class_list":["post-107269","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-addons","tag-authsetting","tag-stripe-api"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1","uagb_featured_image_src":{"full":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,false],"thumbnail":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=440%2C440&ssl=1",440,440,true],"medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=560%2C315&ssl=1",560,315,true],"medium_large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=768%2C432&ssl=1",768,432,true],"large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1024%2C576&ssl=1",1024,576,true],"1536x1536":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"2048x2048":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-portrait-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=900%2C675&ssl=1",900,675,true],"newspack-article-block-square-large":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=1200%2C675&ssl=1",1200,675,true],"newspack-article-block-landscape-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=800%2C600&ssl=1",800,600,true],"newspack-article-block-portrait-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=600%2C675&ssl=1",600,675,true],"newspack-article-block-square-medium":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=800%2C675&ssl=1",800,675,true],"newspack-article-block-landscape-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=600%2C450&ssl=1",600,450,true],"newspack-article-block-portrait-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=450%2C600&ssl=1",450,600,true],"newspack-article-block-square-intermediate":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=600%2C600&ssl=1",600,600,true],"newspack-article-block-landscape-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=400%2C300&ssl=1",400,300,true],"newspack-article-block-portrait-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=300%2C400&ssl=1",300,400,true],"newspack-article-block-square-small":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=400%2C400&ssl=1",400,400,true],"newspack-article-block-landscape-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=200%2C150&ssl=1",200,150,true],"newspack-article-block-portrait-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=150%2C200&ssl=1",150,200,true],"newspack-article-block-square-tiny":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?resize=200%2C200&ssl=1",200,200,true],"newspack-article-block-uncropped":["https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2021\/06\/stripe-customer-create-2021-workflow-en.png?fit=1200%2C675&ssl=1",1200,675,true]},"uagb_author_info":{"display_name":"IMAMURA, Genichi","author_link":"https:\/\/support.questetra.com\/en\/author\/imamuragenichi\/"},"uagb_comment_info":6,"uagb_excerpt":"Creates a Customer object on the payment platform Stripe. Customer objects allow you to perform recurring charges. Note that it is necessary to implement tokenization mechanism that directly interacts with the customer browser and Stripe in advance.","jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/p9DiIh-rU9","jetpack_likes_enabled":true,"jetpack-related-posts":[{"id":88633,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customer-object-create\/","url_meta":{"origin":107269,"position":0},"title":"Stripe: Customer Object, Create","author":"IMAMURA, Genichi","date":"2020-06-03","format":false,"excerpt":"Creates the Customer object on the payment platform Stripe. Once the object is created, subsequent card billing is possible. Token ID and the customer email etc are required. Realizes a billing environment that does not touch sensitive info.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Customer Object, Create","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":67480,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-customercreate\/","url_meta":{"origin":107269,"position":1},"title":"Stripe Customer ID Create from Token","author":"Hirotaka NISHI","date":"2017-09-01","format":false,"excerpt":"Registers a customer in Stripe by using the ID which tokenized credit card information. Customer ID used for billing, last 4 digits of the credit card, status of registration processing, and communication log are stored in Data Item. *Note It requires acquiring Secret Key at Stripe Dashboard in advance Supported\u2026","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/09\/stripe-customer-create-header.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/09\/stripe-customer-create-header.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/09\/stripe-customer-create-header.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/09\/stripe-customer-create-header.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2017\/09\/stripe-customer-create-header.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88658,"url":"https:\/\/support.questetra.com\/en\/addons\/stripe-charge-object-create\/","url_meta":{"origin":107269,"position":2},"title":"Stripe: Charge Object, Create","author":"IMAMURA, Genichi","date":"2020-06-03","format":false,"excerpt":"Creates the Charge object on the payment platform Stripe to charge the Customer ID (cus_12345678901234) for any amount in any currency. If the charging process fails, Charge object is not created and error log such as expired_card is output.","rel":"","context":"In &quot;Add-ons&quot;","block_context":{"text":"Add-ons","link":"https:\/\/support.questetra.com\/en\/category\/addons\/"},"img":{"alt_text":"Stripe: Charge Object, Create","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Charge-Object-Create-en.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":88640,"url":"https:\/\/support.questetra.com\/ja\/addons\/stripe-customer-object-create\/","url_meta":{"origin":107269,"position":3},"title":"Stripe: \u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8, \u751f\u6210","author":"IMAMURA, Genichi","date":"2020-06-03","format":false,"excerpt":"\u6c7a\u6e08\u30d7\u30e9\u30c3\u30c8\u30d5\u30a9\u30fc\u30e0Stripe\u4e0a\u306b \"\u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\" \u3092\u751f\u6210\u3057\u307e\u3059\u3002\u30aa\u30d6\u30b8\u30a7\u30af\u30c8\u306e\u767b\u9332\u306b\u3088\u308a\u3001\u305d\u306e\u5f8c\u306e\u7d99\u7d9a\u7684\u306a\u30ab\u30fc\u30c9\u8ab2\u91d1\u304c\u53ef\u80fd\u3068\u306a\u308a\u307e\u3059\u3002\u5951\u7d04\u306e\u6210\u7acb\u3092\u793a\u3059\u30c8\u30fc\u30af\u30f3ID\uff08tok_123456789012345678901234\uff09\u3068\u30e1\u30fc\u30eb\u30a2\u30c9\u30ec\u30b9\u7b49\u306e\u9867\u5ba2\u60c5\u5831\u304c\u5fc5\u8981\u3067\u3059\u3002\u901a\u5e38\u30c8\u30fc\u30af\u30f3ID\u306f\u30d6\u30e9\u30a6\u30b6\u5074\u3067\u751f\u6210\u3055\u308c\u308b\u305f\u3081\u3001\u30bb\u30f3\u30b7\u30c6\u30a3\u30d6\u60c5\u5831\u306e\u975e\u4fdd\u6301\u975e\u901a\u904e\u3092\u5b9f\u73fe\u3067\u304d\u307e\u3059\u3002","rel":"","context":"In &quot;\u30a2\u30c9\u30aa\u30f3&quot;","block_context":{"text":"\u30a2\u30c9\u30aa\u30f3","link":"https:\/\/support.questetra.com\/ja\/category\/addons\/"},"img":{"alt_text":"Stripe: \u9867\u5ba2\u30aa\u30d6\u30b8\u30a7\u30af\u30c8, \u751f\u6210","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=350%2C200 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=525%2C300 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=700%2C400 2x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/06\/Stripe-Customer-Object-Create-ja.png?fit=1200%2C675&ssl=1&resize=1050%2C600 3x"},"classes":[]},{"id":159586,"url":"https:\/\/support.questetra.com\/en\/templates\/online-sales-for-subscription-by-stripe-20220121\/","url_meta":{"origin":107269,"position":4},"title":"Application\/Regular Payment App, Stripe Payment","author":"Tsuyoshi Kusaka","date":"2024-04-02","format":false,"excerpt":"This workflow accepts subscription contract applications. The customer makes a provisional subscription through a web form and clicks on the URL in the acceptance email to complete the subscription. At the time of subscription, the credit card information is registered with Stripe. The customer is billed on a regular basis\u2026","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/online-sales-for-subscription-by-stripe-20220121-capture2-ja.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/online-sales-for-subscription-by-stripe-20220121-capture2-ja.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/online-sales-for-subscription-by-stripe-20220121-capture2-ja.png?resize=525%2C300&ssl=1 1.5x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2022\/01\/online-sales-for-subscription-by-stripe-20220121-capture2-ja.png?resize=700%2C400&ssl=1 2x"},"classes":[]},{"id":160018,"url":"https:\/\/support.questetra.com\/en\/templates\/online-sales-for-subscription-by-stripe-20211120\/","url_meta":{"origin":107269,"position":5},"title":"Recurring Payment App, Stripe Payment","author":"furuzo","date":"2024-04-15","format":false,"excerpt":"This workflow accepts subscription applications online. The customer makes a provisional application online using the trial version ID as a key. After the provisional subscription, the customer enters credit card information to make a full subscription. Billing is done periodically via Stripe.","rel":"","context":"In &quot;Workflow Apps&quot;","block_context":{"text":"Workflow Apps","link":"https:\/\/support.questetra.com\/en\/category\/templates\/"},"img":{"alt_text":"","src":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=350%2C200&ssl=1","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=350%2C200&ssl=1 1x, https:\/\/i0.wp.com\/support.questetra.com\/wp-content\/uploads\/2020\/12\/business-apps-dammy.png?resize=525%2C300&ssl=1 1.5x"},"classes":[]}],"amp_enabled":false,"_links":{"self":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107269","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/comments?post=107269"}],"version-history":[{"count":6,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107269\/revisions"}],"predecessor-version":[{"id":107349,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/posts\/107269\/revisions\/107349"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media\/107270"}],"wp:attachment":[{"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/media?parent=107269"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/categories?post=107269"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/support.questetra.com\/en\/wp-json\/wp\/v2\/tags?post=107269"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}