File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change 4646
4747 $ shortId = $ _SESSION ['ShortId ' ] ?? null ;
4848 if ($ shortId !== null ) {
49- echo '<p>Please look for ShortId ' . $ shortId . ' in Unzer Insights to see the transaction.</p> ' ;
49+ $ defaultTransactionMessage = '<p>Please look for ShortId ' . $ shortId . ' in Unzer Insights to see the transaction.</p> ' ;
50+ $ paylaterTransactionMessage = '<p>Please use the "descriptor" to look for the transaction in the Unzer Pay Later Merchant Portal.</p> ' ;
51+ echo preg_match ('/[\d]{4}.[\d]{4}.[\d]{4}/ ' , $ shortId ) ? $ defaultTransactionMessage : $ paylaterTransactionMessage ;
5052 }
5153 $ paymentId = $ _SESSION ['PaymentId ' ] ?? null ;
5254 if ($ paymentId !== null ) {
7375 <input type="hidden" name="payment_id" value=" ' . $ paymentId . ' ">
7476 <div class="fields inline">
7577 <div class="field">
76- <button class="unzerUI primary button fluid" id="submit-button" type="submit">Charge payment. </button>
78+ <button class="unzerUI primary button fluid" id="submit-button" type="submit">Charge payment</button>
7779 </div>
7880 </div>
7981 </form> ' ;
You can’t perform that action at this time.
0 commit comments