Asynchronous Apex
Asynchronous Apex in Salesforce allows developers to execute operations in a separate thread, enabling tasks to run in the background without impacting the user experience. This approach is particularly beneficial for handling long-running processes, callouts to external systems, and operations
AWS | How to auto generate S3 Policy
Steps to auto generate AWS S3 Policy that you can use to provide access rights according to requirement: → Open S3 from AWS console: 1. Click on AWS bucket 2. Now, click properties 3. Click on Add bucket policy: 4.
Java | Stripe – Handling expired credit cards
Description: We are registering our customers using Stripe payment gateway where we are storing customer card details. We are doing recurring payment for customers periodic billing cycle. But if customer’s card expires or card number changes, we will not get
More about Salesforce Customer Portal
How to set logout URL for customer portal: -> Go to Quick find box and write customer portal settings. -> Now, open the portal that you want to edit. -> Click on the edit button: -> Enter the URL under
Salesforce | Display PHP Page in the Salesforce Tab
Step to insert PHP Page in Salesforce: 1. Go to setup->Create->Tabs in Salesforce: 2. Under Web Tab, click on new button. Now you can select the Page layout you want to set – full page width or 2 columns with
AngularJS 2 with Node.js
AngularJS 2 is the most popular Framework of Javascript which is used to build Web/Mobile applications in html and javascript. AngularJS 2 has the abilities to build apps for web, mobile web, native mobile and native desktop and it has
SecurityError: Blocked a frame with origin from accessing a cross-origin frame
Error: Blocked a frame with origin “http://xxx.xxx.xxx.xxx” from accessing a frame with origin “http://xxxxx:xxx”. Protocols, domains, and ports must match. Scenario: We have a cakephp website. In one webpage say “Parent Page” of this website we have used iframe to show
Zoho | How to download attachments for a contact from Zoho using Cakephp
To download attachments from Zoho CRM from a module, like Contacts, fetch detail of all the attachments related to that module, then download each attachment by its attachment id using download file API in Zoho and finally convert blob to
CakePHP | Call to a member function schema() on a non-object
Error: Call to a member function schema() on a non-object File: /home/user/git/!defaultRepo!/Appname/lib/Cake/Model/Datasource/Database/Postgres.php Line: 404 Description: I was trying to execute the following cake query to fetch the records: $records = $this->find ( ‘all’, array ( ‘fields’ => array ( ‘Table2.*’,
Stripe Signature Verification for Webhook urls using Spring
Stripe payment gateway provides different webhook events like customer_created, customer_source_updated, customer_deleted and so on. By setting up our webhook urls to the events provided by Stripe, we can capture the Stripe event requests and can write our own customer code.