Magento2 Stripe Extension returns: Unrecognized error: Class & # 39; Stripe PaymentIntent & # 39; not found

I installed the Magento2 Stripe extension according to this manual: https://stripe.com/docs/plugins/magento/install#manual

The extension is active and I have set up Stripe to send test data. The problem is when I check out and place the order for the subsequent call http://app.test/rest/default/V1/guest-carts/oza7bFkKh19JjTYedtbp9AyuneWJjtc9/payment-information returns an error:


Fatal error: Uncaught Error: Class 'StripePaymentIntent' not found in C:laragonwwwappcodeStripeIntegrationPaymentsModelPaymentIntent.php:149 Stack trace: #0 C:laragonwwwappcodeStripeIntegrationPaymentsModelPaymentIntent.php(612): StripeIntegrationPaymentsModelPaymentIntent->create(Object(MagentoQuoteModelQuoteInterceptor), Object(MagentoSalesModelOrderPaymentInterceptor)) #1 C:laragonwwwappcodeStripeIntegrationPaymentsModelPaymentMethod.php(232): StripeIntegrationPaymentsModelPaymentIntent->confirmAndAssociateWithOrder(Object(MagentoSalesModelOrderInterceptor), Object(MagentoSalesModelOrderPaymentInterceptor)) #2 C:laragonwwwgeneratedcodeStripeIntegrationPaymentsModelPaymentMethodInterceptor.php(50): StripeIntegrationPaymentsModelPaymentMethod->capture(Object(MagentoSalesModelOrderPaymentInterceptor), '59.98') #3 C:laragonwwwvendormagentomodule-salesModelOrderPaymentOperationsCaptureOperation.php(82): StripeIntegrationPaymentsModelPaymentMethod in C:laragonwwwappcodeStripeIntegrationPaymentsModelPaymentIntent.php on line 149
{"messages":{"error":({"code":500,"message":"Fatal Error: 'Uncaught Error: Class 'Stripe\PaymentIntent' not found in C:\laragon\www\app\code\StripeIntegration\Payments\Model\PaymentIntent.php:149nStack trace:n#0 C:\laragon\www\app\code\StripeIntegration\Payments\Model\PaymentIntent.php(612): StripeIntegration\Payments\Model\PaymentIntent->create(Object(Magento\Quote\Model\Quote\Interceptor), Object(Magento\Sales\Model\Order\Payment\Interceptor))n#1 C:\laragon\www\app\code\StripeIntegration\Payments\Model\PaymentMethod.php(232): StripeIntegration\Payments\Model\PaymentIntent->confirmAndAssociateWithOrder(Object(Magento\Sales\Model\Order\Interceptor), Object(Magento\Sales\Model\Order\Payment\Interceptor))n#2 C:\laragon\www\generated\code\StripeIntegration\Payments\Model\PaymentMethod\Interceptor.php(50): StripeIntegration\Payments\Model\PaymentMethod->capture(Object(Magento\Sales\Model\Order\Payment\Interceptor), '59.98')n#3 C:\laragon\www\vendor\magento\module-sales\Model\Order\Payment\Operations\CaptureOperation.php(82): StripeIntegration\Payments\Model\PaymentMethod' in 'C:\laragon\www\app\code\StripeIntegration\Payments\Model\PaymentIntent.php' on line 149","trace":"Trace is not available."})}}

I can see in the Stripe webhook logs that the payment is being received.

Did I miss something during the installation step that led to it?

How do I add the BlockComment extension for Xcode 11?

I am new to the Excode Editor. I want to be able to add block comments (/*
*/
), so I found an extension.

But apparently I can't add it to xcode.

Everything leads me to Xcode -> Preferences -> Extensions but there is nothing!

Enter the image description here

Apparently elsewhere BlockComment should be in the Key Binding Section, but it's not.

Some other research says I should see BlockComment by doing editor Dropdown menu and that's not there.

Can this be done?

Extension methods – Java: Problems with the diary program

/**
 * Class HandleInput:
 * This class is used to hold static methods that can 
 * be used to get input from the user, and validate that 
 * the user entered correct values.
 *
 * Last Modified: (DATE LAST MODIFIED)
 * Author: (YOUR NAME HERE)
 */

import java.util.Scanner;

public class HandleInput {
    // This class has no attributes

    /**
     * Constructor for the HandleInput class. Since there are no attributes, this
     * constructor does not do anything. YOU SHOULD NOT MODIFY THIS CONSTRUCTOR!!!!
     */
    public HandleInput() {
    }

