Write an automatic payment acceptance module using the PayPal
The task is to write a module for automatic payment acceptance using PayPal
-Payment is accepted for the game project: virtual coins are accrued for each payment. (mysql)
-Exists
ready-made user panel (personal account) on pure php
bootstap. In order to save you from learning someone elses code - required
implement a payment module as a separate page using something
similar as design: https://orchid.software/
-Status
PayPal account is physical. Not a business. Acceptance of payments must
made using Instant Payment Notification (IPN) (https://www.paypal.com/cgi-bin/webscr?cmd=_profile-ipn-notify)
and REST API apps (https://developer.paypal.com/developer/applications)
-The form of payment must have the following fields:
--Login
1)
ideally, there should be a choice from the list of authorized mostly personal
cabinet (receiving logins can be implemented through cookie parsing,
for example?).
2) checking the login for correctness (existence in the database table) (mysql)
--Payment amount
1) Currency in the form of payment - USD
2) Currency of acceptance on PayPal - RUB
3) Withdraw in the form of a payment rate USD to virtual coins. The course is contained in the mysql database.
--Checkboxes confirming agreement with the rules.
Other:
--Adding log records in case of successful/failed payment:
1) In the table of statistics of donation on the available form (mysql)
2) In the table of log of login (account) actions (mysql)
Small additions are likely due to unpredictability.
31.07.2021 13:30