Skip to content

Commit

Permalink
Updated test
Browse files Browse the repository at this point in the history
  • Loading branch information
base33 committed Oct 21, 2021
1 parent b4c69ee commit d2a5a49
Showing 1 changed file with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ActionResult HandleDonationForm(DonationFormModel model)
string jsonDonation = JsonConvert.SerializeObject(model);

PaymentIntentRequest paymentIntentRequest;
model.DonationType = "Regular";
//model.DonationType = "Regular";

if (model.DonationType == "Single")
paymentIntentRequest = PaymentIntentRequest.CreateCardPayment(
Expand All @@ -51,7 +51,8 @@ public ActionResult HandleDonationForm(DonationFormModel model)
CurrentPage.Url,
Umbraco.Content(1148).Url,
"/umbraco/surface/DonationFormSurface/HandleCallback",
jsonDonation
jsonDonation,
motoMode: true
);
else
paymentIntentRequest = PaymentIntentRequest.CreateDirectDebit(
Expand Down

0 comments on commit d2a5a49

Please sign in to comment.