How to create escrow style system

I have a website on which customers pay for the service, but must have money in advance through escrow, I am very good at PHP (this is what is encoded on the site), how would I go about introducing a escrow system that will work automatically?

+3
source share
3 answers

You need to break down your design into components and think about the process.

Escrow works as follows:

  • Subject A deposits the transaction account for person B.
  • Entity A and Entity B Conclude an Agreement
  • Escrow account deposited in Entity B.

The implementation is wise, I would track deposit deposits, like any transaction, I would also track deposit payments in the same way.

" " . "AcceptedByA" "AcceptedByB", .

:

  • Entity A $X
  • Entity B , ( AcceptedByB true)
  • Entity A "AcceptedByA" true.
  • EntityB .

, .

+5

, . PHP-MySQL? ..? , ?

, Paypal .

A B.

  • A $x Paypal.
  • , , $x B.

(MySQL PHP), , . - - n , () .

, .

+1

- . , Paypal Braintree , ​​ Stripe. , .

0

Source: https://habr.com/ru/post/1697536/


All Articles