Firebase Web Push Browser Issue

As of today, 2nd of July 2021. FCM libraries have some bugs due to which it fails to get tokens sometimes in Chrome browsers current version. Errors that occurs : Uncaught (in promise) FirebaseError: Messaging: A problem occured while subscribing the user to FCM: Request is missing required authentication credential. Expected OAuth 2 access token,… Continue reading Firebase Web Push Browser Issue

Paypal REST API get token

Request URL https://api-m.paypal.com/v1/oauth2/token Method Post Headers Authorization: Basic xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx  // xxxxxxxxxxxxxxxx  is base64 encoded Client ID:Secret  // base64_encode(client_id_string:client_secret_string) – note the colon in between Body grant_type:client_credentials Return { “scope”: “https://uri.paypal.com/services/invoicing https://uri.paypal.com/services/disputes/read-buyer https://uri.paypal.com/services/payments/realtimepayment https://uri.paypal.com/services/disputes/update-seller https://uri.paypal.com/services/payments/payment/authcapture openid https://uri.paypal.com/services/disputes/read-seller https://uri.paypal.com/services/payments/refund https://api.paypal.com/v1/vault/credit-card https://api.paypal.com/v1/payments/.* https://uri.paypal.com/payments/payouts https://api.paypal.com/v1/vault/credit-card/.* https://uri.paypal.com/services/subscriptions https://uri.paypal.com/services/applications/webhooks”, “access_token”: “AYYYYYYYYYYWmTopNAjV__Yuk_6AP9RZWQpzxxxxxxxxxxxxxx1ifvHLHrE6RW_Zqjbieo3jcZr9999999999999999lyDA”, “token_type”: “Bearer”, “app_id”: “APP-XYXYXYXYXYXYCCCC”, “expires_in”: 32400, “nonce”: “2021-06-18T16:42:YUKJUKJHTGTYJKHGRRFHFHFGFGBFBG-spy-N9iguUHTJbTgVjht” }

Solar panel online calculators

Free Solar Panel Calculator and Solar Power Calculator Solar Panel Output Calculator- Estimate the Real Energy You Can Get From Your Solar Panels   https://www.renogy.com/calculators#tab_solar-size   Kolkataonweb.com doesn’t have any affiliation to the above websites. Neither Kolkataonweb.com warranties or guarantees any calculations.  You may use them as a guide to calculate solar panel and battery… Continue reading Solar panel online calculators

Cross Origin or CORS Issue

We often get the CORS error when we try to run some code from localhost or XAMPP. The following steps will help to solve it. Please note you will need access to server side code or server configurations.  Set Access-Control-Allow-Origin to “*” in the code Set Header set Access-Control-Allow-Headers to “*” in the code  If… Continue reading Cross Origin or CORS Issue