import CheckoutIntents from 'checkout-intents'; const client = new CheckoutIntents({ apiKey: "RYE/staging-ec7a06d0ba5647ee824a", }); // Step 1: Create checkout intent + poll until awaiting confirmation const intent = await client.checkoutIntents.createAndPoll({ productUrl: "https://flybyjing.com/collections/shop/products/the-big-boi", quantity: 1, buyer: { firstName: "John", lastName: "Doe", email: "john.doe@example.com", phone: "212-333-2121", address1: "123 Main St", city: "New York", province: "NY", postalCode: "10001", country: "US", }, }); // Step 2: Review offer details (price, shipping, taxes) console.log("Offer:", intent.offer); // Step 3: Confirm with payment + poll until completed const completedIntent = await client.checkoutIntents.confirmAndPoll(intent.id, { paymentMethod: { type: "stripe_token", stripeToken: "tok_visa", }, }); // Step 4: Handle result if (completedIntent.state === "completed") { console.log("Order placed successfully!", completedIntent); } else if (completedIntent.state === "failed") { console.error("Order failed:", completedIntent.failureReason); } 穿亞曼尼的中醫長篇小說第一部曲「迴」 後記 跳至主要內容

穿亞曼尼的中醫長篇小說第一部曲「迴」 後記

第一部曲「迴」 後記 感謝所有讀者的支持和鼓勵,「穿亞曼尼的中醫」之第一部曲「迴」,已全部連載完畢。第一次提筆構思這個故事大約是七年多前,由於生活諸事繁忙,能寫作的時間相當有限,斷斷續續地寫,最後居然超過了十萬字,成了長篇小說。就像許多小說的創作者一樣,寫著寫著,筆下的人物,開始有了他們自己的生命,甚至一本書還寫不完,因而有了三部曲的構想。相較於第一部曲著重在主角的心路歷程以及周圍人事物對他的衝擊,第二部曲「易」始於一連串的轉折,促成了主角的專職行醫之路,藉由中醫治病的思維,探索每一個病人帶來的啟示。主角在第一部曲中,看著自己與身邊人擺盪在工作﹑感情﹑婚姻﹑親子種種關係的選擇與煎熬,在第二部曲中將藉由與病人的互動,會有更多新的體悟。而中醫博大精深的理論,驗證於現實治病時處理的疑難雜症,有出乎想像的簡單容易,也有著意想不到的曲折變易,這是第二部曲之所以名為「易」的原因,敬請期待!

留言

import CheckoutIntents from 'checkout-intents'; const client = new CheckoutIntents({ apiKey: "RYE/staging-ec7a06d0ba5647ee824a", }); // Step 1: Create checkout intent + poll until awaiting confirmation const intent = await client.checkoutIntents.createAndPoll({ productUrl: "https://flybyjing.com/collections/shop/products/the-big-boi", quantity: 1, buyer: { firstName: "John", lastName: "Doe", email: "john.doe@example.com", phone: "212-333-2121", address1: "123 Main St", city: "New York", province: "NY", postalCode: "10001", country: "US", }, }); // Step 2: Review offer details (price, shipping, taxes) console.log("Offer:", intent.offer); // Step 3: Confirm with payment + poll until completed const completedIntent = await client.checkoutIntents.confirmAndPoll(intent.id, { paymentMethod: { type: "stripe_token", stripeToken: "tok_visa", }, }); // Step 4: Handle result if (completedIntent.state === "completed") { console.log("Order placed successfully!", completedIntent); } else if (completedIntent.state === "failed") { console.error("Order failed:", completedIntent.failureReason); }