cleanup: remove CallbackUrl from package purchase requests — CMS reads from config now
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m7s
Build and Deploy to Kubernetes / build-and-deploy (push) Failing after 3m7s
This commit is contained in:
@@ -183,12 +183,9 @@ public partial class Checkout
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var callbackUrl = $"{Navigation.BaseUri}profile/payment-callback";
|
|
||||||
|
|
||||||
var response = await PackageClient.CustomerPurchasePackageAsync(new CustomerPurchasePackageRequest
|
var response = await PackageClient.CustomerPurchasePackageAsync(new CustomerPurchasePackageRequest
|
||||||
{
|
{
|
||||||
PackageId = _selectedPackage.Id,
|
PackageId = _selectedPackage.Id,
|
||||||
CallbackUrl = callbackUrl,
|
|
||||||
PurchaseMethod = PurchaseMethodEnum.PurchaseMethodGateway
|
PurchaseMethod = PurchaseMethodEnum.PurchaseMethodGateway
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -437,12 +437,9 @@ public partial class Index
|
|||||||
|
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
var callbackUrl = $"{Navigation.BaseUri}profile/payment-callback";
|
|
||||||
|
|
||||||
var response = await PackageContract.CustomerPurchasePackageAsync(new CustomerPurchasePackageRequest
|
var response = await PackageContract.CustomerPurchasePackageAsync(new CustomerPurchasePackageRequest
|
||||||
{
|
{
|
||||||
PackageId = packageId,
|
PackageId = packageId,
|
||||||
CallbackUrl = callbackUrl,
|
|
||||||
PurchaseMethod = PurchaseMethodEnum.PurchaseMethodGateway
|
PurchaseMethod = PurchaseMethodEnum.PurchaseMethodGateway
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user