import {createCheckoutSession} from 'backend/stripe.jsw'; // Import backend function $w.onReady(function () { // Assuming the amount is passed via the URL, e.g., ?amount=5000 const urlParams = new URLSearchParams(window.location.search); const amount = urlParams.get('amount'); // Get the amount from the URL // Check if the amount is valid if (amount && !isNaN(amount)) { // Attach click event to the button $w('#payButton').onClick(async () => { try { const checkoutUrl = await createCheckoutSession(parseInt(amount)); // Create Checkout session // Redirect to the Stripe Checkout page window.location.href = checkoutUrl; } catch (error) { console.error('Error during Stripe Checkout session creation:', error); // Handle errors (e.g., show a message to the user) } }); } else { console.error('Invalid or missing amount parameter.'); } });
top of page
Untitled-2Artboard 1.jpg

Vincent Leszczynski

BA

BA

Vincent Leszczynski

Insurances:

Locations:

New Jersey

Specialties

About Me

Vince is a recent graduate of Stockton University with a degree in Social Work. He has

experience working with youth and their families to manage difficult behaviors and provide

positive behavioral support to both the child and caregiver. Vince has worked with individuals

with mental health diagnoses such as ADHD, ODD, Depression, and Anxiety.

In his most recent experiences, he has implemented and facilitated adolescent groups with

solution-focused outcomes. In his position as a Behavioral Assistant, Vince's goal is to assist

your family with implementing boundaries and creating positive relationships within your home.

Additionally, he works alongside the youth’s clinician to help the child implement skills that have

been learned in therapy in everyday situations.

Working with individuals as well as their families to achieve their behavioral, social, and mental

health related goals is a passion of his. It's never too late to start living your Best Life!

“You are always responsible for how you act, no matter how you feel”

bottom of page