Skip to content

Commit

Permalink
change url and remove unused variables
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-techcombine committed Mar 4, 2025
1 parent 6882ef8 commit 242554b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 11 deletions.
4 changes: 2 additions & 2 deletions OmiseSDK/Sources/OmiseAPI/OmiseAPI.swift
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@ enum OmiseServerType {

extension OmiseServerType {
// swiftlint:disable force_unwrapping
private var apiServerURL: String { "https://api.staging-omise.co" }
private var vaultServerURL: String { "https://vault.staging-omise.co" }
private var apiServerURL: String { "https://api.omise.co" }
private var vaultServerURL: String { "https://vault.omise.co" }

var url: URL {
switch self {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,15 +27,6 @@ class ApplePaymentHandler: NSObject, ApplePaymentHandlerType {
/// The payment authorization controller conforming to `PaymentAuthorizationControllerProtocol`.
var paymentController: PaymentAuthorizationControllerProtocol?

/// The array of payment summary items (e.g., total, tax) for the payment request.
var paymentSummaryItems: [PKPaymentSummaryItem] = []

/// The current status of the payment authorization.
var paymentStatus = PKPaymentAuthorizationStatus.failure

/// The Omise payment token obtained after a successful payment authorization.
var omisePaymentToken: String = ""

/// The completion handler called after payment processing completes.
private(set) var completionHandler: ((PKPayment?, Error?) -> Void)?

Expand Down

0 comments on commit 242554b

Please sign in to comment.