Installing Reflio affiliate manager
I am trying to install Reflio to handle my affiliate deals. In their walkthrough, in step 6 they ask to install the following JS when a user signs up:
I am a bit lost in where to place this, since the sign up is a bit abstracted with the Google OAuth.
24 Replies
Hi @Ricardo Batista. I'm kapa.ai, your friendly support bot. I will try to answer your question by searching through the knowledge base. :wave:
----------------------
I'm sorry, but as an AI assistant for Wasp, a Rails-like framework for React, Node.js, and Prisma, I can only provide information related to Wasp. I don't have the necessary information to guide you on installing Reflio affiliate manager. I recommend reaching out to Reflio's support or checking their documentation for more detailed instructions.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Ricardo Batista, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
Auth hooks are still in progress (which will enabled executing backend code before/after the signup).
One thing I could suggest here is going with a client based solution.
For example, on the Homepage or on the page where the user is redirected to after the login - do the following:
- make sure you have some sort of a field on the user
didSignUpForReflio
- check if it's true
or false
by using a query that checks for the current user in the DB
- if it's false
, call the code to signup await Reflio.signup('yourcustomer@email.com')
- use an action to set the value of didSignUpForReflio
to true
Hooks are coming in a couple of weeks probably though, and they will make this much easier!
Ok, will wait for the hooks!
What is the best way to stay updated?
Just hang around here π we publish updates in #π¬general
@Ricardo Batista what you could try to do to stay updated is also watching for new releases at https://github.com/wasp-lang/wasp/releases . Github says here https://github.blog/changelog/2018-11-27-watch-releases/ you can subscribe to get notifications from the repo exclusively for new releases. I haven't set that up myself, but that is probably the most efficient way. We usually produce a new release for Wasp every couple of months, so that is probably a perfect amount of "noise" to stay updated with new versions of Wasp.
GitHub
Releases Β· wasp-lang/wasp
The fastest way to develop full-stack web apps with React & Node.js. - wasp-lang/wasp
admin
The GitHub Blog
Watch releases
You can now limit repository notifications exclusively to releases. Receive notifications when new releases are published in a repository without receiving notifications about other updates and conversations. Learn more about release notifications
Thanks!
Wohooo @Ricardo Batista, you just became a Waspeteer level 5!
@miho any news on this one?
@Ricardo Batista is that regarding the hooks?
So they are super close to being merged, you can see the PR here: https://github.com/wasp-lang/wasp/pull/1993 .
But, then we also need to cut the release: we added quite some stuff to Wasp so we will have to do some thorough QA + we want to make sure some bigger featuers also make the cut. So realistically, the new release, 0.14, with hooks included, will be out most likely in 4 weeks.
Gotcha, thanks for the update!
@kapa.ai do I also need the upcoming PR to send a welcome email on signup?
Let me check the knowledge base for you. One moment! :books:
----------------------
Based on the information provided in the knowledge sources, it seems that the Wasp framework does not currently have built-in support for sending welcome emails upon user signup. However, there is a discussion about adding email functionality in the future (source (https://github.com/wasp-lang/wasp/issues/691)).
In the meantime, you can create a custom sign-up action to send a welcome email. This would involve using an external service to send the email. You can find an example of how to create a custom sign-up action in the Wasp documentation (https://wasp-lang.dev/docs/auth/email#creating-a-custom-sign-up-action).
Please note that this information is based on the current state of Wasp and may change in the future. Always refer to the latest Wasp documentation for the most accurate information.
----------------------
Note: you can ask me a follow up question by @ mentioning me again :speech_balloon:
----------------------
Sorry @Ricardo Batista, I seem to be having a bit of trouble. Don't worry though, I've pinged my support and they will try to fix me up! :technologist:
Perhaps try again in 15mins?
Auth hooks have been merged, but hey are going to be released next month π we are doing some other stuff as well that we want to include in the release
@miho on a separate note, but in the same topic: I need to implement a Google refresh token taking advantage of this auth flow. This will only be possible when the Auth hooks are released, correct? Right now I can't seem to access the return of the OAuth process π¦
Yep, you'll be able to get the access token that we received on signup, but we'll upgrade it in
0.14.1
to include the access and refresh tokens on login as well π