Update StripeCheckoutCustom.php

fix. closedFunction