Questions tagged [swish]

Swish is a micropayment system in Sweden. Do not use this tag for SWI-Prolog for Sharing (SWISh)

Swish is a micropayment system in Sweden.

Do not use this tag for .

28 questions
7
votes
1 answer

Upload TLS client certificate to Firebase cloud functions

I'm trying to figure out if it is possible to upload a TLS client certificate to be used for my cloud functions in firebase. The TLS client certificate is required by a third-party payment solution called Swish. This is my first firebase project and…
Philip Nord
  • 141
  • 1
  • 11
4
votes
0 answers

HttpClient SSL Handshake failure self signed certificate - Swish

I will literally pull my hair out. This should not be hard to implement, but anyway I cannot get it to work. I am trying to implement the Swedish Swish API for payments. All we need is to send a payload and add a certificate to the…
2
votes
2 answers

Remove .swf from HTML once played

I have taken an absolutedly positioned element on the page and have inserted a flash swf in it. The problem is, that the links behind the flash movie does not work. I want the flash movie to disappear and totally unload after it finishes…
themajiks
  • 420
  • 1
  • 8
  • 23
2
votes
0 answers

Signing issue when sending payload to Swish API

I am trying to send a payload to Swish (Swedish payment system), using TLS- and signing certificates. I am currently working with the Merchant Swish Simulator and using test-certificates from Swish documentation. When sending the payload and…
Linnea Nai
  • 21
  • 2
2
votes
1 answer

Index PDF files and generate keywords summary

I have a large amount of PDF files in my local filesystem I use as documentation base and I would like to create an index of these files. I would like to : Parse the contents of the PDF files to get keywords. Select the most relevant keywords to…
JeanJouX
  • 2,555
  • 1
  • 25
  • 37
1
vote
1 answer

How to find a list in prolog?

Previously I wrote the predicate, reach(Departure, Arrivals) to find all points I can get into from the Departure point. How I can find a list of names of departure points from which I can get to a given point arrivals? For example ?- list(krum,…
Mashka
  • 35
  • 4
1
vote
1 answer

How do you consume the Swish QR Code API using classic ASP?

The designers of the Swish QR Code API have chosen to use POST as the method for generating and fetching QR codes. I do not understand this choice, but that's how it is. Consuming the API would be trivial if they had opted to utilize the GET method…
Tomas Eklund
  • 573
  • 1
  • 4
  • 16
1
vote
1 answer

Prolog error arguments are not instantiated

When running this code: signcheck(Sign1,Sign2):-(Sign1==clubs,Sign2==hearts);(Sign1==clubs,Sign2==spades) ;(Sign1==clubs,Sign2==diamonds);(Sign1==hearts,Sign2==spades) …
1
vote
1 answer

SSLError certificate verify failed when testing the Swish API

I am trying to send a test request to the Swedish micro payment system Swish. When running the code below, I get the error "SSLError("bad handshake: Error([('SSL routines', 'tls_process_server_certificate', 'certificate verify failed')])" My OpenSSl…
Nelson
  • 43
  • 5
1
vote
1 answer

Install TLS certificates on web server iOS app

I'm trying to integrate Swish payment in one of the apps I develop. In order to be able to connect to the swish api I have to "set up TLS certificates from Swish Certificate Management and install it on "my" web server" according to the…
1
vote
0 answers

Problem: Swish-e escapes the / in links to a subdirectory?

I'm running swish-e on a subdirectory htm/. On any search results page, the urls have the directory separator escaped, giving unusable links like htm%2Fpage.htm. How do I get swish-e or search.cgi to not escape the urls in the results? I'm using the…
Erik Olson
  • 1,154
  • 8
  • 18
1
vote
1 answer

How to create a combo box in swish max?

Please help me create a combo box in swish max. I searched for ready-made components, but it's not there in swish. How can I do this?
Noddy Cha
  • 851
  • 1
  • 12
  • 19
1
vote
0 answers

How do I change color at a certain time in my countdown timer on Swish?

onSelfEvent (load) { var start : String = "02:00"; result.text = start; _global.min = int(start.slice(0,2)); _global.sec = int(start.slice(3,5)); var timerInterval : Number; var not_active : Boolean = true; var keyListener : Object = new…
user76449
  • 55
  • 1
  • 9
0
votes
1 answer

Each statement and the dribble API is giving me trouble

I'm trying to go through the first 5 shots on dribbble with Jeremys awesome dribbble library (https://github.com/jeremyw/swish), get their titles and then print those items in the view, but I keep getting the error: undefined method `title' for…
Holger Sindbaek
  • 2,278
  • 6
  • 41
  • 68
0
votes
0 answers

How to add limit in prolog?

Previously I wrote the predicate, reach(Arrivals,Departure) to find a list of names of departure points from which I can get to a given point arrivals. Now, how can I make sure that the total cost from the calculated route does not exceed a given…
Mashka
  • 35
  • 4
1
2