function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jonathan SpinkJonathan Spink 

What happens when a PageReference call times out?

We have a method which builds a URL and then uses it to redirect to an external payment collection services. On occasion this appears to time out and two 'Income Card Payment' records are created. Has anywone seen this. What happens if the redirect times out - does SF try again?
SwethaSwetha (Salesforce Developers) 
HI Jonathan,
Are you making a callout in this scenario?
Does https://salesforce.stackexchange.com/a/382996/80089 help? Thanks
Jonathan SpinkJonathan Spink
OK, so adding a timeout one the http request may help things. Thanks, Jonathan