cancel
Showing results for 
Search instead for 
Did you mean: 

What is the basic workflow to get started.

Hello,

 

I'm having a hard time getting started.I'm building a multi-vendor shopping cart system. I'm using PHP and I've looked at the sample sdk at github.


All I need to do is the following:

 

1- Add credit card, to store it at Authorize.net side.

2- Get the id or token for this credit card and charge a customer.

 

Later on I need to implement the following:

3- Accepted payment goes directly to the vendor (owner of this product).

4- Make a refund in case vendor choose to.

 

But as I said I'm having a hard time getting started.

The only issue is that there are lot's of sample codes, but not really an explination for what they do.
P.S: I already implemented Stripe and I just need to map the different names and any variations in the process.

 

 

Amin
Member
1 ACCEPTED SOLUTION

Accepted Solutions

@Amin That's pretty much the basics.

Did you also intend to disburse money to the merchants? I ask because that isn't something I believe we can help with, unfortunately.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.

View solution in original post

Lilith
Administrator Administrator
Administrator
6 REPLIES 6

So from my understanding, I need to :

 

1- Create customer profile.

2- Create customer payment profile.

3- charge the customer using charge customer profile.

 

Please correct me if I am mistaking, thanks.

Amin
Member

@Amin That's pretty much the basics.

Did you also intend to disburse money to the merchants? I ask because that isn't something I believe we can help with, unfortunately.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Lilith
Administrator Administrator
Administrator

I see, so I'm guessing I will have to ask them for their API keys

 

MERCHANT_LOGIN_ID 
MERCHANT_TRANSACTION_KEY
CREDIT_CARD_NUMBER

 

@Amin Correct, the best way to ensure your merchants are funded, are to have them sign up for their own Authorize.Net accounts, with their own merchant account setup. Then you would use the appropriate API Login ID and Transaction Key, along with the appropriate customer/payment profiles, to charge the merchants' customers as needed.

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Lilith
Administrator Administrator
Administrator

Thanks a lot.

 

Note: I hope you consider something like 'Stripe connect', basically merchants will login. with their Authorize.net account (connect their authorize.net account to my application) , and upon accepting payments I set their merchant id as destination.


Thanks :)

@Amin I believe we are looking at adding somewhat similar abilities in the future. We'll make an announcement when we have more details. Thanks!

--
"Move fast and break things," out. "Move carefully and fix what you break," in.
Lilith
Administrator Administrator
Administrator