Skip to content

Commit

Permalink
iOS - Release and Queries
Browse files Browse the repository at this point in the history
  • Loading branch information
Peter Stavny committed Jul 19, 2023
1 parent b6f59c7 commit 4536b0a
Show file tree
Hide file tree
Showing 18 changed files with 123 additions and 63 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -385,8 +385,8 @@ This is a code example for a basic PayPal payment:
let orderItem = SDKPayECOrderItem()
orderItem.name = "The Watch"
orderItem.amount = AMOUNT;
orderItem.amountCurrency = .EUR;
orderItem.amount = AMOUNT
orderItem.amountCurrency = .EUR
let order = SDKPayECOrder()
order.descriptor = "DEMO DESCRIPTOR"
Expand All @@ -395,7 +395,7 @@ This is a code example for a basic PayPal payment:
order.items = [orderItem]
let payment = SDKPayECPayPalPayment()
payment.appScheme = "example";
payment.appScheme = "example"
payment.amount = AMOUNT
payment.currency = "EUR"
payment.transactionType = .authorization
Expand Down Expand Up @@ -804,7 +804,7 @@ This is a code example for a basic Alipay payment:
payment.currency = SDKPayECCurrencyGetISOCode(SDKPayECCurrency.USD)
let localize = SDKPayECLocalize.appearance()
let locale_de = localize.locale == ._de;
let locale_de = localize.locale == ._de
payment.transactionType = SDKPayECTransactionType.debit
payment.ipAddress = "127.0.0.1"
Expand All @@ -818,7 +818,7 @@ This is a code example for a basic Alipay payment:
let order = SDKPayECOrder.init();
order.number = "180528105918955"
order.detail = "DemoShop product 002"
payment.order = order;
payment.order = order
payment.locale = locale_de ? SDKPayECLocale._de : SDKPayECLocale._en
Expand Down Expand Up @@ -1216,7 +1216,6 @@ every module used in the SDK. The cardfield component is fully customizable by c
. `SDKPayECCardScannerTitleLabel`
. `SDKPayECCardScannerHelpLabel`
. `SDKPayECScannerBrackets`
. `SDKPayECCardScannerTitleLabel`



Expand Down Expand Up @@ -1275,7 +1274,6 @@ every module used in the SDK. The cardfield component is fully customizable by c
. `SDKPayECScannerNavigationBar`
. `SDKPayECIBANScannerTitleLabel`
. `SDKPayECIBANScannerHelpLabel`
. `SDKPayECIBANScannerHelpLabel`
. `SDKPayECScannerBrackets`

//-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,63 +53,63 @@ pod 'mobilePaymentSDK/SEPA'

|All
|all payment method frameworks in one
|pod 'mobilePaymentSDK'
|pod 'Getnet'

|Alipay (Cross Border)
|alipay payment frameworks
|pod 'mobilePaymentSDK/Alipay'
|pod 'Getnet/Alipay'

|Card
|Credit Card payment frameworks
|pod 'mobilePaymentSDK/Card'
|pod 'Getnet/Card'

|PayPal
|PayPal payment frameworks
|pod 'mobilePaymentSDK/PayPal'
|pod 'Getnet/PayPal'

|P24 (Przelewy24)
|P24 payment frameworks
|pod 'mobilePaymentSDK/P24'
|pod 'mobiGetnetlePaymentSDK/P24'

|SEPA (Direct Debit)
|SEPA payment frameworks
|pod 'mobilePaymentSDK/SEPA'
|pod 'Getnet/SEPA'

|WireTransfer
|Wire-Transfer payment frameworks
|pod 'mobilePaymentSDK/WireTransfer'
|pod 'Getnet/WireTransfer'

|Sofort
|Sofort payment frameworks
|pod 'mobilePaymentSDK/Sofort'
|pod 'Getnet/Sofort'

|RatePay
|RatePay payments frameworks
|pod 'mobilePaymentSDK/RatePay'
|pod 'Getnet/RatePay'

|Bizum
|Bizum payments frameworks
|pod 'mobilePaymentSDK/Bizum'
|pod 'Getnet/Bizum'

|Blick
|Blick payments frameworks
|pod 'mobilePaymentSDK/Blick'
|pod 'Getnet/Blick'

|Ideal
|Ideal payments frameworks
|pod 'mobilePaymentSDK/Ideal'
|pod 'Getnet/Ideal'

MBWay
|MBWay
|MBWay payments frameworks
|pod 'mobilePaymentSDK/MBWay'
|pod 'Getnet/MBWay'

