Plug-in for realtime payment for suppliers
"PayPal Chained Payments"
http://www.digipub.biz/40nop20mvc
You can download this plugin from the following URL.
https://www.nopcommerce.com/p/418/paypal-chained-payments-by-shuichi-ohtsu-digipub-japan.aspx
This plug-in is one for those who want to use PayPal Chained Payments in nopCommerce.
What is PayPal Chained Payments : Please visit https://cms.paypal.com/us/cgi-bin/?cmd=_render-content&content_ID=developer/e_howto_api_APIntro.
1.[UseSandbox] Check,if you use PayPal Sandbox cf. https://developer.paypal.com/
2.[ReturnUrl] URL to redirect the sender’s browser to after the sender has logged into PayPal ex. http://www.yourestore.com/Plugins/PaymentPayPalChained/ReturnPage
3.[CancelUrl] URL to redirect the sender’s browser to after canceling the approval for a payment ex. http://www.yourestore.com/Plugins/PaymentPayPalChained/CancelOrder
4.[SupplierMarginRate] Receivers' Margin Rate (Percentage) ex. 60
5.[PrimaryReceiverEmail] Primary Receiver's Email Address ex. jauth0_123456789_biz@test.com
6.[SecurityUserId] Your API username ex. jsell1_12345678900_biz_api1.test.com
7.[SecurityPassword] Your API password ex. 13012456789
8.[SecuritySigniture] Your API signature, which is required only if you use 3-token authorization ex. Ar66ul53I4ctrQXcpdhxv-ddddddddddddd--ccccccccccc
9.[ApplicationId] Your application's identification ex. APP-80W284485P519543T
10.[PartnerName] Your organization’s name or ID ex. Your Store Name
11.[IpAddress] Sender’s IP address ex. 255.255.255.255
12.[DeviceId] Sender's device ID, such as a mobile device's IMEI number or a web browser cookie ex. 255.255.255.255
13.[CurrencyCode] The currency code (U.S. Dollar – USD /Japanese Yen – JPY/Euro – EUR etc.)
14.[FeePayer] The payer of PayPal fees (SENDER / PRIMARYRECEIVER / EACHRECEIVER / SECONDARYONLY)
15.[Memo] A note associated with the payment (text, not HTML) ex. Testing Chained Payment
IMPORTANT !
You need to add Secondary Receivers' email addresses in Manufacturers' Descriptions (by HTML) using the following format.
<!--FeeReceiverEmailAddress:EMAIL_ADDRESS-->
ex. <!--FeeReceiverEmailAddress:jauth1_130912456789_biz@test.com-->
In eBook sites, Manufacturers are equivalent to Authors. So the secondary receiver's email address is the author's email address.
Each Manufacturer must have only one Fee Receiver Email Address.
(TableName: dbo.Manufacturer FieldName:Description)
You can edit it easily by Clicking "Catalog" --> "Manufacturers" in Administration page.