checkout access payment_method

aamirch
New Member
11 0 0

Hi,

      i need some help. no idea if its due able or not. we need tonaize card in authorize.net . since shopify not doing this so I am trying to do with access of checkout.liqued. (shpify plus) . for example we can run jquery function below. which run when payment_method page load or change. my question is can I access credit card input fields value on submit in jquery ? so that tokenized card by my self ? the credit card box is iframe.  any idea if its due able ?

(function($) {
> $(document).on("page:load page:change", function() {
> if (Shopify.Checkout.step === "payment_method") {
> // Add content
> }
> });
> })(Checkout.$);

0 Likes