#0xfiro_api

1 messages ¡ Page 1 of 1 (latest)

violet leafBOT
#

👋 Welcome to your new thread!

⏲️ We'll be here soon! Typically we respond in a few minutes, but sometimes we might take a bit longer if the server is busy or if you have a particularly tricky question. Thank you for your patience!

⏱️ We automatically close idle threads, which makes them read-only. Make sure you stick around to chat in realtime! If this thread is closed and you have another question you'll need to start a new thread.

🔗 This thread will always be available, even after it's closed. You can find it again using Discord's search, or you can save this link: https://discord.com/channels/841573134531821608/1214174451097141319

📝 Have more to share? You can add more detail below, including code, screenshots, videos, etc.

odd aspenBOT
#

Below are links to other discussions we've had with you in the past week in case you want to review that information. If your question is related to one of these previous discussions, please provide a comprehensive summary of the current state and what you need help with now. We help many users simultaneously, so a summary allows us to resolve your issue as soon as possible.

tawdry coral
#

Information from my dev:

I checked the information you provided, and we are facing an issue: since we need to authorize funds from the user's card sometimes before we know who the seller (bidder) is, I cannot use this solution. It's not possible to update with the destination specified, as indicated in the documentation. So, the current logic does not seem suitable for using the payment destination feature

Daniil
10 minutes ago
The only possible option seems to be authorizing funds, and then, after the order is formed, canceling that payment and creating a new one. However, this is unlikely to work smoothly, as we use not only card payments but also Klarna. In this case, the buyer would need to go back to Klarna's website and confirm the purchase again.

hardy sand
#

please go through this doc thoroughly and get back to me with any follow-up questions

tawdry coral
#

I think we are already using it

#

but how can we manage application fees

#

I see there is no option in seperate charges in order to show it in stripe

hardy sand
#

you substract the application fees from the charge and set that as the transfer amount

tawdry coral
#

I mean we cannot list all fees here with this flow, right ?

hardy sand
#

actually you can always do Destination Charges with manual capture

#

but why do you need to capture the funds before knowing who the destination merchant is?

tawdry coral
#

We are not capturing

#

just authorizing

#

so we know that this amount is available in buyers account when he place a bid

hardy sand
#

I'm not sure I understand

tawdry coral
#

but we dont know who is the seller at this moment

hardy sand
#

would you mind elaborating on your use-case end-to-end?

tawdry coral
#

Okay.
We have a pool of sellers and buyer for a product x ...

  1. Buyer A is bidding for a product with amount x
  2. We authorize the amount of his bid
  3. Seller sees the bid and sells this product to the buyer ( at this time we know who is the seller )
  4. We are receiving the product from the seller and verfiying that everything is as described and once it is verified we are capturing the payment
  5. once we capture , we transfer fund to seller and we ship the product to buyer
#

I hope this gives some clarity about the flow

#

Additional Info: We are charging application fees on both sides

hardy sand
#

you should know who the buyer is from the get-go since they are the one who are putting the product for bidding

#

am I missing something?

tawdry coral
#

We know the buyer , right

#

but let me explain somethign else.

We are setting up the product .. for example iPhone 11

hardy sand
#

sorry I meant the seller

tawdry coral
#

Buyer says I want iphone 11 for 400$ and any seller who has a iphone 11 and want to sell 400$ he has to sell it now to this bid

#

first comes first serves

#

therefore I was talking about a pool of buyer and seller for product iphone 11 for example

#

at the time when seller sells his phone then we know who he is

hardy sand
#

oh I see

#

but I think the flow could be changed a bit

#

once a seller says that they have the product and they accept the offer, then you can create the Destination Charge and if the payment goes through then the customer (buyer) is notified that they will receive their product and the seller (the connected account) will receive their payment as a destination charge

tawdry coral
#

But we have to consider that the buyer places a bid first ... and we have to authorize the bid in order to know that he has the funds in his account, right ?

#

I think this makes an issue with destination charge

hardy sand
#

what if they don't get a response to their bid for a while, and they had been authorized but after that the authorization is cancelled and they don't have the money anymore?

#

by default authorization is allowed for 7 days on cards

tawdry coral
#

Card is only 7 days ? I have read something about 30days

hardy sand
#

this is the extended authorizations and you need to be on IC+ pricing to get that feature

tawdry coral
#

Oh , this changes the flow for sure

#

But if buyer places a bid .. and seller accept the bid .. how can we automatically charge him without authorization ? So buyer has to accept before the destination charges can be applied.

#

Means ... we have a match ( Seller sells to the bidder ) then bidder has to authorize the payment and then we can create a charge ?

smoky glen
tawdry coral
#

Means everytime when the bidder place a bid , he has to select payment method and then we call this enpoint in order to save pm and amount for that bid , right ?

smoky glen
#

They can set it up just once, and then your app can charge it multiple times with different amounts.

#

You don't need to specify the amount when saving the Payment Method.

tawdry coral
#

Great, ty.

smoky glen
#

Happy to help.

tawdry coral
#

One more question

#

in this case we can also use credit cards without thinking about the 7 days rule for autorization ,right ?

#

Is this way also working with klarna ?

tawdry coral
#

Since klarna is integrated in stripe it will also apply to klarna , but what's about PayPal .. this is out of the box, right ?

smoky glen
tawdry coral
#

ok ty

smoky glen
tawdry coral
#

ok