wallet

passkit - pass not refreshing via push notification. (Server response was malformed)

社会主义新天地 提交于 2019-12-04 12:46:17
I have successfully integrated passkit but I am facing issue when updating passbook via push notification. Notification successfully received to wallet but pass not updated. Following are steps which I have implemented: Used XMPP server (PHP). used this library in php to generate pass ( https://github.com/tschoffelen/PHP-PKPass ). I have replaced pass type and team identifier. Swift code to add pass to wallet. Pass successfully created and add to wallet. To refresh pass "pull to refresh" is working in wallet app. Here is my full code (PHP + SWIFT): https://www.dropbox.com/sh/e3wk8bwqgv8zs3f

PKAddPassPaymentRequest not able to send a Request

谁说胖子不能爱 提交于 2019-12-04 02:03:52
问题 I'm Developing Apple Pay Card Provisioning Apple Pay In-App Provisioning Card I got this continuing this functionality getting the nonce & nonceSignatures from Apple server after getting this trying to send PKAddPassPaymentRequest in the below formate not getting anything is the format is correct what I'm sending PKAddPaymentPassRequest *request = [[PKAddPaymentPassRequest alloc] init]; request.encryptedPassData =[@"XXXXXXXXXXX" dataUsingEncoding:NSUTF8StringEncoding]; request.activationData

Apple Wallet Not Auto Updating Pass

[亡魂溺海] 提交于 2019-12-02 04:30:57
Finally im able to push new changed compiled bundle. There is one issue im facing in order to see new changes. i have to go in my wallet card & disable "Automatic updates" then enable. then i can see my new compiled pass card. $result = $pdo->query($query); if($result->rowCount() > 0) { $myPass = $result->fetch(); $data = $myPass['data']; $nameFile = 'passbook_'.time().'.pkpass'; file_put_contents($nameFile, $data); $stream = function () use ($nameFile) { readfile($nameFile); }; return $app->stream($stream, 200, array( 'Content-Type' => 'application/vnd.apple.pkpass', 'Content-length' =>

PKAddPassPaymentRequest not able to send a Request

你离开我真会死。 提交于 2019-12-01 13:32:51
I'm Developing Apple Pay Card Provisioning Apple Pay In-App Provisioning Card I got this continuing this functionality getting the nonce & nonceSignatures from Apple server after getting this trying to send PKAddPassPaymentRequest in the below formate not getting anything is the format is correct what I'm sending PKAddPaymentPassRequest *request = [[PKAddPaymentPassRequest alloc] init]; request.encryptedPassData =[@"XXXXXXXXXXX" dataUsingEncoding:NSUTF8StringEncoding]; request.activationData =[@"XXXXXXXXXXX" dataUsingEncoding:NSUTF8StringEncoding]; request.ephemeralPublicKey =[@"XXXXXXXXXXX"

How to add a credit/debit card into apple wallet from the ios App

佐手、 提交于 2019-11-29 00:40:35
I would be really helpful if anyone provides a solution to know, how do we add the credit/debit card details to Wallet from our App . I have the credit/debit card details for the user and when user tap on Apple Pay option in my App, the Add Card screen in Apple Wallet need to be opened with card data pre-populated. How do we achieve the same. Thanks in advance The good news is that this can be done. What you are looking for is In-App Provisioning of Payment Cards . This is done using the PKAddPaymentPassViewController , which requires the com.apple.developer.payment-pass-provisioning

How to add a credit/debit card into apple wallet from the ios App

早过忘川 提交于 2019-11-27 15:24:29
问题 I would be really helpful if anyone provides a solution to know, how do we add the credit/debit card details to Wallet from our App . I have the credit/debit card details for the user and when user tap on Apple Pay option in my App, the Add Card screen in Apple Wallet need to be opened with card data pre-populated. How do we achieve the same. Thanks in advance 回答1: The good news is that this can be done. What you are looking for is In-App Provisioning of Payment Cards . This is done using the