Zinia
|Zinia
|Zinia payments frameworks
|pod 'mobilePaymentSDK/Zinia'
|pod 'Getnet/Zinia'

MBReferencia
|MBReferencia
|MB Referencia (Multibanco) payments frameworks
|pod 'mobilePaymentSDK/MBReferencia'
|pod 'Getnet/MBReferencia'

|===

Expand All @@ -123,27 +123,27 @@ MBReferencia

|Scanner
|Card scanner framework
|pod 'mobilePaymentSDK/Scanner'
|pod 'Getnet/Scanner'

|PhotoGallery
|Photo Gallery frameworks
|pod 'mobilePaymentSDK/PhotoGallery'
|pod 'Getnet/PhotoGallery'

|CardScanner
|Credit Card payment frameworks with card scanner
|pod 'mobilePaymentSDK/CardScanner'
|pod 'Getnet/CardScanner'

|CardScannerGallery
|Credit Card payment frameworks with card scanner and photo gallery for card photo scanning
|pod 'mobilePaymentSDK/CardScannerGallery'
|pod 'Getnet/CardScannerGallery'

|IBANScanner
|SEPA payment frameworks with IBAN scanner
|pod 'mobilePaymentSDK/IBANScanner'
|pod 'Getnet/IBANScanner'

|IBANScannerGallery
|SEPA payment frameworks with IBAN scanner and photo gallery for card photo scanning
|pod 'mobilePaymentSDK/IBANScannerGallery'
|pod 'Getnet/IBANScannerGallery'

|===

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -136,8 +136,6 @@ every module used in the SDK. The cardfield component is fully customizable by c
. `SDKPayECCardScannerTitleLabel`
. `SDKPayECCardScannerHelpLabel`
. `SDKPayECScannerBrackets`
. `SDKPayECCardScannerTitleLabel`


//-

Expand Down Expand Up @@ -194,7 +192,6 @@ every module used in the SDK. The cardfield component is fully customizable by c
. `SDKPayECScannerNavigationBar`
. `SDKPayECIBANScannerTitleLabel`
. `SDKPayECIBANScannerHelpLabel`
. `SDKPayECIBANScannerHelpLabel`
. `SDKPayECScannerBrackets`

