jquery not defined in Pro Sites gateway-stripe.php

Just updated Pro Sites...

I'm noticing a jQuery error on the checkout page (i used stripe)..reviewing the code...i am troubled.

jquery not defined

debugging it leads me to the file:
line 483
add_action( 'wp_head', array( 'ProSites_Gateway_Stripe', 'checkout_js' ) );

then reviewing function checkout_js
line 1028

public static function checkout_js() {
		<script type="text/javascript"> jQuery(document).ready(function () {
				jQuery("a#stripe_cancel").click(function () {
					if (confirm("<?php echo __( 'Please note that if you cancel your subscription you will not be immune to future price increases. The price of un-canceled subscriptions will never go up!\n\nAre you sure you really want to cancel your subscription?\nThis action cannot be undone!', 'psts' ); ?>")) {
						return true;
					} else {
						return false;

1. I am guessing you are doing this inline because you want language translations or something like that (otherwise not understanding why this is inline)

2. this isn't enqued properly at all for jquery

Code should be enqueued like:

function theme_prefix_enqueue_script() {
if ( ! wp_script_is( 'jquery', 'done' ) ) {
wp_enqueue_script( 'jquery' );
wp_add_inline_script( 'jquery-migrate', 'jQuery(document).ready(function(){});' );
add_action( 'wp_enqueue_scripts', 'theme_prefix_enqueue_script' );