Skip to content

Conversation

nbierdeman
Copy link
Contributor

@nbierdeman nbierdeman commented Jun 3, 2025

This PR adds a Fastlane demo covering both guest and member experiences.

@nbierdeman nbierdeman force-pushed the feature/fastlane-html-example branch from d353be3 to 9c3ca1e Compare June 3, 2025 17:32
@nbierdeman nbierdeman changed the title Feature/fastlane html example feat: fastlane html example Jun 3, 2025
@nbierdeman nbierdeman marked this pull request as ready for review June 4, 2025 20:15
@nbierdeman nbierdeman requested a review from a team as a code owner June 4, 2025 20:15
@@ -0,0 +1 @@
20.18.1
Copy link
Contributor Author

Choose a reason for hiding this comment

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

I'm a fan of nvmrc files, but am cool with deleting this if there's opposition.

Copy link
Contributor

@gregjopa gregjopa left a comment

Choose a reason for hiding this comment

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

Incredible work on this @nbierdeman 💯 🎸

@nbierdeman
Copy link
Contributor Author

Thanks for the feedback, @gregjopa! I went ahead and pushed those changes. 🤘

console.log("orderResponse: ", orderResponse);

if (orderResponse.status === "COMPLETED") {
alert("Order completed successfully! Check console for details.");
Copy link
Contributor

Choose a reason for hiding this comment

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

Is there any best practice to follow with fastlane after the order is complete? For example, hide the card form? Wondering what the other demos do for this use case.

Copy link
Contributor Author

@nbierdeman nbierdeman Jun 5, 2025

Choose a reason for hiding this comment

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

@gregjopa, hmm, not sure about a best practice. This one just logs the order request and response (the card form remains visible), and this one redirects to a confirmation page.

Copy link
Contributor

Choose a reason for hiding this comment

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

Let's keep it as is for now. We can always send a follow-up PR if we want to show a confirmation message

Copy link
Contributor

@gregjopa gregjopa left a comment

Choose a reason for hiding this comment

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

I tested this locally and it works for me! Happy to see this get merged. Nice work @nbierdeman 💯

@gregjopa gregjopa merged commit dc766a6 into main Jun 5, 2025
1 of 2 checks passed
@gregjopa gregjopa deleted the feature/fastlane-html-example branch June 5, 2025 21:30
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.

3 participants