Skip to content

Commit

Permalink
Merge branch 'master' into prepare-1.0.67
Browse files Browse the repository at this point in the history
  • Loading branch information
reywyn authored Oct 15, 2024
2 parents 8690401 + e1fd65a commit 2c6f59e
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Craftgate/Model/WebhookEventType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,8 @@ public enum WebhookEventType
[EnumMember(Value = "WALLET_CREATED")] WALLET_CREATED,
[EnumMember(Value = "WALLET_TX_CREATED")] WALLET_TX_CREATED,
[EnumMember(Value = "BNPL_NOTIFICATION")] BNPL_NOTIFICATION,
[EnumMember(Value = "BANK_ACCOUNT_TRACKING_RECORD")] BANK_ACCOUNT_TRACKING_RECORD
[EnumMember(Value = "BANK_ACCOUNT_TRACKING_RECORD")] BANK_ACCOUNT_TRACKING_RECORD,
[EnumMember(Value = "BKM_EXPRESS_PAYMENT_NOTIFICATION")] BKM_EXPRESS_PAYMENT_NOTIFICATION,
[EnumMember(Value = "MULTI_PAYMENT_COMPLETED")] MULTI_PAYMENT_COMPLETED
}
}
1 change: 1 addition & 0 deletions Craftgate/Request/InitGarantiPayPaymentRequest.cs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,6 @@ public class InitGarantiPayPaymentRequest
public string BankOrderId { get; set; }
public IList<PaymentItem> Items { get; set; }
public List<GarantiPayInstallment> Installments { get; set; }
public IList<int> EnabledInstallments { get; set; }
}
}
1 change: 1 addition & 0 deletions Samples/PaymentSample.cs
Original file line number Diff line number Diff line change
Expand Up @@ -894,6 +894,7 @@ public void Init_GarantiPay_Payment()
Currency = Currency.TRY,
PaymentGroup = PaymentGroup.LISTING_OR_SUBSCRIPTION,
CallbackUrl = "https://www.your-website.com/craftgate-garantipay-callback",
EnabledInstallments = new List<int> {2, 3},
Items = new List<PaymentItem>
{
new PaymentItem
Expand Down

0 comments on commit 2c6f59e

Please sign in to comment.