fix(thank-you): serve GiroCode as signed PNG URL instead of data URL
This commit is contained in:
@@ -16,7 +16,7 @@ function resolveAppUrl(shopify: any): string {
|
||||
interface PaymentInstructions {
|
||||
language: "de" | "en";
|
||||
heading: string;
|
||||
giroCodeDataUrl: string;
|
||||
giroCodeUrl: string;
|
||||
recipient: string;
|
||||
bankName: string;
|
||||
iban: string;
|
||||
@@ -103,7 +103,7 @@ function Extension() {
|
||||
<s-section heading={data.heading}>
|
||||
<s-paragraph>{data.instructions}</s-paragraph>
|
||||
<s-stack direction="inline" gap="base" align-items="start">
|
||||
<s-image src={data.giroCodeDataUrl} alt="GiroCode" inline-size="200px" />
|
||||
<s-image src={data.giroCodeUrl} alt="GiroCode" inline-size="200px" />
|
||||
<s-stack direction="block" gap="small-200">
|
||||
<s-text>{data.labels.recipient}: {data.recipient}</s-text>
|
||||
{data.bankName ? (
|
||||
|
||||
Reference in New Issue
Block a user