#femina-receipt
1 messages · Page 1 of 1 (latest)
@dense fable hi! well first of all, that API is deprecated so you shouldn't use it at all.
But can you expand on what kind of details you'd like to see exatly?
$charge = \Stripe\Charge::create([
'amount' => (int) $paymentLogData->getVTransactionTotalAmount() * 100, //smalled unit is cent
'currency' => $this->config['currency'],
'source' => $token,
'receipt_email' => $user->getVEmail(),
'description' => $description
]);
I want to display customer name , email, phone , address on receipt
This is how my receipt looks like.
Now i want to add customer detail in it.
I don't think you can! https://stripe.com/docs/receipts describes how receipts work and what can be customised and I don't think you can add that kind of information, it's just not supported
I have checked your document. it has only customization related to logo and color and branding settings
Can you please check and confirm how to add customer's billing details on receipt ?
I don't think you can add that kind of information, it's just not supported
so your options are you could use a third-party or build your own customised receipts, of if you use Invoices for the payments instead, that might suit your use case better (https://stripe.com/docs/invoicing)
I do not