#prapilk_code

1 messages ยท Page 1 of 1 (latest)

whole waveBOT
#

๐Ÿ‘‹ 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.

fading radishBOT
devout ivy
#

What is this QR code for? What do you expect from the QR code when it's scanned?

wooden plover
#

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.

devout ivy
#

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?

wooden plover
#

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=
๐Ÿ˜…

devout ivy
#

Do you mean that you would like to display a QR in the payment receipt sent by Stripe?

#

I get what you meant now

devout ivy
#

You'd have to implement your own receipt that include QR code

wooden plover
#

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?

devout ivy
#

Adding image to the receipt is not supported. Only custom text is supported.

wooden plover
#

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

devout ivy
#

At this moment, receipt can't be customised to add an image