przelewy24 / p24-mobile-lib-ios

iOS library for Przelewy24 payments
2 stars 0 forks source link

Issue on ApplePay transaction #17

Closed marekhac closed 2 months ago

marekhac commented 2 months ago

Hi, I got a strange issue during regular payment via ApplePay. On last step there is an alert:

Zrzut ekranu 2024-08-25 o 22 10 54

I use "trnRequest transaction call" and in documentation I found something like this:

During the registration with the "trnRegister" method, additional parameters should be provided:

p24_mobile_lib=1 p24_sdk_version=X – where X is a moibile lib version provided by [P24 sdkVersion] method This parameters allows Przelewy24 to classify the transaction as a mobile transaction. A Token registered without this parameter will not work in the mobile application (an error will appear upon return to the bank and the library file will not detect payment completion).

Can you explain where exactly I should add these two parameters ? I also haven't seen them on example app (P24ExampleSwift). Thanks!