body {margin: 0;padding: 0;font-family: Verdana, Arial, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji"} p {line-height: 140%;color: #ccc} p strong {color: #eee} a {color: #bbb;} .bodyWrapper {max-width: 768px;margin:0 auto;} .mainWrapper {max-width: 98%;margin:0 auto;} .clearfix {float: none;clear: both;} .text-center {text-align: center;} .mt-20 {padding-top: 10px;} #track-code {padding: 8px;border-radius: .25rem;display: inline-block; font-size: 1rem; font-weight: 400; line-height: 1.5; color: #495057; background-color: #fff; background-clip: padding-box; border: 1px solid #ced4da; box-shadow: inset 0 0 0 transparent; transition: border-color .15s ease-in-out,box-shadow .15s ease-in-out;} #btn-track {padding: 10px;display: inline-block; font-weight: 400; text-align: center; vertical-align: middle; -webkit-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; border: 1px solid #28a745; font-size: 0.75rem; line-height: 1.5; border-radius: .25rem; color: #fff; background-color: #28a745; box-shadow: none; transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;margin-bottom: 5px;} @media screen and (max-width: 768px) { .bodyWrapper {max-width: 99%;} #btn-track {padding: 8px;} }
Dear Aporro Family Member, please kindly check the status and usage of your code through here.
$(function () { $(document).on('click', '#btn-track', function (e) { $('#cash-back').hide(); e.preventDefault(); var button = $(this); var form = button.closest('.form'); $.ajax({ type: "GET", url: form.attr('action'), data: 'code='+$('#track-code').val(), contentType: false, processData: false, dataType: 'json', success: function (res) { if(res.data.usage_count != undefined) { $('#usage-count').text(res.data.usage_count); } $('#cash-back').show(); }, error: function (res) { } }); }) });