Platforma nopCommerce: Diferență între versiuni
(Pagină nouă: <source lang="xml"> Setari in prooectul NOP: 1. Se copiaza "Nop.Plugin.Payments.PlatiOnline" in "nopCommerce_2.65_Source\Plugins" 2. Se deschide in Microsoft Visual Studio "NopCo...) |
|||
Linia 1: | Linia 1: | ||
<source lang="xml"> | <source lang="xml"> | ||
− | + | I. SETARI IN PROIECTUL NOP: | |
− | 1. Se copiaza "Nop.Plugin.Payments.PlatiOnline" in "nopCommerce_2.65_Source\Plugins" | + | 1. Se copiaza "Nop.Plugin.Payments.PlatiOnline" in "nopCommerce_2.65_Source\Plugins" |
− | |||
− | |||
− | in Plugins | + | 2. Se deschide in Microsoft Visual Studio "NopCommerce.sln": |
− | (...\nopCommerce_2.65_Source\Plugins\Nop.Plugin.Payments.PlatiOnline) "Nop.Plugin.Payments.PlatiOnline. | + | - in Plugins - Add Existing project: "Nop.Plugin.Payments.PlatiOnline.csproj" |
+ | (...\nopCommerce_2.65_Source\Plugins\Nop.Plugin.Payments.PlatiOnline) | ||
+ | - in proiectul "Nop.Plugin.Payments.PlatiOnline" - Properties - Build : | ||
+ | 1) Configuration: All Configurations | ||
+ | 2) Output path: ...\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\Payments.PlatiOnline\ | ||
+ | |||
+ | 3. Se adauga referinta: "hmacsha1.dll" | ||
+ | 4. In nopCommerce_2.65_Source\Libraries\Nop.Core\Domain\Orders\OrderStatus.cs: | ||
+ | 1) in OrderStatus enum se adauga : Authorized = 50, | ||
+ | OnHold = 60, | ||
+ | PaymentDeclined = 70 | ||
+ | |||
+ | 5. In nopCommerce_2.65_Source\Libraries\Nop.Core\Domain\Orders\PaymentStatus.cs: | ||
+ | 2) in PaymentStatus enum se adauga: OnHold= 60, | ||
+ | Declined = 70 | ||
+ | II. SETARI ADMINISTRATOR: | ||
− | In | + | In Administration - Configuration: |
+ | |||
+ | 1. Plugins - se cauta dupa System name: "Payments.PlatiOnline" => Instal | ||
+ | |||
+ | 2. PaymentMethod - se cauta dupa System name: "Payments.PlatiOnline" | ||
+ | 1) Edit: a) Se selecteaza checkbox-ul "Is active" | ||
+ | b) Display order=1 | ||
+ | c) Update | ||
+ | 2) Configure: a) Merchant Id/ Key Encription /Key Mod (se primesc de la PlatiOnline | ||
+ | dupa creearea contului de comerciant) | ||
+ | b) Se selecteaza monedele in care se poate efectua tranzactia | ||
+ | c) Daca utilizatorul are alta moneda decat cele selectate,se selecteaza moneda | ||
+ | in care se va converti moneda utilizatorului pentru a se putea efectua tranzactia | ||
+ | d) Save | ||
+ | |||
+ | III. SETARI CONT COMERCIANT PLATIONLINE: | ||
+ | |||
+ | In Setari: | ||
+ | |||
+ | 1. Raspunsul tranzactiei: | ||
+ | 1)Introduceti noul url: .../Plugins/PaymentPlatiOnline/CheckoutCompleted | ||
+ | 2)Selectati noua metoda: POST(JavaScript PlatiOnline...) | ||
+ | 3)Salveaza modificarile | ||
+ | |||
+ | 2. Notificările instant la schimbarea starii tranzacţiei: | ||
+ | 1) Introduceti noul url: .../Plugins/PaymentPlatiOnline/ITSN | ||
+ | 2) Selectati noua metoda : POST | ||
+ | 3) Salveaza modificarile | ||
</source> | </source> |
Versiunea de la data 14 decembrie 2012 20:53
I. SETARI IN PROIECTUL NOP:
1. Se copiaza "Nop.Plugin.Payments.PlatiOnline" in "nopCommerce_2.65_Source\Plugins"
2. Se deschide in Microsoft Visual Studio "NopCommerce.sln":
- in Plugins - Add Existing project: "Nop.Plugin.Payments.PlatiOnline.csproj"
(...\nopCommerce_2.65_Source\Plugins\Nop.Plugin.Payments.PlatiOnline)
- in proiectul "Nop.Plugin.Payments.PlatiOnline" - Properties - Build :
1) Configuration: All Configurations
2) Output path: ...\nopCommerce_2.65_Source\Presentation\Nop.Web\Plugins\Payments.PlatiOnline\
3. Se adauga referinta: "hmacsha1.dll"
4. In nopCommerce_2.65_Source\Libraries\Nop.Core\Domain\Orders\OrderStatus.cs:
1) in OrderStatus enum se adauga : Authorized = 50,
OnHold = 60,
PaymentDeclined = 70
5. In nopCommerce_2.65_Source\Libraries\Nop.Core\Domain\Orders\PaymentStatus.cs:
2) in PaymentStatus enum se adauga: OnHold= 60,
Declined = 70
II. SETARI ADMINISTRATOR:
In Administration - Configuration:
1. Plugins - se cauta dupa System name: "Payments.PlatiOnline" => Instal
2. PaymentMethod - se cauta dupa System name: "Payments.PlatiOnline"
1) Edit: a) Se selecteaza checkbox-ul "Is active"
b) Display order=1
c) Update
2) Configure: a) Merchant Id/ Key Encription /Key Mod (se primesc de la PlatiOnline
dupa creearea contului de comerciant)
b) Se selecteaza monedele in care se poate efectua tranzactia
c) Daca utilizatorul are alta moneda decat cele selectate,se selecteaza moneda
in care se va converti moneda utilizatorului pentru a se putea efectua tranzactia
d) Save
III. SETARI CONT COMERCIANT PLATIONLINE:
In Setari:
1. Raspunsul tranzactiei:
1)Introduceti noul url: .../Plugins/PaymentPlatiOnline/CheckoutCompleted
2)Selectati noua metoda: POST(JavaScript PlatiOnline...)
3)Salveaza modificarile
2. Notificările instant la schimbarea starii tranzacţiei:
1) Introduceti noul url: .../Plugins/PaymentPlatiOnline/ITSN
2) Selectati noua metoda : POST
3) Salveaza modificarile