Jump to content

UniGUI OpenSource - Paypal Buttons, Webcam, VideoPanel, mxGraph, BarcodeScanner, Qz.io


Recommended Posts

22 hours ago, emin said:

Hi Hayri

I need a simple fix. When the form is created, the camera automatically became actives and asks for permission from the user. Instead, when I click the "start camera" button, I want to activate the camera and get permission.

 

 

Hello

I suggest add you camera to a frame and create your frame when you need it

Link to comment
Share on other sites

I did the same thing, but interestingly, when I add the uniwebcam component to another form, the camera list is displayed at runtime, but the camera component does not appear (I want to use the camera form as a popup form)

 

 

Ekran Alıntısı.JPG

Link to comment
Share on other sites

  • 2 weeks later...
On 9/11/2019 at 10:14 AM, Hayri ASLAN said:

Starting with Paypal Buttons.

http://hayriaslan.net:8090/

DEMO VIDEO : https://webm.red/ZFGO.webm

 

To test payment 

Generated Credit Card Details
Card Type: Visa

Card Number: 4597443260919173

Expiration Date: 01/2022

CVV: 200

To get values you can use 

UniOSPaypalButtons1.ResultList.Values['purchase_units.shipping.name.full_name']

 

image.thumb.png.9310125df0f461f9cddc9c91f8d446b6.png

 

***NOTES***

https://developer.paypal.com/docs/checkout/integrate/

- Add https://www.paypal.com/sdk/js?client-id=YOUR_CLIENT_ID to Servermodule.CustomFiles.

- Set ClientID and SecretKey properties of component

UniGUIOpenSource.zip

Please attach the request file again.

Link to comment
Share on other sites

I finally fixed the problem with Hayri's support. Previously, I was selecting  uniwebcam.camera.name in form creation. When I select the cameraname in the CameraList event, the problem disappears. Now it works fine

Link to comment
Share on other sites

  • 3 months later...

Hi, I'm having problems compiling the UNIGUIos.bpl component
It gives me this error and I don't know how to solve it,

image.png.8c0001fce8c1dc330655f0d45756d9b3.png

commenting the lines that have ".addpair", it compiles me but when I install it gives this error

image.png.723141fab11de6ab07fe1df502e52a55.png

I'm using UNIGUI v1.90.0.1547

Link to comment
Share on other sites

  • 6 months later...
On 12/22/2021 at 1:02 PM, likemike said:

Sorry for pushing, but the problem with UnimBarcodeScanner1.CameraList is still actual.

The UnimBarcodeScanner1.CameraList; doesn't load all video devices on Android devices (only the front cameras are listed).

Another problem: on iOS-devices the 1st try gives only "Video device 1 =", while the 2nd try loads front and rear camera correctly.

Maybe there is a new version of ZXING.min.js?

Hello!

I'm still having this problem with the UnimBarcodescanner component. Especially the problem with iOS devices, which are working only when I call the barcodescanner the 2nd time.

Is there nothing, I can do?

Regards

Mike

Link to comment
Share on other sites

  • 2 weeks later...
On 12/22/2021 at 7:23 PM, Hayri ASLAN said:

Hi

Did you try with new version of ZXING?

Hello Hayri!
I've tried some other Zxing-files, but the problem on iOS (iPhones) is still there. 
The 1st try opening the cameralist only shows one device, while the 2nd try works perfect.

I guess, the problem has to do with the permission to use the camera. The 1st time the permission isn't set, so the cameralist is not loaded. The 2nd time the permission from the 1st try is active, so the cameralist could be loaded.
One solution is, to give access to the camera in the App-option-menu to Safari permanently.

 

Link to comment
Share on other sites

  • 5 months later...
  • 5 weeks later...
On 2/29/2020 at 6:17 PM, ming ng said:

Hi, Anyone can help here.  I tried the project and Paypal button, it works.  However, when I change the currency to HKD, the paypal screen did not pop up.  Any clue here?  Thanks in advance.

Hey there! Experienced a hiccup with the Paypal button when changing currency to HKD—didn't trigger the Paypal screen. Any insights or tips on resolving this would be greatly appreciated. Thanks!

Link to comment
Share on other sites

8 minutes ago, Darsh said:

Hey there! Experienced a hiccup with the Paypal button when changing currency to HKD—didn't trigger the Paypal screen. Any insights or tips on resolving this would be greatly appreciated. Thanks!

Hello, what version and build if uniGUI are you using?

Link to comment
Share on other sites

  • 1 month later...
On 19.08.2020 at 03:02, Hayri ASLAN said:

qz.io sessiz yazdırma.

image.png.631c1dbf502a19e4f0a7d75cf90ed3c8.png

Lütfen QZ Tepsisini istemci makineye indirin. https://qz.io/download/

UniGUIOS.zip 4,41 MB · 204 indirme

@Hayri ASLAN Hocam Kolay gelsin.

qz.io projemde kullanmak istiyorum. Componenti kurdum. 

https://qz.io/download/ adresnden uygulamayı da indirdim kurdum. 

Örnek uygulama exe modunda çalışırken bağlanıyor. Ancak benim uygulamam inetrnette dll modunda çalışıyor ama QZ ile bağlantı kurulamıyor.

Ekte k hatayı alıyorum. Acaba neyi yanlış yapıyorum. 

Quote

tmp=qz.websocket.connect();tmp.catch(function(e){ajaxRequest(O24E, "onError", {error : e});});tmp.then(function(){ajaxRequest(O24E, "onConnected");});

Yardımcı olursanız sevinirim.

2023-12-12_10-06-09.png

Link to comment
Share on other sites

  • 2 months later...
On 11/9/2023 at 3:50 PM, Darsh said:

Hey there! Experienced a hiccup with the Paypal button when changing currency to HKD—didn't trigger the Paypal screen. Any insights or tips on resolving this would be greatly appreciated. Thanks!

Just add currency=HKD to the SDK url found in ServerModule.CustomFiles: "https://www.paypal.com/sdk/js?currency=HKD&client-id=XXXXXXX"

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...