سلام خدمت دوستان عزیز همانطور که احتمالا می دانید دوست بسیار محترمی ماژول پرداختی برای پنل ثبت دامنه ی DirectI نوشته بود که مشتریان و نمایندگان از طریق درگاه زری پال می تونستندو البته می تونند حسابشون رو با کارت های عضو شتاب شارژ کنند.
http://www.webhostingtalk.ir/f42/13692/
می خواستم بدونم کسی هست که بتونه ماژول مشابهی رو برای resello هم بنویسه؟





پاسخ با نقل قول

ata = .join(data) + secretkey1 return hmac.new(key=secretkey2, msg=data, digestmod=hashlib.sha512).hexdigest() PHP: function($secretkey1, $secretkey2, $data) { $data = implode(, $data) . $secretkey1; return hashhmac('sha512', $data, $secretkey2); } Redirecting the customer back When redirecting the customer back to our system you have to pass three variables. Parameter name Type Description reference string This is the payment reference. This is unique for each payment. status string This is the payment status. You can send either AUTHORISED to indicate the payment has succeeded, FAILED in case the payment failed or STARTED in case the payment is not yet completed, but also didn't fail. In case of a STARTED status you should send notifications to complete or fail the payment. signature string This is a signature that is hashed with secret key 1 and secret key 2. Both keys were generated for you when your payment gateway was created. This signature is built of the above keys in the order they are defined in this table. Notifications For payments that are not instantly completed or failed you can send notifications. This is done via a HTTP POST on a specific URL. This URL can be found in your payment gateway details. The values you have to POST with the request are specified in this table.Parameter name Type Description reference string This is the payment reference. This is unique for each payment. status string This is the payment status. You can send either AUTHORISED to indicate the payment has succeeded, FAILED in case the payment failed or STARTED in case the payment is not yet completed, but also didn't fail. In case of a STARTED status you should send notifications to complete or fail the payment. signature string This is a signature that is hashed with secret key 1 and secret key 2. Both keys were generated for you when your payment gateway was created. This signature is built of the above keys in the order they are defined in this table. Python: import requests signature = examplecreatesignature() notificationurl = '