//-
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ This is a code example for a basic Alipay payment:
payment.currency = SDKPayECCurrencyGetISOCode(SDKPayECCurrency.USD)
let localize = SDKPayECLocalize.appearance()
let locale_de = localize.locale == ._de;
let locale_de = localize.locale == ._de
payment.transactionType = SDKPayECTransactionType.debit
payment.ipAddress = "127.0.0.1"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ payment.signature = signature
var tokenId: String?
self.client?.make(payment, withCompletion:{(response: SDKPayECPaymentResponse?,error: Error?) in
// for each failure error object is provided;
// for each failure error object is provided
if let error = error {
return
}
Expand Down Expand Up @@ -157,7 +157,7 @@ payment.token = token
self.client?.make(payment, withCompletion:{(response: SDKPayECPaymentResponse?,error: Error?) in
// for each failure error object is provided;
// for each failure error object is provided
if let error = error {
return
}
Expand Down Expand Up @@ -221,7 +221,7 @@ payment.signature = signature
var parentTransactionID: String?
self.client?.make(payment, withCompletion:{(response: SDKPayECPaymentResponse?,error: Error?) in
// for each failure error object is provided;
// for each failure error object is provided
if let error = error {
return
}
Expand Down Expand Up @@ -255,7 +255,7 @@ payment.periodic = firstPeriodicType
payment.signature = signature
self.client?.make(payment, withCompletion:{(response: SDKPayECPaymentResponse?,error: Error?) in
// for each failure error object is provided;
// for each failure error object is provided
if let error = error {
return
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -57,8 +57,8 @@ This is a code example for a basic PayPal payment:
let orderItem = SDKPayECOrderItem()
orderItem.name = "The Watch"
orderItem.amount = AMOUNT;
orderItem.amountCurrency = .EUR;
orderItem.amount = AMOUNT
orderItem.amountCurrency = .EUR
let order = SDKPayECOrder()
order.descriptor = "DEMO DESCRIPTOR"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ This is a code example for a basic SEPA payment:
// Secret Key shall never be stored in application.
let payment = SDKPayECSEPAPayment()
payment.appScheme = "example";
payment.appScheme = "example"
payment.amount = AMOUNT
payment.currency = "EUR"
payment.transactionType = .debit
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,14 @@ You can set optional parameters after the payment object is created. Check the d
[#MobilePaymentSDK_iOS_WireTransfer_Visualisaton]
=== Visualisation
---
image::images/07-01-02-integrating-mpsdk-on-ios/iOS/wire-transfer.png[WireTransfer Screen, align=center, width=240, height=420]

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Default | Customized

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/wire-transfer.png[WireTransfer Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/wire-transfer-customized.png[WireTransfer Screen, align=center, width=240, height=420]
|===

[NOTE]
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -82,8 +82,14 @@ You can set optional parameters after the payment object is created. Check the d
[#MobilePaymentSDK_iOS_Sofort_Visualisaton]
=== Visualisation
---
image::images/07-01-02-integrating-mpsdk-on-ios/iOS/sofort.png[Sofort Screen, align=center, width=240, height=420]

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Default | Customized

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/sofort.png[Sofort Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/sofort-customized.png[Sofort Screen, align=center, width=240, height=420]
|
|===
[NOTE]
====
Visualization of Sofort result is up to the merchant applicaton. SDK returns Account holder, Order, Bank Acount and others parameters in payment response. It should be visualized in order for the consumer to be able to check the bank transfer.
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -182,21 +182,38 @@ You can set optional parameters after the payment object is created. Check the d

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Elv | Invoice
| Default Elv | Customized Elv

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-1.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-1.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-1-customized.png[RatePay Screen, align=center, width=240, height=420]


| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-2.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-2.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-2-customized.png[RatePay Screen, align=center, width=240, height=420]

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-3.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-elv-3-customized.png[RatePay Screen, align=center, width=240, height=420]

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-3.png[RatePay Screen, align=center, width=240, height=420]
|

|===

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Default Invoice | Customized Invoice

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-1.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-1-customized.png[RatePay Screen, align=center, width=240, height=420]


| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-2.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-2-customized.png[RatePay Screen, align=center, width=240, height=420]


| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-3.png[RatePay Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/ratepay-invoice-3-customized.png[RatePay Screen, align=center, width=240, height=420]


|===

[NOTE]
====
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -103,10 +103,10 @@ You can set optional parameters after the payment object is created. Check the d

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Bizum
| Default | Customized
|
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/bizum-phone.png[Bizum Phone Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/bizum.png[Bizum Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/bizum-customized.png[Bizum Screen, align=center, width=240, height=420]
|
|===

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ This is a code example for a basic Blik Level Zero payment:
// 2. Initialize payment object and set mandatory properties
// Parameters (amount, currency, transactionType) shall be sent to server for validation or just provided by server
// and used to generate signature. Signature MUST be generated on server side.
// Signature doc: https://document-center.getneteurope.com/display/PTD/Signature+v2
// Signature doc: https://docs.getneteurope.com/_mobile_payment_sdk.html#MobilePaymentSDK_BasicSetup_Security_Signaturev2
// Secret Key shall never be stored in application.
let payment = SDKPayECBlikPayment()
Expand Down Expand Up @@ -102,7 +102,7 @@ This is a code example for a basic Blik Redirect payment:
// 2. Initialize payment object and set mandatory properties
// Parameters (amount, currency, transactionType) shall be sent to server for validation or just provided by server
// and used to generate signature. Signature MUST be generated on server side.
// Signature doc: https://document-center.getneteurope.com/display/PTD/Signature+v2
// Signature doc: https://docs.getneteurope.com/_mobile_payment_sdk.html#MobilePaymentSDK_BasicSetup_Security_Signaturev2
// Secret Key shall never be stored in application.
let payment = SDKPayECBlikPayment()
Expand Down Expand Up @@ -156,10 +156,19 @@ You can set optional parameters after the payment object is created. Check the d

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| ZeroLevel | Redirect
| Default ZeroLevel | Customized ZeroLevel

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/blik-zerolevel.png[Blik ZeroLevel Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/blik-zerolevel-customized.png[Blik ZeroLevel Screen, align=center, width=240, height=420]
|
|===

[%autowidth, cols="a,a", frame=none, grid=none, role="center"]
|===
| Default Redirect | Customized Redirect

| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/blik-redirect.png[Blik Redirect Screen, align=center, width=240, height=420]
| image::images/07-01-02-integrating-mpsdk-on-ios/iOS/blik-redirect-customized.png[Blik Redirect Screen, align=center, width=240, height=420]
|
|===

Expand Down
Loading

0 comments on commit 4536b0a

Please sign in to comment.