#binod-receipts
1 messages · Page 1 of 1 (latest)
I was going through this documentation https://stripe.com/docs/receipts
It says, email are sent on successful payment with transaction data and business details
first are you using Checkout or Payment Intents?
Payment Intents
ok
my question is, is the business name is dynamic?
because, it will send business name of account right?
unless you're using Connect yes
is it possible?
Connect is basically a product where a Platform can create a business model similar to a marketplace https://stripe.com/docs/connect
why do you need to have a dynamic business name? what's the use case?
then Connect is your way to go
Express account is connect account right?
yes
you could take a look at this https://stripe.com/docs/payments/connected-accounts
if you create the Payment Intent on behalf of Connect Accounts and you specify the receipt_email it will be formatted with the business name of the Connect Account
so, if I specify on_behalf and set connect account ID, it will use business name of that connect account?
it's either or
not both
either use the on_behalf_of or the Direct Charge using the stripeAccount
yes
okay, thanks! I will give it a try.
let me know if you need any more help
sure
One more thing Im confused about, can I enable Applye Pay in PaymentElement from react stripe? or need to create different component
?
yes the PaymentElement supports Apple Pay on either Safari or iOS devices
I mean on web, supports on all browser right?
no only on Safari
const paymentIntent = await stripe.paymentIntents.create({ amount: payload.price * 100, currency: payload.currency, payment_method_types: ['card', 'ideal'], statement_descriptor: 'Test statement!' });
This is how Im creating payment intent.
adding apple_pay on payment_method_type not working
it's already included with card payment types
the payment_method_type card includes wallet payments Google Pay and Apple Pay
are you using safari? have you configured Apple Pay? is your site running on https?