Beispiel #1
0
 protected void BtnCancel_Click(object sender, EventArgs e)
 {
     if (_order.PaymentInformation.PaymentMethodId != null)
     {
         PaymentMethod paymentMethod = PaymentMethodService.Instance.Get(_order.StoreId, _order.PaymentInformation.PaymentMethodId.Value);
         paymentMethod.CancelPayment(_order);
         SetTransactionPayment(paymentMethod);
     }
 }