-
Posts
347 -
Joined
-
Last visited
Marco Ro's Achievements
Sr. Member (5/6)
110
Reputation
-
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
thank you @BrendonKoz In the end I fixed by changing the server provider. I can't make change in the php ini in OVH. so, just fixed by go back to site ground. -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
Could be my script non be configured well for my server? http://iovfspa.cluster031.hosting.ovh.net/phpinfo.php -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
@flydev @BrendonKoz sorry, maybe I didn't understand what you tell me. Look like server side is all good, the port 443 is open. But I still to not understand way I can't get the answer from the call. You say that HTTPS is forbidden. But have I to configure Processwire to use HTTP for this call ? I can't understand where is the problem, I have this call, that start from playwood.it and go to https://auth.giobby.com/auth/... I just test with Postman and works, test with other server and other CMS and works, in my past Processwire website works but was a old PW version and other server. $auth = array( "grant_type" => 'password', "client_id" => 'PLA591WOD-playwoodsrl', "username" => 'demo-dev', "cid" => 'playwoodsrl', "password" => 'DemoPassword' ); $dati = ''; foreach ($auth as $k => $v) { $dati .= $k . '=' . urlencode($v) . '&'; } rtrim($dati, '&'); $ch = curl_init(); curl_setopt($ch, CURLOPT_URL, 'https://auth.giobby.com/auth/realms/api-server/protocol/openid-connect/token'); curl_setopt($ch, CURLOPT_HEADER, 0); curl_setopt($ch, CURLOPT_RETURNTRANSFER, true); curl_setopt($ch, CURLOPT_TIMEOUT, 30); curl_setopt($ch, CURLOPT_POST, true); curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, false); curl_setopt($ch, CURLOPT_POSTFIELDS, $dati); $result = curl_exec($ch); $error = curl_error($ch); curl_close($ch); $result_obj = json_decode($result); $tokenGiobby = $result_obj->access_token; -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
Problem is not on the auth.giobby.com side. The problem is in my server, where is store the e-commerce www.playwood.it I need response with the access token and not arrive because my port is close. (I think) I just change the provider from siteground to OVH, add look like the OVH with my current plane not give me the ability to setup the ports. I try to deleted the firewall but probably OVH have some security setup that not open the door by default. -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
Yes is this, but I have a different plan, so I can't for my self open the port 443 -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
Thank you for your help! I'm quite sure that problem is in the server, because I just try with another server provider (chipper one) and everything works well. How could I check if is the server ? -
Something block response form POST and GET call
Marco Ro replied to Marco Ro's topic in Getting Started
Yes I think is this!! OVH ? How can I unblock the port? I have written to the assistance, but they are really slowly! -
Hello everyone, there is something blocking the responses of POST and GET calls. I don't know what to do, the call tried on postman works. And also from a site with an older version of ProcessWire. I can't figure out what it is that's blocking the response. All I get is this error: `Failed to connect to auth.giobby.com port 443: Connection timed out` What I can do?
-
Can I come and kiss you??? Thank you! Was this little things now all works well. Didn't know why before I have the function __() problem, maybe something got broken during the installation process, but weird. Anyway Thank you again
-
I try to direct upload the folder site and wire to the host, and changing the config for the server. Now I don't see anymore that error, but, the homepage is the only page works ? all other URL are Not Found. So, keep tring to fix new bug.
-
Thank you @BitPoet I already try to clear the cache in site/assets/cache, and also in the db. It is the first time I see this error and I don't know if it could be something about the server, but I guess OVH it's ok, all the setup look good. The same installation on Mamp works well. At moment, I try to install the site-languages-main, but I think the last PW version has already that inside, so, I'm not sure if this will work. If not work I will try again by copy post the local installation. I don't have any other idea
-
Hello everyone, I haven't posted here for a long time! I hope everything is going well. I had a problem migrating a site, I uploaded a site to an OVH server (I don't know if it's related), I have this error: `Call to undefined function __()` I can't figure out how I can solve it, not always be related to the installation. I have tried both MySQL 5.7 and 8, PHP7.4 and PHP8. But no combination solves the problem. Do you know what I can do? Thank you
-
module Module ImageReference - Pick images from various sources
Marco Ro replied to gebeer's topic in Modules/Plugins
Hi, I created a new installation and tried to use the module, only it doesn't work for me if I put the field ImageReference inside the Repeater. Do I have to do anything to activate it? ty -
Interesting I see that is a really minimal code, but what we needed was different. The PayPal Platform Commerce version let you pay using card without any PayPal account. So, PayPal works like Stripe, he make a connection with the customer's back account and make the 3d security check, so user don't pay using PayPal but with a tool of PayPal. (this also have a less fee than Stripe). Other nice thing of this version, like the old one, it integrate the local payment method like bank transfert. Also, here in Italy is not ready yet, but in the future will be possible have the payments in installments for customer, where PayPal pay all the amount to you but the customer can split into a maximum of 3/4 installments.
-
Hi @Hackasacka, thank you for share. This is interesting, but what I needed was a server side operation, because the PayPal Platform Commerce version active more PayPal features, like card payment for no PayPal account. In the end I finish the module, is a bit row respect all the ProcessWire Module because it is my first module, but works well. I use it form 1 moth without problems. You can find it here: or here: https://github.com/MarcooRo/processwire-PayPal-Commerce-Platform