xavierlaffargue / webservice-passbook Goto Github PK
View Code? Open in Web Editor NEWAn Example Implementation of a Passbook Webservice in PHP
License: GNU General Public License v3.0
An Example Implementation of a Passbook Webservice in PHP
License: GNU General Public License v3.0
Everything's work fine, registration, unregistration.
But when I update the pass in the database there isn't notification.
Something appear only if I disable and reable automatics updates on the backfield.
Can someone help me?
I can’t update the map data. The documentation says that I should send data, but I don’t know how exactly. I think I need to send json. But I don’t understand what it should be. For example, I want to update the card balance, how to do this, tell me please. In the db, this is binary data, but I need an example. Here is json from file and code
$static = '{
'pushDevices': '19e876b60a865970268e84f2ae42c1935b08dc3d662f4d423845bccf0249d421'
}';
return $app->stream($stream, 200, array(
'Content-Type' => 'application/vnd.apple.pkpass',
'Content-length' => filesize($nameFile),
'Content-Disposition' => 'attachment; filename="passbook.pkpass"',
'Last-Modified' => gmdate('D, d M Y H:i:s T')
));
Hi, I'm testing this interesting APP but seems that I have an issue . Could anyone help me?
ResourceNotFoundException in UrlMatcher.php line 98:
No routes found for "/".
in UrlMatcher.php line 98
at UrlMatcher->match('/') in RedirectableUrlMatcher.php line 28
at RedirectableUrlMatcher->match('/') in LazyUrlMatcher.php line 51
at LazyUrlMatcher->match('/') in RouterListener.php line 156
at RouterListener->onKernelRequest(object(GetResponseEvent), 'kernel.request', object(EventDispatcher))
at call_user_func(array(object(RouterListener), 'onKernelRequest'), object(GetResponseEvent), 'kernel.request', object(EventDispatcher)) in EventDispatcher.php line 184
at EventDispatcher->doDispatch(array(array(object(RouterListener), 'onKernelRequest'), array(object(LocaleListener), 'onKernelRequest'), array(object(MiddlewareListener), 'onKernelRequest')), 'kernel.request', object(GetResponseEvent)) in EventDispatcher.php line 46
at EventDispatcher->dispatch('kernel.request', object(GetResponseEvent)) in HttpKernel.php line 125
at HttpKernel->handleRaw(object(Request), '1') in HttpKernel.php line 64
at HttpKernel->handle(object(Request), '1', true) in Application.php line 586
at Application->handle(object(Request)) in Application.php line 563
at Application->run() in index.php line 182
I always get the following error message when i try to send the push message:
+ + + + + + ERROR Response Command:0 Identifier:402915328 Status:0-No errors encountered
Identifier is the rowID (index) in the database that caused the problem, and Apple will disconnect you from server. To continue sending Push Notifications, just start at the next rowID after this Identifier.
+ + + + + + ERROR Response Command:0 Identifier:256 Status:0-No errors encountered
Identifier is the rowID (index) in the database that caused the problem, and Apple will disconnect you from server. To continue sending Push Notifications, just start at the next rowID after this Identifier.
Message successfully delivered int(33)
Manual Update is working so far.
Can someone explain me what the problem could be?
Get pass task (pass type pass.kz.cloudsystem.disscountCard, serial number p69f2J, if-modified-since (null); with web service url https://2a26f7bc.ngrok.io/) encountered error: Received invalid pass data (?? ??????? ??????? ?????, ??? ??? ??? ???????????????.)
Tell me what to do with it.
im not getting getpass request? do im missing something >
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.