Cyclos Mobile App - Paypal Bug - Android Samsung S10 plus

Bug and problem reporting on Cyclos 4 version

Moderators: hugo, alexandre, rmvanarkel

Post Reply
Willox
Posts: 11
Joined: Mon May 06, 2019 4:19 pm

Cyclos Mobile App - Paypal Bug - Android Samsung S10 plus

Post by Willox »

Hi,
I am using the following devices:
1- Samsung S10 plus Android with Cyclos 4 Mobile version 4.2 downloaded from the Android Play Store
2 - Cyclos 4.12
revision 04186c5b68794be61ffa6bc7fb4a478817386a94
3- Paypal sandbox

I copied the Paypal scripts from the manual 4.12

The Paypal scripts are working OK when I use the Chrome Browser on my desktop and Android phone.

However when I use the Cyclos 4 Mobile App the Paypal scripts fail with the following message
"The required information was not found".

This is a bug to my knowledge on 4.12.


============================================================================================================
I did some Wireshark captures on the Cyclos server side and found the following.

The Cyclos 4 Mobile app is sending the following request to the Cyclos:
GET /cyclos/redirect/mobile/externalRedirect?id=3026533613545347487&token=W35zxpeJCB8FDgJ2uYFnTjsJIShi17Yj?
succes=true&paymentId=PAYID-LXRMUHA22L149486N0479624&token=EC-94258689RG378911R&PayerID=UATYR36KPKG8W HTTP/1.1\r\n

And the Cyclos server 4.12 responded back with an HTTP/1.1 302
Hypertext Transfer Protocol
HTTP/1.1 302 \r\n
x-xss-protection: 1; mode=block\r\n
x-frame-options: SAMEORIGIN\r\n
Location: cyclos://externalRedirect?id=3026533613545347487&token=W35zxpeJCB8FDgJ2uYFnTjsJIShi17Yj?
succes=true,EC-94258689RG378911R&paymentId=PAYID-LXRMUHA22L149486N0479624&PayerID=UATYR36KPKG8W\r\n
Content-Length: 0\r\n


Then the mobile App sent a POST request
POST /cyclos/api/operations/callback/3026533613545347487?
token=W35zxpeJCB8FDgJ2uYFnTjsJIShi17Yj%3Fsucces%3Dtrue%2CEC-94258689RG378911R HTTP/1.1\r\n

Which the Cyclos server responded with an HTTP/1.1 404 (application/json)
Hypertext Transfer Protocol
HTTP/1.1 404 \r\n
x-xss-protection: 1; mode=block\r\n
x-frame-options: SAMEORIGIN\r\n
Content-Type: application/json;charset=UTF-8\r\n
Transfer-Encoding: chunked\r\n
Date: Sat, 30 Nov 2019 20:00:19 GMT\r\n
\r\n
[Request URI: http://xxxxxxxxx/cyclos/api/operations/ ... 3545347487?
token=W35zxpeJCB8FDgJ2uYFnTjsJIShi17Yj%3Fsucces%3Dtrue%2CEC-94258689RG378911R]
HTTP chunked response
File Data: 116 bytes
JavaScript Object Notation: application/json
Object
Member Key: entityType
String value: ExternalRedirectExecution
Key: entityType
Member Key: key
String value: W35zxpeJCB8FDgJ2uYFnTjsJIShi17Yj?succes=true,EC-94258689RG378911R
Key: key

josekdio
Posts: 5
Joined: Tue Jun 21, 2016 9:37 am

Re: Cyclos Mobile App - Paypal Bug - Android Samsung S10 plus

Post by josekdio »

Hello William,

Looks like the option to allow the PayPal module on the mobile app is not activated. Check the file attached and also your phone I sent you a screen capture of what you have to see when the option for mobile is on.

Text me directly on my phone if you have more question
Attachments
701E6737-D64B-4867-BD02-08FE1B19404A.jpeg
701E6737-D64B-4867-BD02-08FE1B19404A.jpeg (70.51 KiB) Viewed 1200 times

Post Reply