diff --git a/public/example.html b/public/example.html
index 7e4eb25..a0a0227 100644
--- a/public/example.html
+++ b/public/example.html
@@ -109,13 +109,23 @@
Redemption Widget
+
+ DeliveryInfo |
+
+
+ |
+
+
+ |
+
PostDeliveryInfoURL |
|
-
+
|
@@ -125,7 +135,45 @@ Redemption Widget
-
+
+ |
+
+
+ PostRedemptionSubmittedURL |
+
+
+ |
+
+
+ |
+
+
+ PostRedemptionSubmittedHeader |
+
+
+ |
+
+
+ |
+
+
+ PostRedemptionConfirmedURL |
+
+
+ |
+
+
+ |
+
+
+ PostRedemptionConfirmedHeader |
+
+
+ |
+
+
|
@@ -162,11 +210,23 @@ Redemption Widget
setValue('select-redeem-exchange-state', 'Committed')
setValue('input-post-delivery-info-url', '')
setValue('input-post-delivery-info-header', '')
+ setValue('input-post-redemption-submitted-url', '')
+ setValue('input-post-redemption-submitted-header', '')
+ setValue('input-post-redemption-confirmed-url', '')
+ setValue('input-post-redemption-confirmed-header', '')
+ setValue('input-delivery-info', '')
}
function clearFinanceInputs() {
setValue('input-finance-seller-id', '')
updateFinanceButton('disabled', true)
}
+ function fullDecodeUri(s) {
+ const s2 = decodeURI(s);
+ if (s2 !== s) {
+ return fullDecodeUri(s2)
+ }
+ return s2
+ }