Open codingshot opened 8 months ago
@phuongfunny I added one more item to Acceptance Criteria (clear successful donations from cart)
@lachlanglen hello sir, how can we can get refferral id?
@phuongfunny when a user clicks the "share" icon on a project profile, it adds the user's NEAR account ID to the copied URL for them to share, e.g. https://alpha.potlock.org/project/opact_near.near?referrerId=lachlan.near
(note referrerId query param)
When a user visits a project profile and adds the project to their cart, you need to check for the referrerId
query param in the URL; if it is present, you should record it in the cart item, and then you will ultimately pass this ID as referrer_id
with the donation transaction.
Does this make sense?
@lachlanglen please check it
Problem
Need to be able to transact on cart
User Story(s):
As a donor, I want to transact on the cart, so that I can actually make donatiosn
Description
Cart uses NEAR API JS to trigger transactions.
Acceptance Criteria
Limitations
Resources
40