#jan123459371
1 messages · Page 1 of 1 (latest)
Hello! We'll be with you shortly. Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.
- jan123459371, 23 hours ago, 63 messages
- jan123459371, 1 day ago, 28 messages
- jan123459371, 1 day ago, 20 messages
hi! do you have some technical details like the exact API calls you use to create the accounts/pass the address and the exact places/screenshots where you expect to see something and don't see it?
sec
$account = $this->stripe->accounts->create([
'type' => 'express',
'capabilities' => [
'transfers' => ['requested' => true],
'bank_transfer_payments' => ['requested' => true],
'card_payments' => ['requested' => true],
'sepa_debit_payments' => ['requested' => true],
],
'email' => "jan.knobeloch_@spexa.de",
'default_currency' => 'eur',
'settings' => [
'payments' => [
'statement_descriptor' => "DL",
'statement_descriptor_prefix' => "",
],
'payouts' => [
'schedule' => [
'delay_days' => 'minimum',
'interval' => 'daily',
],
'statement_descriptor' => 'spexa GmbH',
]
],
'business_type' => 'company',
'company' => [
'name' => "company name",
'address' => [
'city' => 'Musterstadt',
'line1' => 'Musterstraße 2',
'line2' => '',
'postal_code' => '99423',
'state' => '',
],
'vat_id' => 'DE987654321'
]
]);
for custom account ofc using type "custom"
And where I dont see the contact details (address) is on the invoice pdf which is created with "issuer" parameter
$invoice = $stripe->invoices->create(
[
'customer' => $standardCustomer->id,
'application_fee_amount' => 5100,
'currency' => 'eur',
'transfer_data' => [
'destination' => $serviceProviderAccountID,
],
'payment_settings' => [
'payment_method_types' => ['customer_balance', 'card'],
'payment_method_options' => [
'customer_balance' => [
'funding_type' => 'bank_transfer',
'bank_transfer' => [
'type' => 'eu_bank_transfer',
'eu_bank_transfer' => ['country' => 'DE'],
],
],
],
],
'collection_method' => 'send_invoice',
'days_until_due' => $invoiceDueDays,
'issuer' => [
'type' => 'account',
'account' => $serviceProviderAccountID
],
'default_tax_rates' => [$taxRateID],
'automatic_tax' => ['enabled' => false],
'pending_invoice_items_behavior' => 'exclude',
'custom_fields' => [
[
'name' => 'USt-IdNr',
'value' => "DEPROVIDER"
]
],
]);
I am useing the php client
does it work if you use https://stripe.com/docs/api/invoices/create#create_invoice-on_behalf_of ?
no
i cannot use on_behalf_of since I must use "customer_balance"
hence i use "issuer"
I see. I think issuer is only for some tax calculation purposes so it's probably not hooked up to the logic for rendering the address, which AFAIK is what on_behalf_of is tied to
I'd suggest opening a support ticket at https://support.stripe.com/?contact=true since yours is a bit of an advanced use case with some edge cases(and issuer is brand new in the last couple of months so maybe there are gaps)
also worth checking if it does work if you use o_b_o but not customer_balance (just use card for now) just to understand the situation better
i just tested with only "card"
and using "on_behalf_of"
same issue. No contact details on invoice
hmm, strange, I'd suggest opening a support ticket with a detailed report(all that code, exact Invoice and Account IDs) so we can investigate and see if there are any workarounds
AFAIK yes, it takes the address from https://dashboard.stripe.com/settings/update/public/support-details and uses that on PDFs issued by that account
now for Connect maybe it's different/doesn't work , would need some digging.
what you can try is setting this field instead : https://stripe.com/docs/api/accounts/create#create_account-business_profile-support_address and then using on_behalf_of (and then if that works, next step is to try it without on_behalf_of and with issuer to see if there's a difference there)
I strongly feel that has the best chance of working
what you set in that code you shared earlier is company.address which is more for KYC/identity verification of the account, not the customer-facing support address under business_profile
so give that a try and let me know if that works
👋 taking over for my colleague. the address format is something locale based
what exactly do you need to change about the format
the red marked is correct (based on locale DE for customer)
should be same for company
did you add all the address info in the business_profile.support_address?
no worries
thanks so far
let me know if you need any more help