Activités de "darutter"

Répondre

There are the settings I have in my appsettings.json file: "PaymentWebOptions": { "CallBackUrl": "/patriotpayment/success", "RootUrl": "http://localhost:44386", "PaymentGatewayWebConfigurationDictionary": { "Name": "Stripe", "PrePaymentUrl": "/patriotpayment", "PostPaymentUrl": "/patriotpayent/success", "ExtraInfos": "Club Name" }

Répondre

This is what gets written to the log file when it attempts to go to the PostPayment page:

2023-01-04 13:33:01.382 -06:00 [INF] Executed page /Payment/Stripe/PrePayment in 1317.5135ms 2023-01-04 13:33:01.382 -06:00 [INF] Executed endpoint '/Payment/Stripe/PrePayment' 2023-01-04 13:33:01.383 -06:00 [DBG] Added 0 entity changes to the current audit log 2023-01-04 13:33:01.464 -06:00 [DBG] Added 0 entity changes to the current audit log 2023-01-04 13:33:01.465 -06:00 [DBG] Added 0 entity changes to the current audit log 2023-01-04 13:33:01.468 -06:00 [INF] Request finished HTTP/2 POST https://localhost:44386/Payment/Stripe/PrePayment?paymentRequestId=c88a7705-1efa-f4b8-6c0c-3a0890729b55 application/x-www-form-urlencoded 182 - 200 - text/html;+charset=utf-8 1422.9578ms 2023-01-04 13:33:01.481 -06:00 [INF] Request starting HTTP/2 GET https://localhost:44386/_framework/aspnetcore-browser-refresh.js - - 2023-01-04 13:33:01.484 -06:00 [INF] Request finished HTTP/2 GET https://localhost:44386/_framework/aspnetcore-browser-refresh.js - - - 200 12006 application/javascript;+charset=utf-8 2.3914ms 2023-01-04 13:33:01.489 -06:00 [INF] Request starting HTTP/2 GET https://localhost:44386/_vs/browserLink - - 2023-01-04 13:33:01.512 -06:00 [INF] Request finished HTTP/2 GET https://localhost:44386/_vs/browserLink - - - 200 - text/javascript;+charset=UTF-8 23.1619ms However the browser merely says "Site cannot be reached."

Any ideas?

Répondre

Also, when I attempt to make a webhook call, I get the error that a connection was made but was forcibly closed by the remote host. I need to get the webhook working and understand how to respond to the events that are created by the Payment module.

Répondre

I added the Configure and it took me to the payment page in Stripe. However, once I entered payment info it tried to redirect me to /Payment/Stripe/PostPayment?SessionId=##################

This generated an error page indicating the site can't be reached. What else am I missing?

Again, the documentation on the pieces you need to have in place is very sparse.

The above errors occur when I don't have the PublishTrimmed property in the .csproj file. If I put the property in the .csproj file and set the value to false I get this error:

/usr/local/share/dotnet/packs/Microsoft.iOS.Sdk/15.4.447/targets/Xamarin.Shared.Sdk.targets(3,3): Error: iOS projects must build with PublishTrimmed=true. Current value: false. (BCFOAssistant.Maui)

Go to abp suite and launch version 6.0.0-rc3. Select Create New Solution Give it a name, MVC, SQL Server/Entity Framework, MAUI and enter connection string. Click "save" NOTE: the command window indicates everything worked, but suite indicates "Invalid directory" error on close. Open new project in Visual Studio Set DBMigrator as startup project Run Throws BusinessRuleException on invalid redirectUri Bypass check for maui:// URI DBMigrator completes and tables are created and populated

That fixed it.

This is happening on all of my grids. The dataTable definition is as it is created using ABP Suite. Some tables have modifications to the number of columns that are shown, but it doesn't change the behavior either way.

This is the index.js definition of the dataTable and the table definition in the .cshtml.

var dataTable = $("#FeaturesTable").DataTable(abp.libs.datatables.normalizeConfiguration({
    processing: true,
    serverSide: true,
    paging: true,
    searching: false,
    scrollX: true,
    autoWidth: false,
    scrollCollapse: true,
    order: [[1, "asc"]],
    ajax: abp.libs.datatables.createAjax(featureService.getList, getFilter),
    columnDefs: [
        {
            rowAction: {
                items:
                    [
                        {
                            text: l("Edit"),
                            visible: abp.auth.isGranted('RadixIQ.Features'),
                            action: function (data) {
                                editModal.open({
                                    id: data.record.feature.id
                                });
                            }
                        },
                        {
                            text: l("Delete"),
                            visible: abp.auth.isGranted('RadixIQ.Features.Delete'),
                            confirmMessage: function () {
                                return l("DeleteConfirmationMessage");
                            },
                            action: function (data) {
                                featureService.delete(data.record.feature.id)
                                    .then(function () {
                                        abp.notify.info(l("SuccessfullyDeleted"));
                                        dataTable.ajax.reload();
                                    });
                            }
                        }
                    ]
            }
        },
        { data: "feature.name" },
        { data: "feature.itemNumber" },
        {
            data: "manufacturer.name"
        },
        {
            data: "featureClassification.name",
            defaultContent: ""
        },
        {
            data: "price",
            render: function (price) {
                if (price === null || price === 0) {
                    return '';
                }
                var formatter = new Intl.NumberFormat('en-US', {
                    style: 'currency',
                    currency: 'USD',
                    minimumFractionDigits: 2, // (this suffices for whole numbers, but will print 2500.10 as $2,500.1)
                    maximumFractionDigits: 2, // (causes 2500.99 to be printed as $2,501)
                });

                return formatter.format(price);
            }

        }
    ]

    }));
<abp-table striped-rows="true" id="FeaturesTable">
   <thead>
      <tr>
 	<th>@L["Actions"]</th>
	<th>@L["Name"]</th>
	<th>@L["ItemNumber"]</th>
        <th>@L["Manufacturer"]</th>
	<th>@L["FeatureClassification"]</th>
        @if (!string.IsNullOrWhiteSpace(Model.Tenant))
        {
            <th>@L["Price"]</th>
        }
        else{
            <th hidden>@L["Price"]</th>
        }
        </tr>
    </thead>
</abp-table>
Répondre

I tried that and it still errors out looking for files in a .Web. folder and it's a Blazor app

Affichage de 51 à 60 sur 62 entrées
Made with ❤️ on ABP v8.2.0-preview Updated on mars 25, 2024, 15:11