Skip to content

Allow setting post data request retry policy #1040

@Klakurka

Description

@Klakurka

We need to allow setting a retry policy if we end up receiving a 4XX error from the server we're sending the POST requests to.

Since these will be a finite commodity, we'll want to give people control over how often we try again. We can also put some of this behind PayButton Pro.

UI could be something like:

  • Add a checkbox for "If Unsuccessful, Retry" which will be off by default. Checking it will show more options (below).
  • Add "Maximum Number of Retries", allowing any whole number between 1 and 100.
  • Add a small paragraph explaining how the retries works. If we set the retry schedule, we'll describe that here.

Retry schedule idea (from time of payment):

  • After 5 seconds
  • After 10 seconds
  • After 30 seconds
  • After 1 minute
  • After 5 minutes
  • After 10 minutes
  • After 30 minutes
  • After 1 hour; hourly from here

We'll probably want to add a new TriggerLog.attempt which will tell us which attempt # it is (1st, 2nd, 3rd, etc).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions