PDA

توجه ! این یک نسخه آرشیو شده میباشد و در این حالت شما عکسی را مشاهده نمیکنید برای مشاهده کامل متن و عکسها بر روی لینک مقابل کلیک کنید : ماژول درگاه پرداخت زرین پال یا Payline.ir برای resello (درخواست)



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

mooghermez
May 10th, 2014, 01:08
UP

mooghermez
May 12th, 2014, 03:26
آقا کسی نیس جواب ما رو بده؟!

Yas-Host
May 12th, 2014, 06:36
کسی نمیتواند این ماژول رو بطور رایگان بنویسه قربان.
باید بدید براتون انجام شه که هزینه هم خواهد داشت.
خواستید در تماس باشید.

mhiizadi
May 12th, 2014, 09:46
کسی نمیتواند این ماژول رو بطور رایگان بنویسه قربان.
باید بدید براتون انجام شه که هزینه هم خواهد داشت.
خواستید در تماس باشید.

یاسین جان اگر تست کرده باشید ریسلوو واقعا دردسر های زیادی داره ...
و حتی برای پرداخت ها اگر بخواید درگاه بانکی با ایران براش بنویسید علاوه بر مستندات کم و محدود خیلی محدودیت ها با درگاه های بانکی ما داره.

us12
May 13th, 2014, 10:10
نمونه خارجی ماژول مورد نظرتون را میتونید اتچ کنید .

مثل پی پال یا هر درگاه دیگه ای که الان وجود دارد .

mooghermez
May 13th, 2014, 21:52
کسی نمیتواند این ماژول رو بطور رایگان بنویسه قربان.
باید بدید براتون انجام شه که هزینه هم خواهد داشت.
خواستید در تماس باشید.
دوست عزیز کسی نخواست شما مجانی کاری بکنی، شما لطف کن اسکریپتش رو حاضر کن، قیمت گذاری کن، ما در خدمتیم.


نمونه خارجی ماژول مورد نظرتون را میتونید اتچ کنید .

مثل پی پال یا هر درگاه دیگه ای که الان وجود دارد .
حقیقتش نمونه کدی ازش سراغ ندارم، برای اضافه کردن درگاه از داخل پنل باید اقدام کرد، اونجا چندتا درگاه مشهور مثل پی پل و علی بابا و اینا داره و البته میشه درگاه کاستوم هم اضافه کرد.

- - - Updated - - -

یه خورده ای وب گشتم یه همچین مستنداتی در بارش پیدا کردم:

Custom payment gatewaysCustom payment gateway implementations allow you to implement payment gateways not natively supported in Hostcontrol. The basic flow for this is the following:
Hostcontrol -> You -> Payment provider -> You -> Hostcontrol
Basically you are a ***** between Hostcontrol and the payment provider, translating the messages from the payment provider to messages Hostcontrol understands and messages Hostcontrol sends to messages the payment provider understands.
Creating your custom payment gatewayIn order to use a custom payment gateway you have to create one in our system. You can create a custom payment gateway in your reseller account with the following steps:
Login to your reseller account.

In the menu select Settings and click Payment gateways.
Click the Create button and click on Basic in the drop down menu that appeared.
Enter a unique name for this payment gateway and enter the URL to which the user should be redirected upon starting the payment. Click Save to create the payment gateway.

Creating a new payment methodTo allow customers and resellers to pay using the custom payment gateway you just created you have to create a new payment method.


Login to your reseller account.
In the menu click Storefront, select Settings in the storefront menu and click Payment options.
Click the Create button.
Select type Automatic, for gateway choose the gateway you created in the previous step, enter a name and a description and optionally a transaction fee. Click Save to create the payment method.

Secret keys and notification URLYou've now created a custom payment gateway and custom payment method. During the creation we've generated a pair of secret keys and a notification URL for the payment gateway. You will need these values to integrate your custom payment gateway.


