Anda di halaman 1dari 6

Integrating Trusted Shop Program

Contents
1. Notifying us about your purchases
2. Showing your certificate badge in your webshop
3. Note for webshop engine providers
Appendix 1. PHP impementation
Appendix 2. !assic ASP impementation
Appendix 3. ASP.N"# $isua%asic impementation
Appendix &. ASP.N"# !' impementation
1. Notifying us about your purchases
(e are ony abe to as) your customers* opinion+ which is the goa of the #rusted Shop Program+ if we get
notified about the purchases made in your webshop. #his can be achieved by integrating our affiiation code
into your webshop engine.
,ou shoud seect and downoad the appropriate code version from Partner Porta+ depending from the
programming anguage in which your webshop engine had been impemented. !urrenty supported
programming anguages are-
PHP
cassic ASP
ASP.N"# $isua%asic
ASP.N"# !'
A of these pac)ages incude the affiiation code itsef+ as we as an exampe code with detaied instructions.
.t is important to note that the exampe code can not by simpy copy/pasted into your webshop0s code+ it has
to be customi1ed ade2uatey.
2. Showing your certificate badge in your webshop
3ur parters participating in the #rusted Shop Program are aowed to pace a badge of certificate on their
websites to increase the sense of 2uaity and trust in customers.
4nti you reach #rusted status+ this badge wi show that you participate in the #rusted Shop Program.
%adges wi ony be avaiabe from next day after activating #rusted Shop Program.
,ou can insert this code to show the badge. Pease note that texts in this exampe are in Hungarian+
athough you wi need to dispay them in you own anguage. #his re2uires you to go to Partner Porta and
downoad your customi1ed code from there.
<!-- RUKERES.HU CODE - PLEASE DO NOT MODIFY THE LINES BELOW -->
<div !"#$%&'()*+,-./d0 !,(/1(,$/!2 !$3!-(#i+/0 )$/!$,2 1(ddi/+0 42 5(,+i/0 4 (.!-2&>
<( !i!#$%&,.*$,$67 ( 8i!$#$ v99,#9i *(#(.:& 8,$;%&8!!10<<===.(,.*$,$-.8.<&><i5+
,)%>8!!10<<i5(+$.(,.*$,$-.8.<!,.!$d'(d+$<12345-100x100-
0123456789abcdef0123456789abcdef.1/+> (#!%>,.*$,$67 ( 8i!$#$ v99,#9i *(#(.:>><<(>
<<div>
<!-- RUKERES.HU CODE END -->
Parts mar)ed with bue are used for identifying you in our system- your partner id and (ebApi5ey. ,ou can
find this on Partner Porta+ but we sti suggest you to get this code from there because it is aready fied in
for you.
Parts mar)ed with red are used to set the si1e of the badge. ,ou can choose from a coupe of si1es to match
your needs+ this is summari1ed in the foowing tabe. Pease note that these badges beow are in Hungarian+
athough your actua badge wi be shown in your own anguage.
67x67
177x177
187x9&
3. Note for webshop engine providers
As you hande more than one webshop at the same time+ you can*t hard/code (ebApi5ey and partner id into
your webshop engine+ nor can you dynamicay extend the ist of these in case a new partner registers a
webshop in your system.
#his probem is addressed by our (ebshop"ngine AP. which+ among many others+ provide you the
opportunity to automaticay register a new webshop in our system and get registered webshops* data i)e
partner id and (ebApi5ey.
Appendi 1. P!P imp"ementation
1. !opy #rustedShop.php fie to a pace accessibe by the webshop engine.
2. !opy the exampe code to the page of the webshop where the e/mai address of the customer and
the names of the purchased products are retrievabe from the webshop engine. :eneray this is the
webshop0s confirmation page of the purchase.
3. !ustomi1e the pasted exampe code according to the foowing-
;odify path of #rustedShop.php in ,$?.i,$@-/)$AB in such a way that the webshop engine
can use it.
!hec) that the proper (ebAP. )ey is set+ if not+ modify it. ,ou can find the (ebAP. )ey on the
partner porta.
Set the customer0s e/mai address.
Add the names of the purchased products.
.mpement an error trac)ing if you want <optiona=.
!8(/*@"-.@1(+$.1810
<C181
,$?.i,$@-/)$ &T,.!$dS8-1.181&2
!," D
EC#i$/! % /$= T,.!$dS8-1A&Y-., W$'APIK$"&B2
EC#i$/!->S$!E5(i#A&C.!-5$,F $-5(i# (dd,$&B2
EC#i$/!->AddP,-d.)!A&N(5$ -; ;i,! 1.,)8($d 1,-d.)!&B2
EC#i$/!->AddP,-d.)!A&N(5$ -; $)-/d 1.,)8($d 1,-d.)!&B2
EC#i$/!->S$/dAB2
G )(!)8 AE3)$1!i-/ EE3B D
EE,,-,M$(+$ % EE3->+$!M$(+$AB2
G
C>
Appendi #. C"assic ASP imp"ementation
1. !opy #rustedShop.asp and md8.asp next to the fies of your webshop engine.
2. !opy the exampe code to the page of the webshop where the e/mai address of the customer and
the names of the purchased products are retrievabe from the webshop engine. :eneray this is the
webshop0s confirmation page of the purchase.
3. !ustomi1e the pasted exampe code according to the foowing-
;odify path of #rustedShop.asp at Hi/)#.d$ in such a way that the webshop engine can use it.
!hec) that the proper (ebAP. )ey is set+ if not+ modify it. ,ou can find the (ebAP. )ey on the
partner porta.
Set the customer0s e/mai address.
Add the names of the purchased products.
.mpement an error handing if you want <optiona=.
T8(/*Y-.P(+$.(10
<IJ L(/+.(+$ % &KBS),i1!& I>
<!--Hi/)#.d$ ;i#$%&T,.!$dS8-1.(1&-->
<I
Di5 C#i$/!
S$! C#i$/! % N$= T,.!$dS8-1
C#i$/!.S$!W$'A1iK$"A&Y-., W$'APIK$"&B
C#i$/!.S$!E5(i#A&C.!-5$,F $-5(i# (dd,$&B
C#i$/!.AddP,-d.)!A&N(5$ -; ;i,! 1.,)8($d 1,-d.)!&B
C#i$/!.AddP,-d.)!A&N(5$ -; $)-/d 1.,)8($d 1,-d.)!&B
C#i$/!.S$/dAB
I; C#i$/!.H(E,,-,AB T8$/
Di5 E,,-,M$(+$
E,,-,M$(+$ % C#i$/!.L$!E,,-,M$(+$AB
E/d I;
I>
Appendi 3. ASP.N$T %isua"&asic imp"ementation
1. !opy #rustedShop.vb next to the fies of your webshop engine.
2. !opy the tag <(10Li!$,(# ,./(!%&$,v$,&
ID%&T,.!$dS8-1S),i1!&><<(10Li!$,(#> from "xampe.aspx to that page of the webshop+
where the e/mai address of the customer and the names of the purchased products are retrievabe
from the webshop engine. :eneray this is the webshop0s confirmation page of the purchase. #his
tag must be paced between the <'-d"> and <<'-d"> tags of the page. !opy a of the contents of
the P(+$@L-(d procedure beow <here in "xampe.aspx.vb= to the P(+$@L-(d event of the same
page.
3. !ustomi1e the pasted exampe code according to the foowing-
!hec) that the proper (ebAP. )ey is set+ if not+ modify it. ,ou can find the (ebAP. )ey on the
partner porta.
Set the customer0s e/mai address.
Add the names of the purchased products.
.mpement an error trac)ing if you want <optiona=.
T8(/*Y-.P(+$.(130
<IJ P(+$ Ti!#$%&T8(/* Y-. P(+$& L(/+.(+$%&KB& M(!$,P(+$Fi#$%&M<Si!$.M(!$,&
A.!-Ev$/!Wi,$.1%&;(#$& C-d$Fi#$%&T8(/*Y-.P(+$.(13.v'& I/8$,i!%&E3(51#$& I>
<(10C-/!$/! ID%&H$(d$,C-/!$/!& ,./(!%&$,v$,&
C-/!$/!P#()$H-#d$,ID%&H$(dC-/!$/!&><<(10C-/!$/!>
<(10C-/!$/! ID%&B-d"C-/!$/!& ,./(!%&$,v$,& C-/!$/!P#()$H-#d$,ID%&M(i/C-/!$/!&>
<(10Li!$,(# ,./(!%&$,v$,& ID%&T,.!$dS8-1S),i1!&><<(10Li!$,(#>
<<(10C-/!$/!>
T8(/*Y-.P(+$.(13.v'0
P(,!i(# C#( T8(/*Y-.P(+$
I/8$,i! S"!$5.W$'.UI.P(+$
P,-!$)!$d S.' P(+$@L-(dAB"K(# $/d$, A O'N$)!7 B"K(# $ A S"!$5.Ev$/!A,+B H(/d#$
M$.L-(d
Di5 E,,-,M$(+$ A S!,i/+
T,"
Di5 C#i$/! % N$= T,.!$dS8-1A&Y-., W$'APIK$"&B
C#i$/!.S$!E5(i#A&C.!-5$,F $-5(i# (dd,$&B
C#i$/!.AddP,-d.)!A&N(5$ -; ;i,! 1.,)8($d 1,-d.)!&B
C#i$/!.AddP,-d.)!A&N(5$ -; $)-/d 1.,)8($d 1,-d.)!&B
M$.T,.!$dS8-1S),i1!.T$3! % C#i$/!.S$/d
C(!)8 E3 A E3)$1!i-/
E,,-,M$(+$ % E3.M$(+$
E/d T,"
E/d S.'
E/d C#(
Appendi '. ASP.N$T C( imp"ementation
1. !opy #rustedShop.cs next to the fies of your webshop engine.
2. !opy the tag <(10Li!$,(# ,./(!%&$,v$,&
ID%&T,.!$dS8-1S),i1!&><<(10Li!$,(#> from "xampe.aspx to that page of the webshop+
where the e/mai address of the customer and the names of the purchased products are retrievabe
from the webshop engine. :eneray this is the webshop0s confirmation page of the purchase. #his
tag must be paced between the <'-d"> and <<'-d"> tags of the page. !opy a of the contents of
the P(+$@L-(d procedure beow <here in "xampe.aspx.cs= to the P(+$@L-(d event of the same
page.
3. !ustomi1e the pasted exampe code according to the foowing-
!hec) that the proper (ebAP. )ey is set+ if not+ modify it. ,ou can find the (ebAP. )ey on the
partner porta.
Set the customer0s e/mai address.
Add the names of the purchased products.
.mpement an error trac)ing if you want <optiona=.
T8(/*Y-.P(+$.(130
<IJ P(+$ Ti!#$%&T8(/* Y-. P(+$& L(/+.(+$%&CH& M(!$,P(+$Fi#$%&M<Si!$.M(!$,&
A.!-Ev$/!Wi,$.1%&!,.$& C-d$Fi#$%&T8(/*Y-.P(+$.(13.)& I/8$,i!%&E3(51#$& I>
<(10C-/!$/! ID%&H$(d$,C-/!$/!& ,./(!%&$,v$,&
C-/!$/!P#()$H-#d$,ID%&H$(dC-/!$/!&><<(10C-/!$/!>
<(10C-/!$/! ID%&B-d"C-/!$/!& ,./(!%&$,v$,& C-/!$/!P#()$H-#d$,ID%&M(i/C-/!$/!&>
<(10Li!$,(# ,./(!%&$,v$,& ID%&T,.!$dS8-1S),i1!&><<(10Li!$,(#>
<<(10C-/!$/!>
T8(/*Y-.P(+$.(13.)0
1.'#i) 1(,!i(# )#( E3(51#$ 0 S"!$5.W$'.UI.P(+$
D
1,-!$)!$d v-id P(+$@L-(dA-'N$)! $/d$,7 Ev$/!A,+ $B
D
!,i/+ E,,-,M$(+$ % /.##2
!,"
D
T,.!$dS8-1.T,.!$dS8-1 C#i$/! % /$= T,.!$dS8-1.T,.!$dS8-1A&Y-., W$'APIK$"&B2
C#i$/!.S$!E5(i#A&C.!-5$,F $-5(i# (dd,$&B2
C#i$/!.AddP,-d.)!A&N(5$ -; ;i,! 1.,)8($d 1,-d.)!&B2
C#i$/!.AddP,-d.)!A&N(5$ -; $)-/d 1.,)8($d 1,-d.)!&B2
T,.!$dS8-1S),i1!.T$3! % C#i$/!.S$/dAB2
G
)(!)8 AE3)$1!i-/ E3B
D
E,,-,M$(+$ % E3.M$(+$2
G
G
G

Anda mungkin juga menyukai