#prapilk_code
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/1225693444001894473
๐ Have more to share? Add more details, code, screenshots, videos, etc. below.
What is this QR code for? What do you expect from the QR code when it's scanned?
it will be scanned and will update the person as "present" on the day of the show in a file based on stripe's .csv export.
How does this QR relate to Stripe's integration? Do you mean you would like to create a QR code based on some information from the payment result? Can you illustrate your flow in an example?
I send the orderid and also this information which is useful to me because it appears in the .csv export.
for the moment I send to stripe this:
$checkout_session = \Stripe\Checkout\Session::create([
'customer_email' => $custemail,
'client_reference_id' => $reference,
'payment_intent_data' => [
'description' => $custname
'payment_method_types' => $payments,
'phone_number_collection' => ['enabled' => true],
before integrating the qr code on the server side. I wanted to see if I could already add an image to the receipt but it always only gives me a link
I even tried an img src=
๐
Do you mean that you would like to display a QR in the payment receipt sent by Stripe?
I get what you meant now
Yes !
Unfortunately, displaying a QR code in the receipt is not supported.
Here's the list of the customisation that can be done on a receipt: https://docs.stripe.com/receipts?payment-ui=checkout#customizing-receipts
You'd have to implement your own receipt that include QR code
It's quite complex and I was wondering if I couldn't bypass the display of the small visa and bancontact icons that it is possible to have on the receipt that we see in the example of stripe receipt?
Adding image to the receipt is not supported. Only custom text is supported.
Okay I was hoping to be able to modify the logo each time for a QR code or that the "VISA" was also an image.
Damage ! ๐ฆ
maybe that's why theaters never use stripe ๐ฆ
in Belgium
Sorry to hear your experience. I'd recommend writing in to Support https://support.stripe.com/contact, so that they can share the feedback to relevant team.
At this moment, receipt can't be customised to add an image