Login to your reseller account.
Select the menu Settings and click on Payment gateways.
Click on your custom payment gateway.
You should now see a page presenting a Secret key 1, Secret key 2 and Notification URL.

Creating a payment pageOn our own server you should create the page that you entered as the payment gateway URL. When the user starts the payment, a POST request is performed to that page. With this POST request the following parameters are sent:
{| | Parameter name || Type || Description |- | Bread || Pie || more |- | Butter || Ice cream || and more |} Parameter name Type Description reference string This is the payment reference. This is unique for each payment. currency string This is the payment currency. It's the ISO 4217 code. amount integer This is the payment amount as an integer. In order to get the proper amount you have to divide it by 100. customer integer This is the id of the customer that started this payment. started string This is the date and time of the start point of this payment. expires string This is the date and time of the expiration point for this payment. gateway integer This is the id of the selected payment gateway. returnurl string This is the URL you should redirect the customer to for an instant payment status update. 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. Calculating the signature In order to send messages back to our system and validate the data send to your payment page we have secured the data with a signature. The signature is created the following way. Python: import hashlib import hmac def sign(secretkey1, secretkey2, data):data = .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 = 'https://example-notification-url' (https://example-notification-url%27/) requests.post(notificationurl, data={ 'reference': 'example-reference', 'status': 'AUTHORISED', 'signature': signature }) PHP: $signature = examplecreatesignature(); $notificationurl = 'https://example-notification-url' (https://example-notification-url%27/); $fields = array( 'reference' => 'example-reference', 'status' => 'AUTHORISED', 'signature' => $signature ); $fieldsstring = ;foreach($fields as $key=>$value) { $fieldsstring .= $key . '=' . $value . '&'; } rtrim($fieldsstring, '&'); $ch = curlinit(); curlsetopt($ch, CURLOPTURL, $notificationurl); curlsetopt($ch, CURLOPTPOST, count($fields)); curlsetopt($ch, CURLOPTPOSTFIELDS, $fieldsstring); curlexec($ch); curl_close($ch);

Yas-Host
May 13th, 2014, 22:24
دوست عزیز کسی نخواست شما مجانی کاری بکنی، شما لطف کن اسکریپتش رو حاضر کن، قیمت گذاری کن، ما در خدمتیم.


شما اگر مایل به هزینه کردن هستید میتونید با جناب سلطانی در این رابطه تماس بگیرید تا براتون برنامه نویسی شود.




یاسین جان اگر تست کرده باشید ریسلوو واقعا دردسر های زیادی داره ...
و حتی برای پرداخت ها اگر بخواید درگاه بانکی با ایران براش بنویسید علاوه بر مستندات کم و محدود خیلی محدودیت ها با درگاه های بانکی ما داره.


فکر نمیکنم کار سختی باشه ایزدی جان(ببخشید اگر فامیل رو اشتباه گفتم).
یک برنامه نویس خبره براحتی میتونه کد نویسیش رو انجام بده...
یکی از نمایندگان ریسلو از یک جایی نمایندگی داشت که با پرداخت بانک سامان براحتی قابل شارژ بود...!

samans
May 13th, 2014, 23:12
از سایت بازار کار نادیا میتونین سفارش بدین راحت nadiya .ir

mooghermez
May 15th, 2014, 13:05
شما اگر مایل به هزینه کردن هستید میتونید با جناب سلطانی در این رابطه تماس بگیرید تا براتون برنامه نویسی شود.



فکر نمیکنم کار سختی باشه ایزدی جان(ببخشید اگر فامیل رو اشتباه گفتم).
یک برنامه نویس خبره براحتی میتونه کد نویسیش رو انجام بده...
یکی از نمایندگان ریسلو از یک جایی نمایندگی داشت که با پرداخت بانک سامان براحتی قابل شارژ بود...!
متاسفانه من تو این انجمن تازه کارم و مشخصات و شماره تماس جناب سلطانی رو ندارم ممنون می شم برام بفرستید.