![](/img/trans.png)
[英]How to make Payment Method set as default in stripe after one time checkout payment
客戶的付款方式結帳后,付款方式將保存在客戶儀表板中。 如何使用 API 調用將該付款方式設置為默認方式,或者是否有任何方法可以在成功結帳一次付款后首先將其設為默認方式。 想通過 API 電話讓它變成這樣 ...
[英]How to make Payment Method set as default in stripe after one time checkout payment
客戶的付款方式結帳后,付款方式將保存在客戶儀表板中。 如何使用 API 調用將該付款方式設置為默認方式,或者是否有任何方法可以在成功結帳一次付款后首先將其設為默認方式。 想通過 API 電話讓它變成這樣 ...
[英]Disable payment method based on time range in WooCommerce
我想在我的 WooCommerce 商店中禁用付款方式,即晚上 11 點(當天)到早上 8 點(第二天)之間的貨到付款 (COD)。 根據一些研究,這是我的代碼嘗試: add_filter( 'woocommerce_available_payment_gateways', 'payment_ga ...
[英]Disable the payment options on klarna payment page
我只想在 klarna 支付頁面上顯示特定的支付選項。 在我的情況下,它顯示付款選項 1)立即付款和 2)在 30 天內付款。 我希望該用戶不能使用 select 立即付款選項。 在此處輸入圖像描述 ...
[英]Magento 2 event to extend payment methods functionality
我需要幫助。 我正在為 Magento 2 創建自定義付款方式。在插件中,用戶需要輸入密鑰。 在保存配置時,我想檢查用戶輸入的鍵是否正確。 如果密鑰不正確,我想顯示一條消息,通知用戶該問題。 我用谷歌搜索了一下,我想我找到了事件admin_system_config_changed_section ...
[英]What does the `payment_behavior: 'default_incomplete',` line does to invoices in stripe?
我試圖弄清楚,在創建訂閱時,條紋如何生成沒有附加付款方式的發票,但能夠通過付款意圖生成 client_secret。 訂閱創建中的payment_behavior: 'default_incomplete'字段是否會以任何方式影響發票? 我問這個是因為我想了解如何獲得客戶秘密(用於支付元素)來支付一 ...
[英]Change payment method title based on selected shipping method in WooCommerce checkout
如果選擇了交付選項,我正在嘗試啟用 (COD) 貨到付款 label 用戶在交貨時有 2 個選擇:<input type="radio" name="shipping_method[0]" data-index="0" id="shipping_method_0_samedaycourier7 ...
[英]Highlight WooCommerce admin orders list based on order payment method
我正在尋找一種方法來突出顯示基於訂單付款方式的管理訂單列表行。 (特別適用於 COD - 貨到付款) 基於Highlight Woocommerce admin orders list when order contains a regular product anwser code,我寫了以下代 ...
[英]Stripe Payment Method shows payment incomplete "required_payment_method"
這是我的實現 const paymentIntent = await stripe.paymentIntents.create({ amount: body.amount, currency: 'gbp', customer: customerId, automatic_payment_metho ...
[英]Creating a subscription using bank account number using stripe js in node js
我通過接受來自前端 angular 應用程序的信用卡/借記卡號、exp 月、exp 年和 cvc 並創建訂閱來創建訂閱顧客產品產品價格付款方式訂閱在付款方式中,我提供以下詳細信息: 現在我想創建付款方式,但想使用客戶的銀行帳號,但我找不到方法。 我想添加“類型:bank_account” 注意:我使 ...
[英]Order split with online transaction on checkout in magento 2.4 enterprise
我在結賬時拆分訂單時遇到了一個問題。 我遵循了鏈接中提到的這些代碼:- https://magento.stackexchange.com/questions/196669/magento-2-split-order-for-every-item和https://github.com/magesta ...
[英]Is there a way to add payment for a group in gitlab?
我的開發團隊在 gitlab 中有一個小組,所有存儲庫都在一個小組內,但是為了運行管道 gitlab 向我的任何團隊成員詢問付款方式,有沒有辦法可以為整個小組添加付款方式所以我不是要求隊友單獨做嗎? 我所有的隊友在運行管道時都收到了這個: 由於未驗證用戶,管道失敗 ...
[英]Add a filter dropdown for payment method on WooCommerce admin orders list
閱讀https://rudrastyh.com/woocommerce/columns.html 后,我能夠在 WooCommerce 管理訂單列表中添加帶有訂單付款方式的列 add_filter('manage_edit-shop_order_columns', 'misha_order_item ...
[英]Increase cart item prices based on payment method in WooCommerce
我想根據選定的支付網關向購物車項目價格添加百分比值。 我面臨的問題是產品價格的變化沒有更新產品價格。 最初選擇的價格一直顯示。 我怎樣才能相應地獲得更改后的價格? 到目前為止我的代碼: 任何幫助高度贊賞。 ...
[英]Add custom message according to payment method in WooCommerce customer processing order email notification
我正在為電子郵件添加帶有掛鈎的文本,但我希望它根據付款方式進行更改。 我的代碼嘗試: add_action( 'woocommerce_email_before_order_table', 'bbloomer_add_content_specific_email', 20, 4 ); fun ...
[英]Payment methods not showing if cart total is 0 in WooCommerce
我正在為具有多個用戶角色的客戶設置商店。 其中之一的價格需要為 0 美元,因為該公司按月計費。 其他角色必須根據使用“用戶角色的產品價格”的角色支付不同的乘數。 無論如何,當用戶以 0 美元購買某些產品時,COD 方法沒有顯示,我需要該支付網關來設置自定義狀態。 以前有人遇到過這個問題嗎? 如果是這 ...
[英]WooCommerce: Disable multiple Payment methods based on country
我在這里嘗試做的是根據客戶所在國家/地區隱藏付款方式。 當國家與美國不同時,隱藏銀行和支票。 當國家是美國時,隱藏 cod 付款方式(這是有效的) 我一直在嘗試這樣做,但沒有成功這是代碼:add_filter( 'woocommerce_available_payment_gateways', 'c ...
[英]WooCommerce: Order status based on Payment methods
在 Woocommerce 上,我們可以選擇 BACS 付款。 有些訂單以“付費”的形式通過,有些則不是。 我不明白為什么,因為他們使用完全相同的付款方式。 下面的兩張圖片將向您展示這一點: 有薪酬的: 沒有支付: 我們正在使用 function 自動將這些付款從“暫停”更改為“處理中”,以防這 ...
[英]Change payment method title for specific products in WooCommerce checkout
我正在嘗試,當特定產品在結帳時,付款方式的標題會從; 例如:“刷卡支付”改為“部分支付”,可以嗎? 我試過 jquery: 但它只是改變了片刻並返回到默認標題,有什么方法可以在functions.php 中使用一些鈎子? ...
[英]WooCommerce Disallow ClearPay Payment for specific product categories
我正在嘗試禁用特定產品類別的 ClearPay 付款方式。 我設法隱藏了商店和產品頁面的 ClearPay 選項,但它仍然允許我在購物車中使用 ClearPay。 這是我使用的代碼:/** * @param bool $bool_result * @param WC_Product $produ ...
[英]Add fee based on payment methods and cart items total in WooCommerce
我安裝了一個插件->“WooCommerce 的基於支付網關的費用和折扣”,它幫助我添加了兩項費用: 卡支付 14,99 送貨費貨到付款 19,99 運費問題是如果有人購買超過 300 件,我想免費送貨。 所以我必須取消額外費用這是我嘗試過的,但沒有任何反應: 有任何想法嗎? 或者關於如何讓網 ...