#jan123459371

1 messages · Page 1 of 1 (latest)

zealous ravenBOT
#

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.

supple orchid
#

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?

coarse cipher
#

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

supple orchid
coarse cipher
#

no

#

i cannot use on_behalf_of since I must use "customer_balance"

#

hence i use "issuer"

supple orchid
#

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)

supple orchid
coarse cipher
#

i just tested with only "card"

#

and using "on_behalf_of"

#

same issue. No contact details on invoice

supple orchid
#

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

coarse cipher
#

does it work normally?

#

printing contact details on pdf?

zealous ravenBOT
supple orchid
#

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

coarse cipher
#

yes. Worked

#

can I change the address format on the pdf somehow?

wet ore
#

👋 taking over for my colleague. the address format is something locale based

#

what exactly do you need to change about the format

coarse cipher
#

the red marked is correct (based on locale DE for customer)

#

should be same for company

wet ore
#

did you add all the address info in the business_profile.support_address?

coarse cipher
#

no 😄

#

forgot country

#

sorry

wet ore
#

no worries

coarse cipher
#

thanks so far

wet ore
#

let me know if you need any more help