This commit is contained in:
gsinghpal
2026-03-26 15:16:51 -04:00
parent bd7275881f
commit 2563208f53
13 changed files with 329 additions and 15 deletions

View File

@@ -62,6 +62,51 @@
autocomplete="cc-name"/>
</div>
<!-- Billing address -->
<div class="mb-3 o_poynt_billing_section">
<label class="form-label fw-bold">Billing Address</label>
<div class="mb-2">
<input type="text" class="form-control"
id="poynt_billing_address"
name="billing_address"
placeholder="Street Address"
autocomplete="billing street-address"/>
</div>
<div class="row mb-2">
<div class="col-6">
<input type="text" class="form-control"
id="poynt_billing_city"
name="billing_city"
placeholder="City"
autocomplete="billing address-level2"/>
</div>
<div class="col-6">
<input type="text" class="form-control"
id="poynt_billing_state"
name="billing_state"
placeholder="Province / State"
autocomplete="billing address-level1"/>
</div>
</div>
<div class="row mb-2">
<div class="col-6">
<input type="text" class="form-control"
id="poynt_billing_zip"
name="billing_zip"
placeholder="Postal Code"
autocomplete="billing postal-code"/>
</div>
<div class="col-6">
<input type="text" class="form-control"
id="poynt_billing_country"
name="billing_country"
placeholder="Country Code (CA, US)"
maxlength="2"
autocomplete="billing country"/>
</div>
</div>
</div>
<!-- Card type selector (for terminal payments where card brand cannot be auto-detected) -->
<div class="mb-3 o_poynt_card_type_section" style="display:none;">
<label class="form-label">Card Type</label>
@@ -117,6 +162,17 @@
</select>
</div>
</div>
<!-- Processing overlay (hidden until payment is submitted) -->
<div class="o_poynt_processing_overlay" style="display:none;">
<div class="text-center p-4">
<div class="spinner-border text-primary mb-3" role="status">
<span class="visually-hidden">Loading...</span>
</div>
<h5 class="o_poynt_processing_message">Processing your payment...</h5>
<p class="text-muted">Please do not close this page.</p>
</div>
</div>
</div>
</template>