#muhammad-adeel_api
1 messages ¡ Page 1 of 1 (latest)
đ Welcome to your new thread!
â˛ď¸ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question.
âąď¸ We close idle threads, which makes them read-only. Once a thread is closed it won't be reopened, but you can always start a new thread if you have another question.
đ This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1354714090769088573
đ Have more to share? Add more details, code, screenshots, videos, etc. below.
Hi there, let me check if there's an option to remove the link
sure
use Stripe\Invoice as StripeInvoice
$stripeInvoice = StripeInvoice::create([
'customer' => $invoice->applicant->stripe_id,
'collection_method' => 'send_invoice',
'due_date' => Carbon::parse($invoice->due_date)->timestamp,
'footer' => Invoice::STRIPE_FOOTER,
'payment_settings' => [
'payment_method_types' => null,
],
]);
here is api call
i have set payment_method_types is null but stripe enabled payment options by default
i need to remove with api not from stripe dashboard. because have user account on another project that's need this option
Can you go to https://dashboard.stripe.com/settings/billing/invoice , uncheck the "Include a Stripe-hosted link to an invoice payment page in the invoice email" option and see if it remove the link on new invoices?
Sign in to the Stripe Dashboard to manage business payments and operations in your account. Manage payments and refunds, respond to disputes and more.
no i have used this account on other project that's need this option
i need to remove with api call on specific cases
use Stripe\Invoice as StripeInvoice
$stripeInvoice = StripeInvoice::create([
'customer' => $invoice->applicant->stripe_id,
'collection_method' => 'send_invoice',
'due_date' => Carbon::parse($invoice->due_date)->timestamp,
'footer' => Invoice::STRIPE_FOOTER,
'payment_settings' => [
'payment_method_types' => null,
],
]);
here is api call
i have set payment_method_types is null but stripe enabled payment options by default
i need to remove with api not from stripe dashboard. because have user account on another project that's need this option
No I don't see an option to remove the link through API