#kraz

1 messages · Page 1 of 1 (latest)

next yewBOT
edgy cloak
pearl sentinel
#

This would ultimately require the end-user to write some code though right?

edgy cloak
#

I don't see why it would, you'd be the ones developing/coding a Connect integration right, that's what you're describing? in which case you call the API on behalf of the other Stripe accounts and write the code for them.

pearl sentinel
#

Well the way this typically works is when an affiliate refers someone to the site, a clickId is usually present in the URL, when the user makes a purchase on the site, that clickId is sent back to us along with some other information to help us calculate commissions and what not for affiliates.

I'm not sure how this approach would work if we are the one's creating the customer ahead of time?

edgy cloak
#

I can't really talk about this in abstract, do you have some technical details like what APIs you're using?

pearl sentinel
#

We're just currently investigating how to implement the integration. We haven't started as of yet, but this is the only thing unclear to us.

Essentially, we need a way for a query parameter to be passed back to us via Stripe.

(So with Shopify, we were able to inject the clickId into the shopping cart, so when a purchase was made, we were returned that information as part of the order information, is this possible with Stripe?)

edgy cloak
#

well would you be using Elements or Checkout?

pearl sentinel
#

Well we're hoping to support all methods of Stripe

edgy cloak
#

in any case a "click ID" is not part of Stripe, it's something that would be passed into Stripe(e.g as metadata on a PaymentIntent/CheckoutSession you create) by the code on the payment page the customer lands at or so on. Sorry it's really hard to answer in abstract here

pearl sentinel
#

it's no problem, I appreciate the time and help 🙂

edgy cloak
pearl sentinel
#

Basically, we're hoping for someone to be able to just install our application on the store, then any purchases made by a customer are sent back to us with some identifier that we can use

#

but we need to be able to set that identifier before the customer makes the purchase, or at least pass it during the purchase process

#

we were hoping we could inject some code in Stripe somehow to have that identifier sent back to us

pearl sentinel
#

That wasn't quite clear to me just now

#

So let's say hypothetically we wanted to support checkout, how could we do this?

edgy cloak
pearl sentinel
#

So we would have to host the checkout flow or at least provide the flow ourselves?

edgy cloak
#

yes

pearl sentinel
#

I see, is it possible to inject code into Stripe so that customer metadata or whatever can be modified just before purchase?

edgy cloak
#

not sure what you're trying to say by inject

#

whoever it is who is writing the code for the payment page can change the API calls they make to pass any extra metadata they want

pearl sentinel
#

yes, got that, was wondering for sites which are "no-code" alternatives, how they'd be able to still use our services with a sort of "1 click integration" instead of having to add some javascript insert or whatever

#

I think I have a pretty good idea of how this is going to have to be done, I'll have to discuss with my colleagues I think, I appreciate your time and help, thank you!

edgy cloak
#

well it's your service that provide the no-code solution

#

you develop the Stripe integration and you provide instructions/platforms for letting merchants use it

#

for example you integrate Connect so that you build the payments integration, merchants can connect their Stripe account to yours, and you can call the API on their behalf in their integration , and you can take fees from their payments or tag them however you want https://stripe.com/docs/connect/enable-payment-acceptance-guide

#

I think what you're missing is that a platform like Shopify already does the Connect part of building a marketplace platform on top of Stripe APIs, and then on their side they probably provide some mechanism for third-parties like yourself to plug into their system, I don't know. But what you actually need to build here is the Shopify side of actually building the marketplace payment solution, or find other marketplaces you can plug into.

pearl sentinel
#

I see, well we've seen other things like this

#

Which seem to do it?

#

and this

edgy cloak
#

dunno, you'd have to ask them, but for PromoteKit I think they do what I say, they call the API for you(they write the payments integration and use Connect/Stripe Apps to get permission to call the API for you) and LeadDyno I'm not sure even links to the actual Stripe payments, I think it's just showing information from their dashboard sourced via the usage of their own JS API, but inside the Stripe Dashboard widget for convenience.

pearl sentinel
#

Hmmm okay, I will have to discuss and get back to you. If I reply here in a couple of days, will you still be assigned or am I best posting another message?

edgy cloak
#

you'd post in the main channel and whoever is on shift would answer