Skip to content

Commit

Permalink
Merge pull request #70 from AppSci/feature/ApplePay
Browse files Browse the repository at this point in the history
added merchant name for ApplePay
  • Loading branch information
yehorkyrylov authored Oct 24, 2022
2 parents 7d40ad0 + 7a7de15 commit 8292052
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions Sources/PandaSDK/InApp/ApplePayPaymentHandler.swift
Original file line number Diff line number Diff line change
Expand Up @@ -62,9 +62,10 @@ final class ApplePayPaymentHandler: NSObject {
return
}

let product = PKPaymentSummaryItem(label: label, amount: NSDecimalNumber(string: price), type: .final)
let product = PKPaymentSummaryItem(label: label, amount: NSDecimalNumber(string: price), type: .pending)
let finalProduct = PKPaymentSummaryItem(label: "GM APPDEV LIMITED", amount: NSDecimalNumber(string: price), type: .final)

paymentSummaryItems = [product]
paymentSummaryItems = [product, finalProduct]

// Create a payment request.
let paymentRequest = PKPaymentRequest()
Expand Down

0 comments on commit 8292052

Please sign in to comment.