alipay intergration page not found - integration

Anyone having expierience with the integration of Alipay?
I tried the method on the following page:
https://globalprod.alipay.com/order/integrationGuide.htm
But after editing my hostfile I get an "Server not found" on the following URL:
https://excashier.alipay.net/standard/auth.htm?auth_order_id=exc_2986bbacc22f46a7bca423e396777f37&_cache_context_token=FSGDdsr6ZgMVHOn14Ym6akIeYBGUZma4
Anyone have an idea?
greets

Try add in your hosts file
115.124.16.59 mapi.alipay.net excashier.alipay.net

Related

'ConnectionAborted Error' on Uploading new Appbundle to Forge

I am trying to upload a new appbundle. I can register the appbundle and it goes through fine, but when I try to upload the appbundle I get this error:
requests.exceptions.ConnectionError: ('Connection aborted.', error(10054, 'An existing connection was forcibly closed by the remote host'))
Is it s server side error? How can I get around it?
In turned out that the issue was I was adding the Forge Auth header to the call and I guess it was causing the failure. Wish the error message was more helpful.
At this point you are talking to Amazon AWS S3 directly. None of our code is in the picture. It could be a temporary glitch in S3 (and then your should simply retry). Or it is possible that your request is malformed. See https://forge.autodesk.com/en/docs/design-automation/v3/reference/http/appbundles-POST/

I am getting error with WordPress contact form 7

I am using contact form 7 version 4.9
When I try to submit the form, POST request is sent to this endpoint
/wp-json/contact-form-7/v1/contact-forms/<form id>/feedback
But it gets 301 Moved Permanently and GET request is sent to the endpoint /wp-json/contact-form-7/v1/contact-forms/<form id>/feedback again.
As a result, I get this response {"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}} and form is not submitted.
Form is working on my local correctly but occurs error on server.
Anyone has ideas?
Thanks in advance for your help.
I have solution tested and working for me
Please downgraded to version 7.4.7 https://downloads.wordpress.org/plugin/contact-form-7.4.7.zip it will work good
I have a similar issue and solved it when I noticed the WordPress install did not have a .htaccess file. I created a default .htaccess file and this fixed my contact form.

Google Chrome: DOMException: Registration failed - manifest empty or missing

I am trying to implement Push Notifications on my website (using Pushpad). Therefore I created a "manifest.json" with following content:
{
"gcm_sender_id": "my_gcm_sender_id",
"gcm_user_visible_only": true
}
of course I created a valid GCM-Account and have a sender id
I put the manifest.json into my root directory and I also added this line to my index.php:
<link rel="manifest" href="/manifest.json">
Using Firefox everything works fine and I can send and receive push notifications (so I think the manifest-include works fine), but Chrome won't work...
The console shows following error:
Uncaught (in promise) DOMException: Registration failed - manifest empty or missing
I searched Google for a long time and tried everything I found, but nothing works.
What I tried:
created the manifest.json with "Editor" and saved it as type All Types (so no hidden .txt-file) and also with UTF-8-Encoding.
restarted Chrome
cleared Chrome's cache, history, etc.
I really hope somebody can help me.
For me it was a redirect. The manifest.json must return a 200 status code (must be directly available from the server), without any redirects.
You can check the response via
wget --max-redirect=0 https://example.com/manifest.json
or
curl https://example.com/manifest.json
I faced same issue,added manifest file right after head tag . which worked for me.Cheers!
This may be an issue with your Service Worker scope. I ran into a similar problem when I rearranged my files/directories. Make sure your sw.js is on the same level as your manifest.json, otherwise the service worker won't be able to find your manifest. Try putting them both in the root of your directory. Optionally, you can specify the scope of your service worker by adding it to serviceWorker.register():
if ('serviceWorker' in navigator) {
navigator.serviceWorker.register('/sw-test/sw.js', {scope: '/sw-test/'})
.then(function(reg) {
// registration worked
console.log('Registration succeeded. Scope is ' + reg.scope);
}).catch(function(error) {
// registration failed
console.log('Registration failed with ' + error);
});
}
Read more here:
https://developer.mozilla.org/en-US/docs/Web/API/Service_Worker_API/Using_Service_Workers
Was wondering if your "manifest.json" is public accessible ?
If not maybe you can try to set it public accessible to see if that helps or not.
And it seems that the current chrome, when getting the "manifest.json" won't supply the cookies.
Because I didn't find an answer anywhere out there in the WWW, but managed to get it working after some time I want to provide my solution/answer for other users, who probably have the same problem:
In the file where I inlcuded the Pushpad files I wrote some PHP-Code before the <head>-Tag to include some files, e.g. for database connection. After I moved the PHP-Code below the <head>-Tag everything worked fine.
There seem to be three ways to fix this bug:
a) No redirects for "manifest.json" file.
b) Put a link to this file at the top of the tag.
c) Be sure, that there is no other manifest file before this one, cause it seems that web push script will try to import the first one and return an error due to the wrong data.
I have tried all three and finally forced Chrome to behave.
Adding the following block fixed this for me:
self.addEventListener('push', (event) => {
const title = 'Get Started With Workbox';
const options = {
body: event.data.text()
};
event.waitUntil(self.registration.showNotification(title, options));
});

Newbie: Getting basic app script to work, encountered AppKey error

I am following the instructions here to get a basic appscript to work. When I load the given page ("quickstart.html"), it does properly prompt me to "authorize" the connection. After authorizing, it redirects me to an error page with the error:
[ORIGINAL ERROR] generic::not_found: com.google.apps.docs.error.DocumentNotFoundException: Invalid or missing required AppKey
The invalid/missing AppKey suggests that this is a basic configuration issue. Other than the html file itself, where else should I be looking to find how/where the "AppKey" is managed?
Aha, figured it out. I had neglected to fill in the ENTER_YOUR_SCRIPT_ID_HERE variable. That was easy! :)

Google Maps API V 3 Referer Configuration

hoping you are ok.
If you have the following URL:
http://jeanpaulruizvallejo.com//pruebas/personales/plantillas/alpha-01/templatesViewer.php?cdPlantilla=1
https://jeanpaulruizvallejo.com//pruebas/personales/plantillas/alpha-01/templatesViewer.php?cdPlantilla=1
How should you configure it in the Google APIs Console?
Have tryied several configurations but without success.
Any ideas are welcome.
Thanks.
ok, this seems to be working:
http://jeanpaulruizvallejo.com/pruebas/personales/plantillas/*
https://jeanpaulruizvallejo.com/pruebas/personales/plantillas/*
http://jeanpaulruizvallejo.com/pruebas/personales/plantillas/alpha-01/*
https://jeanpaulruizvallejo.com/pruebas/personales/plantillas/alpha-01/*
http://jeanpaulruizvallejo.com//pruebas/personales/plantillas/alpha-01/templatesViewer.php?cdPlantilla=*
https://jeanpaulruizvallejo.com//pruebas/personales/plantillas/alpha-01/templatesViewer.php?cdPlantilla=*
Thanks anyway :)