diff options
| author | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
|---|---|---|
| committer | stephanchrst <stephanchrst@gmail.com> | 2022-05-10 21:51:50 +0700 |
| commit | 3751379f1e9a4c215fb6eb898b4ccc67659b9ace (patch) | |
| tree | a44932296ef4a9b71d5f010906253d8c53727726 /addons/payment_test/views | |
| parent | 0a15094050bfde69a06d6eff798e9a8ddf2b8c21 (diff) | |
initial commit 2
Diffstat (limited to 'addons/payment_test/views')
| -rw-r--r-- | addons/payment_test/views/payment_test_templates.xml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/addons/payment_test/views/payment_test_templates.xml b/addons/payment_test/views/payment_test_templates.xml new file mode 100644 index 00000000..808ae4a6 --- /dev/null +++ b/addons/payment_test/views/payment_test_templates.xml @@ -0,0 +1,26 @@ +<?xml version="1.0" encoding="utf-8"?> +<odoo> + <template id="test_s2s_form"> + <input type="hidden" name="data_set" data-create-route="/payment/test/s2s/create_json_3ds"/> + <input type="hidden" name="acquirer_id" t-att-value="id"/> + <input t-if="return_url" type="hidden" name="return_url" t-att-value="return_url"/> + <input t-if="partner_id" type="hidden" name="partner_id" t-att-value="partner_id"/> + <div t-attf-class="row mt8 #{'' if bootstrap_formatting else 'o_card_brand_detail'}"> + <div t-att-class="'form-group col-lg-12' if bootstrap_formatting else 'form-group'"> + <input type="tel" name="cc_number" id="cc_number" class="form-control" placeholder="Card number" data-is-required="true"/> + <div class="card_placeholder"></div> + <div class="visa"></div> + <input type="hidden" name="cc_brand" value=""/> + </div> + <div t-att-class="'form-group col-lg-5' if bootstrap_formatting else 'form-group'"> + <input type="text" name="cc_holder_name" id="cc_holder_name" class="form-control" placeholder="Cardholder name" data-is-required="true"/> + </div> + <div t-att-class="'form-group col-lg-3' if bootstrap_formatting else 'form-group'"> + <input type="text" name="cc_expiry" id="cc_expiry" class="form-control" maxlength="7" placeholder="Expires (MM / YY)" data-is-required="true"/> + </div> + <div t-att-class="'form-group col-lg-4' if bootstrap_formatting else 'form-group'"> + <input type="text" name="cvc" id="cvc" class="form-control" maxlength="4" placeholder="CVC" data-is-required="true"/> + </div> + </div> + </template> +</odoo> |
