I’m trying to create a user marketplace through stripe and I’m looking for resources on how to execute a peer to peer transaction after connecting to stripe.
I’d like to initiate a chat prior to the transaction and allow the user selling the product to grant access to processing the transaction after confirming price details with the user purchasing the product. Similar to the way an airbnb host can confirm or deny potential clients after discourse. Does anyone have any suggestions or resources?
I’ ve connected my website to stripe so that users can connect their own accounts but I’m having trouble figuring out how to establish price that allows for an avenue of actual purchase when users created an item.
I want the buyer click purchase. I want this click to initiate the chat with the seller as opposed to the seller initiating the chat. The seller then has the ability to “confirm” or “deny” this purchase.
Confirming the purchase allows the buyer to enter the stripe payment.
You need to have a True / False property attached to each “Item” (being purchased). Call it “Approved”.
You need to have a relational property in the user collection to the “Item” collection for the creator of that item for sale. Call this property “Creator”.
Add a button in this chat screen, call it “Confirm”. Set a visibility rule of this button that …will be visible if “Logged in User is equal to Item’s Creator”. That way, only the creator of the item for sale will see this button.
Create an action on this button that will “Update” the “Current Item” record and set the “Approved” field to be true.
Add another button to this chat screen. Call it “Complete purchase”. Set visibility of this button to only show when the "Current item’s “Approved” is TRUE.
On the payment screen, add a visibility rule to the stripe component to be visible when the “Approved” field is set to true. Also create another text component on this screen that says “The seller has not authorised the payment process yet” and set the visibility rule to be the opposite of the stripe one so that it only shows when the seller has not yet approved it.
I found the issue, It was my fault. When text boxes overlap with other text boxes or buttons the lay out of page doesn’t line up with what I expect when i preview the site. I figured it out though, thank you!