    /**
     * This method will print a menu, and then read the user's menu selection and
     * return that selection back to the caller. YOU SHOULD NOT MODIFY THIS METHOD,
     * IT IS PROVIDED FOR YOU!!
     * 
     *
     * @param scan
     *            The Scanner variable must be passed from the caller, because it is
     *            expected that only a single Scanner has been created for accessing
     *            the console.
     * @return The character that corresponds to the menu item selected by the user.
     */
    public static char getMenu(Scanner scan) {
        String line;
        boolean done = false;
        char selection;

        // Print out the menu items
        System.out.println("nCalendar Menu:");
        System.out.println("tc - Check calendar for appointments");
        System.out.println("ta - Add a new calendar appointment");
        System.out.println("tl - List appointments");
        System.out.println("tr - Remove appointment");
        System.out.println("tx - eXit the calendar program");

        do {
            // Print out the prompt
            System.out.print("Enter choice: ");

            // Get the user input, force it to lower case, and
            // get the first character
            line = scan.nextLine();
            line = line.toLowerCase();
            selection = line.charAt(0);

            // Validate the input
            if (selection == 'c' || selection == 'a' || selection == 'l' || selection == 'r' || selection == 'x') {
                done = true;
            } else {
                // Print an error message if they entered a bad input
                System.out.println("ERROR: bad menu item, please select from the list above");
            }
        } while (!done);
        System.out.println();

        // return the character of the selected menu item
        return selection;
    }

    /**
     * This method will prompt the user to enter an appointment description, and
     * then return whatever they typed. You don't need to do any validity checking
     * of their input, since they could type anything for an appointment
     * description.
     *
     * @param scan
     *            The Scanner variable for accessing console input.
     * @return The String appointment description entered by the user.
     */
    public static String getDescription(Scanner scan) {
        System.out.print("Type the description of the appointment");
        scan.hasNext();
        String Description;
        Description = scan.toString();
        return Description;

    }

    /**
     * This method will verify whether a value is a valid day value. Days are
     * integers 0 through 364, where 0 corresponds to Jan 1, and 365 corresponds to
     * Dec 31.
     *
     * @param day
     *            The day value that is being checked.
     * @return true if the day is a valid value, false if it is not.
     */
    public static boolean verifyDay(int day) {
        if(day >= 0 && day <= 364)
        {
            return true;
        }

//      if(day < 0 || day > 364)
//      {
//          System.out.println("Error: enter a valid day (0-364)");
//      }
        else
        {
            return false;
        }


    }

    /**
     * This method will verify whether a value is a valid hour value. Hours are
     * integers 0 through 23, where 0 corresponds to midnight, and 23 corresponds to
     * 11pm.
     *
     * @param hour
     *            The hour value that is being checked.
     * @return true if the hour is a valid value, false if it is not.
     */
    public static boolean verifyHour(int hour) {
        if(hour >= 0 && hour <= 23)
        {
            return true;
        }
        if(hour < 0 || hour > 23)
        {
            System.out.println("Error: enter a valid hour (0-23)");
            Scanner scan2 = new Scanner(System.in);
            scan2.hasNext();

        }
        return false;

    }

    /**
     * This method will prompt the user to enter a day. Their input must be validity
     * checked by using the verifyDay() method from above. If a bad value is
     * entered, an error message should be printed and the user should be prompted
     * again (and until they enter a correct value). The day they enter must then be
     * returned to the caller.
     *
     * @param scan
     *            The Scanner variable for accessing console input.
     * @return The day entered by the user. Must be a value between 0 and 364.
     */
    public static int getDay(Scanner scan) {
        System.out.print("What day? ");
        int day = scan.nextInt();
        scan.nextLine();
        verifyDay(day);

        return day;
    }

    /**
     * This method will prompt the user to enter an hour. Their input must be
     * validity checked by using the verifyHour() method from above. If a bad value
     * is entered, an error message should be printed and the user should be
     * prompted again (and until they enter a correct value). The hour they enter
     * must then be returned to the caller.
     *
     * @param scan
     *            The Scanner variable for accessing console input.
     * @return The hour entered by the user. Must be a value between 0 and 23.
     */
    public static int getHour(Scanner scan) {
        System.out.print("What hour? ");
        int hour = scan.nextInt();
        scan.nextLine();
        verifyHour(hour);
        return hour;
    }
}

I currently have a handful of problems with this program. I feel that some of the methods I have written are not working properly. If you could look at these methods and tell me if there are any problems, you would be very grateful.

File extension – Anaconda cannot start a Python script with shebang line on Windows

I have an anaconda installation in Windows which I believe could run Python scripts with the following lines:

#!/usr/bin/env python
print("hello python")

at a command prompt without typing "Python" (I say "I think" because I've been through some installations lately … but I use this functionality routinely). I think this requires that the py extension point on a binary called py.exe, which I assume will automatically be installed somewhere, may be C: Windows. The start no longer works (or never worked) and I don't see "py.exe" anywhere on my system.

Should py.exe be part of miniconda and should this be set up automatically? Is there a right way to fix this? Do I have to get the binary file?

SPFX Field Extension

Can I have multiple field extensions in the same project? I tried to define multiple fields in the same project, but for some reason only the first one is defined.
I tried to pack both fields as well, but that doesn't work either. The behavior of the fields is not reflected.