EVENT_AFTER_CREATE_SUBSCRIPTION can someone confirm this means successful purchase? Regarding Event: EVENT_AFTER_CREATE_SUBSCRIPTION
https://docs.craftcms.com/commerce/api/v2/craft-commerce-services-subscriptions.html#events

The document states "The event that is triggered after a subscription is created. Plugins can get notified after a subscription is created."

Using the commerce 2 as an example:

I just need an expert to confirm that a subscription is created or EVENT_AFTER_CREATE_SUBSCRIPTION has executed only when a user has successfully made payment to a subscription.
I've looked into this in more detail now, and whilst it used to be the case that EVENT_AFTER_CREATE_SUBSCRIPTION only worked for successful payments, it's now (post Commerce 2.2.0), no longer the case due to the fact that a subscription can get created in a "Suspended" status, which still triggers that event (https://github.com/craftcms/commerce/issues/1105).

I'm still using that event, but in Commerce 2.2.7 (and beyond unless they change it again!), you'll need to make an additional check inside your code to make sure the subscription is not Suspended.

Event::on(
    Subscriptions::class,
    Subscriptions::EVENT_AFTER_CREATE_SUBSCRIPTION,
    function(SubscriptionEvent $e) {

        // --------------------------------------------
        // BAIL OUT on Suspended subs!
        // --------------------------------------------

        if ($e-&gt;subscription-&gt;isSuspended){
            return;
        }

        // --------------------------------------------
        // Continue...
        // --------------------------------------------

        ...
    }
);