There are website owner who require Payment gateway for E-commerce sites. Paypal supports Buy Now option were Seller is Site owner and Buyer is the user. What if Seller’s are also users? Paypal won’t support but Amazon FPS (Flexiable payment service ) really works.

Buyer to Seller direct payment with a commission to Site Owner.

 

Here is how it works:

Owner must create FPS account.
Developer must have AWS account (sandbox enviornment to test transaction)
Seller must have Amazon personal account and finally
Buyer must have Amazon business account.

With Developer having AWS account will get AWS_ACCESS_KEY_ID,AWS_SECRET_ACCESS_KEY and sample script to test FPS.

In order to make Buyer to Seller direct payment with a commission to Site Owner keep following points in mind.

1. Authorize buyers through e-commerce using Recipient API to get recipient token id. Store it in database to keep track at the time of purchase.

2. Authorize sellers for the payment using Multi-Use token, to get Sender Token ID.

3. Make payment using InvokePay() method with recipient token set us Receiver Token ID.