Skip to content

Commit 6cbc96c

Browse files
author
“Gabriel
committed
Updated instructions for simpulation of backend
1 parent d96438a commit 6cbc96c

1 file changed

Lines changed: 11 additions & 11 deletions

File tree

src/demo/sections/CustomerViewSection.jsx

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -41,15 +41,9 @@ const MerchantViewSection = ({
4141
<pre>{isClaimed ? 'Yes' : 'No'}</pre>
4242
</div>
4343
<pre>
44-
<div
45-
className={isClaimed ? 'claimed-label' : 'ready-label'}
46-
>{isClaimed ? 'Claimed' : 'Ready'}</div>
44+
<div className={isClaimed ? 'claimed-label' : 'ready-label'}>{isClaimed ? 'Claimed' : 'Ready'}</div>
4745
{acceptanceUrl && (
48-
<QRCode
49-
size={200}
50-
className={isClaimed ? 'claimed-border' : 'ready-border'}
51-
value={acceptanceUrl}
52-
/>
46+
<QRCode size={200} className={isClaimed ? 'claimed-border' : 'ready-border'} value={acceptanceUrl} />
5347
)}
5448
</pre>
5549
<div>
@@ -72,9 +66,15 @@ const MerchantViewSection = ({
7266
<p></p>
7367
{isExperimentShortlink && (
7468
<aside className="warn-block">
75-
In this experiment we must first scan the static QR, then manually retrieve the &quot;scan token&quot;
76-
via the <a href={callbackInterfaceUrl}>callback URL</a>, and use it in the customer field of the
77-
request.
69+
To simulate merchant a backend, the following manual steps are required:
70+
<ol>
71+
<li>scan the static QR without a payment request</li>
72+
<li>
73+
manually retrieve the &quot;scan token&quot; via the{' '}
74+
<a href={callbackInterfaceUrl}>callback URL</a>
75+
</li>
76+
<li>set &quot;customer&quot; field of the request to use this token</li>
77+
</ol>
7878
</aside>
7979
)}
8080
</>

0 commit comments

Comments
 (0)