Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: purchase transfers & ppp #170

Merged
merged 5 commits into from May 4, 2024
Merged

feat: purchase transfers & ppp #170

merged 5 commits into from May 4, 2024

Conversation

joelhooks
Copy link
Collaborator

transfer

Copy link

vercel bot commented May 3, 2024

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
course-builder-docs ✅ Ready (Inspect) Visit Preview May 3, 2024 11:42pm
course-builder-poc ✅ Ready (Inspect) Visit Preview May 3, 2024 11:42pm
pro-aws ✅ Ready (Inspect) Visit Preview May 3, 2024 11:42pm

Comment on lines +29 to +34
const maxRetries = 5
const initialDelay = 150
const maxDelay = 15000

let retries = 0
let delay = initialDelay
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

noticed sometimes it wasn't created at the exact moment so this polls for the purchase

autoApplyPPP,
},
{
...(initialFormattedPrice && { initialData: initialFormattedPrice }),
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

the initial data made it weird, so dynamic it is

@joelhooks joelhooks marked this pull request as ready for review May 3, 2024 23:45
@joelhooks joelhooks changed the title feat: purchase transfers feat: purchase transfers & ppp May 3, 2024
@joelhooks joelhooks merged commit 22c290a into main May 4, 2024
17 checks passed
@joelhooks joelhooks deleted the joel/ppp-pricing-widget branch May 4, 2024 15:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant