如何向 TornadoFX 工具栏添加额外的按钮?

问题描述

如何向工作区工具栏添加按钮?我遵循了 TornadoFX 指南,但按钮不会显示

        // retrieve new payment method (valid one)
        $payment_method = \Stripe\PaymentMethod::retrieve (
            $request->paymentMethodId
        );

        // attach customer to payment method
        $payment_method->attach([
            'customer' => $request->customerId,]);

        // update customer default payment method
        \Stripe\Customer::update($request->customerId,[
            'invoice_settings' => [
                'default_payment_method' => $request->paymentMethodId
            ]
        ]);

        // retrieve invoice object
        $invoice = \Stripe\Invoice::retrieve($invoiceId,[
            'expand' => ['payment_intent']
        ]);

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)