Al momento, non tutti i plugin sono supportati.
Fabrick Guaranteed payments è una soluzione end-to-end di prevenzione frodi per esercenti online che sfrutta un sistema di intelligenza artificiale per valutare i livelli di rischio delle transazioni (Powered by Riskified).
Inoltre, in caso di frode, l'esercente ha diritto al rimborso della disputa subita per le transazioni inizialmente approvate da Fabrick Guaranteed payments.
Quando un esercente accetta di entrare nel programma di protezione Fabrick Guaranteed payments può scegliere tra due modalità operative:
Shop Protection. Con questa modalità tutte le transazioni sono passate a Fabrick Guaranteed payments per essere valutate.
Select & Submit. Si può scegliere di valutare solo alcune transazioni considerate sospette. Bisogna comunque inviare a Fabrick Guaranteed payments tutti i dati della transazione e specificare quali transazioni devono essere controllate impostando il flag SubmitForReview su 1.
Basandosi su questi dati, Fabrick Guaranteed payments restituisce una risposta di rischio (ACCEPTED, DECLINED, UnderReview).
L'indicatore di rischio per ciascuna transazione analizzata è rappresentato in Active Report del Back Office con uno scudetto verde, rosso o, in rari casi, giallo.
L’esercente può decidere se effettuare la transazione basandosi sulla risposta, ma non è obbligato ad attenersi al risultato della valutazione. È possibile, per esempio, movimentare una transazione con il risultato DECLINED.
Il servizio può inoltre essere integrato in modalità post-autorizzativa o pre-autorizzativa:
La modalità post-autorizzativa consente di avere una maggior precisione di analisi della transazione: infatti, in questo caso il sistema di prevenzione frodi non sarà sottoposto a limiti di tempo per cui potrà restituire la previsione più accurata circa la rischiosità dell'ordine. Questa modalità è consigliata per tutti i casi in cui risulti applicabile. Con questa integrazione, i tempi di risposta medi di Fabrick Guaranteed payments sono inferiori ai 3 secondi. Può capitare in rare occasioni che i tempi di elaborazione siano superiori: durante questo periodo la transazione viene contrassegnata come UnderReview. Le transazioni analizzate e con esito del servizio, saranno solo quelle autorizzate.
La modalità pre-autorizzativa, invece, è ottimizzata per fornire tempi di risposta più rapidi ed è ideale per tutti gli scenari in cui sia necessario concludere i pagamenti con cattura contestuale all'autorizzazione. Con questa integrazione le transazioni declinate dal servizio non verranno autorizzate.
Fabrick Guaranteed payments è disponibile su richiesta, contattando il proprio account manager.
Verrà richiesto del materiale per poter usufruire del servizio, ci sarà un periodo di testing e una volta in produzione ci sarà un periodo di una o due settimane, chiamato Shadow mode, in cui l'esito del servizio non deve essere preso in considerazione.
Fabrick Guaranteed payments richiede di:
Installare lo snippet di tracking dell’utente, chiamato Store Front Beacon. Può essere installato sia sul sito che in un’applicazione mobile.
Inviare il session_id ripreso dallo script a Fabrick Payment Orchestra attraverso il servizio web pertinente.
Il Store Front Beacon di Fabrick Guaranteed payments è uno snippet di codice inserito nelle pagine del negozio online. È importante che il codice venga inserito nel header o nel footer del sito, in modo che le informazioni vengano raccolte da ogni pagina. Si carica in modo asincrono e non influisce sul tempo di caricamento della pagina.
Passaggi di implementazione:
Copiare lo snippet JavaScript che si può trovare nei documenti - Store Front Beacon e sostituire le variabili evidenziate:
Dominio del negozio
ID di Sessione – l’identificatore unico creato quando un utente arriva sul sito. L’ID di sessione deve essere creato all’inizio della visita dell’utente nel negozio, e non quando viene creato il carrello.
Nota: l’ID di Sessione deve essere passato a Fabrick Payment Orchestra nel campo BeaconSessionID e nel tag OrderDetails.
Incollare lo snippet beacon JavaScript nell'HTML del sito.
Store Front Beacon supporta siti il cui contenuto viene caricato dinamicamente senza i caricamenti tradizionali della pagina completa. Per tracciare i contenuti caricati dinamicamente come pageview distinte inviare una hit di pageview al Beacon del Guaranteed Checkout di Fabrick Payment Orchestra e specificare il nome della pagina come stringa del parametro.
RISKX.go('/new-page')
In Mobile SDKs per App Native si trovano tutti i dettagli per le piattaforme Apple e Android.
Una volta abilitati è necessario, secondo l'integrazione usata, mandare i dettagli del carrello e del buyer nell'OrderDetails delle nostre API.
Su https://api.gestpay.it/#orderdetails vengono descritti i campi da popolare con l’indicazione Required/Recommended/Optional e i vari vincoli (dimensioni, valori accettati).
I vincoli sono da rispettare, quindi è consigliato mettere delle validazioni sui campi prima che questi vengano inviati.
Consigliamo l'utilizzo del servizio con la separazione tra autorizzazione e movimentazione(cattura) della transazione, impostabile dal Merchant Back Office di Gestpay (MBO).
Autorizzazione: In seguito ad una richiesta autorizzativa conclusa con successo, i fondi richiesti vengono prenotati sul conto/carta del buyer.
Movimentazione: In seguito ad una autorizzazione è possibile addebitare al buyer i fondi prenotati e accreditare il conto del merchant.
Cancellazione: In seguito ad una autorizzazione è possibile liberare i fondi prenotati sul conto del buyer.
Configurazione > Ambiente > MOTO
Come mostrato precedentemente, è possibile separare la cattura dall'autorizzazione, impostando un comportamento automatico, cattura o cancellazione, entro x giorni dalla data di autorizzazione.
Su Back Office (dashboard myCommerce) il massimo è 25 giorni, bisogna però verificare con il proprio acquirer quale sia la durata effettiva dell'autorizzazione concessa.
Durante il periodo selezionato è comunque possibile intervenire catturando (https://api.axerve.com/#callsettles2s / https://api.axerve.com/#post-payment-capture) o cancellando (https://api.axerve.com/#calldeletes2s / https://api.axerve.com/#post-payment-cancel) la transazione, tramite i nostri web service o manualmente da Back Office.
Per quanto riguarda le richieste di cancellazione, al fine di migliorare i dati in nostro possesso, è richiesto il passaggio della motivazione come ad esempio "Out of stock" o "Suspected Fraud" nel campo dedicato.
A prescindere dall'integrazione usata (Rest, Soap, iFrame, Lightbox, ecc), essendo il servizio post autorizzativo e asincrono, le notifiche e le response delle chiamate autorizzative avranno, nella maggior parte dei casi, il RiskResponseCode e RiskResponseDescription valorizzati con un esito transitorio. Sarà quindi necessario utilizzare una delle chiamate di lettura della transazione per conoscere lo score definitivo dato dal servizio: callreadtrxs2s per le SOAP e post-payment-detail per le REST.
Questa chiamata può essere fatta in polling, ad esempio dopo 3 secondi dall'autorizzazione, dopo un minuto e per finire ogni ora fino a quando non si ottiene l'esito definitivo che, eccetto rari casi, dovrebbe venir restituito entro 3 secondi.
I valori che possono essere restituiti nel riskResponseCode sono i seguenti https://api.axerve.com/#risk-response-codes
submitted
La transazione è under review.
declined
Transazione non approvata da Fabrick Guaranteed payments.
created
La transazione è stata ricevuta da Fabrick Guaranteed payments
captured
Per il piano Select&Submit, captured viene restituito per le transazioni che non vengono evidenziate per la review.
approved
Transazione approvata da Fabrick Guaranteed payments.
Qualsiasi altro valore
Errore restituito da Fabrick Guaranteed payments.
In Sandbox è possibile testare i vari scenari (non applicabili per advice > link), utilizzando come carta 4775718800002026 e passando mail specifiche nel campo OrderDetails > CustomerDetail > PrimaryEmail
test@decline.com per ottenere uno status DECLINED
test@approve.com per ottenere uno status ACCEPTED
Passando un'e-mail generica, come ad esempio test@axervetest.com, la transazione rimarrà in under review.
Prima di procedere all'attivazione in produzione, sarà necessario condividere con Fabrick alcuni test su scenari standard.
Di seguito alcuni esempi.
Transazione autorizzata e approvata dal servizio, successivamente catturata.
Transazione autorizzata e approvata dal servizio, successivamente cancellata.
Transazione autorizzata e declinata dal servizio, successivamente cancellata.
Consigliamo di testare e spiegare i casi più completi. Ad esempio, per un merchant che fornisce beni fisici e digitali, fare una transazione con articoli fisici e non, passando indirizzo di spedizione diverso dall'indirizzo di fatturazione, verificando che la somma degli articoli, delle spese di spedizione meno eventuali sconti, torni con quanto richiesto in autorizzativo.
Il servizio prevede la possibilità di richiedere un rimborso per le transazioni, approvate dal servizio, su cui è nata una disputa per frode.
Per aprire la pratica di rimborso è necessario:
Inviare, entro 7 giorni dalla data del chargeback (esclusivamente di dispute per frode), al cassetto frodi@axerve.com una mail con oggetto: "Richiesta di rimborso - ShopLogin - BankTransactionID".
ShopLogin è il codice Fabrick con su è passata la transazione. BankTransactionID è il codice numerico univoco che Fabrick associa ad ogni transazione.
La mail deve contenere il seguente template compilato Template e:
La prova di consegna (POD - proof of delivery), in formato pdf con nome "ShopLogin_BankTransactionID" (Es. 9000001_321.pdf).
In alternativa
Tracking number valido e il nome, per esteso, della compagnia di trasporto.
Il cassetto frodi@axerve.com si occupa della gestione delle pratiche e di fornire, a richiesta, informazioni aggiuntive sull'esito fornito dal servizio.
Per quanto riguarda la gestione della disputa, bisogna contattare l'acquirer di riferimento.
Una richiesta di rimborso può, eccezionalmente, essere respinta. Ad esempio, citando il contratto: "Affinché l'esercente possa beneficiare del rimborso, l'indirizzo di spedizione riportato sul documento di prova dell’avvenuta consegna deve corrispondere con l'indirizzo riportato nell'ordine che è stato sottoposto a valutazione da parte del Servizio. Fabrick non rimborserà qualora la spedizione sia stata inviata a un indirizzo diverso, quando sia stata reindirizzata a un indirizzo diverso, inclusa qualsiasi struttura di prelievo spedizioni
degli uffici postali. Fabrick consiglia all'esercente di non autorizzare il reindirizzamento della spedizione ai propri spedizionieri."
Durante l'implementazione è fortemente consigliato di fare riferimento a https://api.gestpay.it/#orderdetails in cui vengono descritti i vincoli dei campi. Inoltre, come è possibile dedurre dagli esempi, l'importo richiesto in autorizzativo deve coincidere con quanto presente in orderDetails.
Quando si utilizzano PagamS2S e Create (Non PBL) bisogna passare l'indirizzo IP del buyer nel campo "clientIP" come mostrato negli esempi.
callPagamS2S
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomms2s.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:callPagamS2S>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>19.52</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <ecom:cardNumber>4775718800002026</ecom:cardNumber>
10 <ecom:expiryMonth>05</ecom:expiryMonth>
11 <ecom:expiryYear>27</ecom:expiryYear>
12 <ecom:cvv>390</ecom:cvv>
13 <ecom:clientIP>213.218.53.171</ecom:clientIP>
14 <!-- https://api.gestpay.it/#orderdetails :-->
15 <ecom:OrderDetails>
16 <ecom:FraudPrevention>
17 <ecom:SubmitForReview>1</ecom:SubmitForReview>
18 <ecom:Source>web</ecom:Source>
19 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
20 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
21 </ecom:FraudPrevention>
22 <ecom:CustomerDetail>
23 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
24 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
25 <ecom:FirstName>Luther</ecom:FirstName>
26 <ecom:Lastname>Hargreeves</ecom:Lastname>
27 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
28 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
29 </ecom:CustomerDetail>
30 <ecom:ShippingAddress>
31 <ecom:FirstName>Katniss</ecom:FirstName>
32 <ecom:Lastname>Everdeen</ecom:Lastname>
33 <ecom:StreetName>Via Castello, 52</ecom:StreetName>
34 <ecom:CountryCode>IT</ecom:CountryCode>
35 <ecom:PrimaryPhone>01520123</ecom:PrimaryPhone>
36 <ecom:City>Ronco Biellese</ecom:City>
37 <ecom:State>Biella</ecom:State>
38 <ecom:StateCode>BI</ecom:StateCode>
39 <ecom:ZipCode>13848</ecom:ZipCode>
40 </ecom:ShippingAddress>
41 <ecom:BillingAddress>
42 <ecom:FirstName>Eleanor</ecom:FirstName>
43 <ecom:Lastname>Shellstrop</ecom:Lastname>
44 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
45 <ecom:CountryCode>IT</ecom:CountryCode>
46 <ecom:PrimaryPhone>01523323</ecom:PrimaryPhone>
47 <ecom:City>Ponderano</ecom:City>
48 <ecom:State>Biella</ecom:State>
49 <ecom:StateCode>BI</ecom:StateCode>
50 <ecom:ZipCode>13875</ecom:ZipCode>
51 </ecom:BillingAddress>
52 <ecom:ProductDetails>
53 <ecom:ProductDetail>
54 <ecom:ProductCode>94711</ecom:ProductCode>
55 <ecom:SKU>18SK</ecom:SKU>
56 <ecom:Name>SOCKS</ecom:Name>
57 <ecom:Quantity>2</ecom:Quantity>
58 <ecom:Price>4</ecom:Price>
59 <ecom:Type>physical</ecom:Type>
60 <ecom:RequiresShipping>true</ecom:RequiresShipping>
61 <ecom:Category>Clothing</ecom:Category>
62 <ecom:SubCategory>Socks</ecom:SubCategory>
63 <ecom:Brand>UAClothes</ecom:Brand>
64 </ecom:ProductDetail>
65 <ecom:ProductDetail>
66 <ecom:ProductCode>94718</ecom:ProductCode>
67 <ecom:SKU>27SK</ecom:SKU>
68 <ecom:Name>SWEATSHIRT</ecom:Name>
69 <ecom:Quantity>1</ecom:Quantity>
70 <ecom:Price>5</ecom:Price>
71 <ecom:Type>physical</ecom:Type>
72 <ecom:RequiresShipping>true</ecom:RequiresShipping>
73 <ecom:Category>Clothing</ecom:Category>
74 <ecom:SubCategory>Shirt</ecom:SubCategory>
75 <ecom:Brand>UAClothes</ecom:Brand>
76 </ecom:ProductDetail>
77 <ecom:ProductDetail>
78 <ecom:ProductCode>883</ecom:ProductCode>
79 <ecom:SKU>Giftcard883</ecom:SKU>
80 <ecom:Name>Giftcard_5</ecom:Name>
81 <ecom:Quantity>1</ecom:Quantity>
82 <ecom:Price>5</ecom:Price>
83 <ecom:Type>digital</ecom:Type>
84 <ecom:RequiresShipping>false</ecom:RequiresShipping>
85 <ecom:DigitalGiftCardDetails>
86 <ecom:SenderName>Luther Hargreeves</ecom:SenderName>
87 <ecom:DisplayName>Percy Jackson</ecom:DisplayName>
88 <ecom:GreetingMessage>Congratulations! This should help with the honeymoon.</ecom:GreetingMessage>
89 <ecom:Recipient>
90 <ecom:Email>test@approve.com</ecom:Email>
91 <ecom:Phone>3491234568</ecom:Phone>
92 </ecom:Recipient>
93 </ecom:DigitalGiftCardDetails>
94 </ecom:ProductDetail>
95 </ecom:ProductDetails>
96 <ecom:ShippingLines>
97 <ecom:ShippingLine>
98 <ecom:Price>9.52</ecom:Price>
99 <ecom:Title>DHL Express Ship EUROPE</ecom:Title>
100 <ecom:Code>72-B03</ecom:Code>
101 </ecom:ShippingLine>
102 </ecom:ShippingLines>
103 <ecom:DiscountCodes>
104 <ecom:DiscountCode>
105 <ecom:Amount>8</ecom:Amount>
106 <ecom:Code>Winter</ecom:Code>
107 </ecom:DiscountCode>
108 </ecom:DiscountCodes>
109 </ecom:OrderDetails>
110 <ecom:apikey></ecom:apikey>
111 </ecom:callPagamS2S>
112 </soapenv:Body>
113</soapenv:Envelope>
Encrypt
1<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomm.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:Encrypt>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>19.52</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <!-- https://api.gestpay.it/#orderdetails :-->
10 <ecom:OrderDetails>
11 <ecom:FraudPrevention>
12 <ecom:SubmitForReview>1</ecom:SubmitForReview>
13 <ecom:Source>web</ecom:Source>
14 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
15 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
16 </ecom:FraudPrevention>
17 <ecom:CustomerDetail>
18 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
19 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
20 <ecom:FirstName>Luther</ecom:FirstName>
21 <ecom:Lastname>Hargreeves</ecom:Lastname>
22 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
23 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
24 </ecom:CustomerDetail>
25 <ecom:ShippingAddress>
26 <ecom:FirstName>Katniss</ecom:FirstName>
27 <ecom:Lastname>Everdeen</ecom:Lastname>
28 <ecom:StreetName>Via Castello, 52</ecom:StreetName>
29 <ecom:CountryCode>IT</ecom:CountryCode>
30 <ecom:PrimaryPhone>01520123</ecom:PrimaryPhone>
31 <ecom:City>Ronco Biellese</ecom:City>
32 <ecom:State>Biella</ecom:State>
33 <ecom:StateCode>BI</ecom:StateCode>
34 <ecom:ZipCode>13848</ecom:ZipCode>
35 </ecom:ShippingAddress>
36 <ecom:BillingAddress>
37 <ecom:FirstName>Eleanor</ecom:FirstName>
38 <ecom:Lastname>Shellstrop</ecom:Lastname>
39 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
40 <ecom:CountryCode>IT</ecom:CountryCode>
41 <ecom:PrimaryPhone>01523323</ecom:PrimaryPhone>
42 <ecom:City>Ponderano</ecom:City>
43 <ecom:State>Biella</ecom:State>
44 <ecom:StateCode>BI</ecom:StateCode>
45 <ecom:ZipCode>13875</ecom:ZipCode>
46 </ecom:BillingAddress>
47 <ecom:ProductDetails>
48 <ecom:ProductDetail>
49 <ecom:ProductCode>94711</ecom:ProductCode>
50 <ecom:SKU>18SK</ecom:SKU>
51 <ecom:Name>SOCKS</ecom:Name>
52 <ecom:Quantity>2</ecom:Quantity>
53 <ecom:Price>4</ecom:Price>
54 <ecom:Type>physical</ecom:Type>
55 <ecom:RequiresShipping>true</ecom:RequiresShipping>
56 <ecom:Category>Clothing</ecom:Category>
57 <ecom:SubCategory>Socks</ecom:SubCategory>
58 <ecom:Brand>UAClothes</ecom:Brand>
59 </ecom:ProductDetail>
60 <ecom:ProductDetail>
61 <ecom:ProductCode>94718</ecom:ProductCode>
62 <ecom:SKU>27SK</ecom:SKU>
63 <ecom:Name>SWEATSHIRT</ecom:Name>
64 <ecom:Quantity>1</ecom:Quantity>
65 <ecom:Price>5</ecom:Price>
66 <ecom:Type>physical</ecom:Type>
67 <ecom:RequiresShipping>true</ecom:RequiresShipping>
68 <ecom:Category>Clothing</ecom:Category>
69 <ecom:SubCategory>Shirt</ecom:SubCategory>
70 <ecom:Brand>UAClothes</ecom:Brand>
71 </ecom:ProductDetail>
72 <ecom:ProductDetail>
73 <ecom:ProductCode>883</ecom:ProductCode>
74 <ecom:SKU>Giftcard883</ecom:SKU>
75 <ecom:Name>Giftcard_5</ecom:Name>
76 <ecom:Quantity>1</ecom:Quantity>
77 <ecom:Price>5</ecom:Price>
78 <ecom:Type>digital</ecom:Type>
79 <ecom:RequiresShipping>false</ecom:RequiresShipping>
80 <ecom:DigitalGiftCardDetails>
81 <ecom:SenderName>Luther Hargreeves</ecom:SenderName>
82 <ecom:DisplayName>Percy Jackson</ecom:DisplayName>
83 <ecom:GreetingMessage>Congratulations! This should help with the honeymoon.</ecom:GreetingMessage>
84 <ecom:Recipient>
85 <ecom:Email>test@approve.com</ecom:Email>
86 <ecom:Phone>3491234568</ecom:Phone>
87 </ecom:Recipient>
88 </ecom:DigitalGiftCardDetails>
89 </ecom:ProductDetail>
90 </ecom:ProductDetails>
91 <ecom:ShippingLines>
92 <ecom:ShippingLine>
93 <ecom:Price>9.52</ecom:Price>
94 <ecom:Title>DHL Express Ship EUROPE</ecom:Title>
95 <ecom:Code>72-B03</ecom:Code>
96 </ecom:ShippingLine>
97 </ecom:ShippingLines>
98 <ecom:DiscountCodes>
99 <ecom:DiscountCode>
100 <ecom:Amount>8</ecom:Amount>
101 <ecom:Code>Winter</ecom:Code>
102 </ecom:DiscountCode>
103 </ecom:DiscountCodes>
104 </ecom:OrderDetails>
105 <ecom:apikey></ecom:apikey>
106 </ecom:Encrypt>
107 </soapenv:Body>
108</soapenv:Envelope>
iFrame
Verificare SOAP Encrypt - online pagam example, dopodiché procedere con js sul flow dell'integrazione iFrame.
payment/create
1{
2 "shopLogin":"GESPAY00001",
3 "amount":"19.52",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "clientIP":"213.218.53.171",
7 "OrderDetails":
8 {
9 "FraudPrevention": {
10 "SubmitForReview": "1",
11 "Source": "web",
12 "SubmissionReason": "rule_decision",
13 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7",
14 "VendorID": "",
15 "VendorName": ""
16 },
17 "CustomerDetail": {
18 "FirstName": "Luther",
19 "Lastname": "Hargreeves",
20 "PrimaryEmail": "test@approve.com",
21 "VerifiedEmail": "false",
22 "MerchantCustomerID": "Buyer0711",
23 "CreatedAtDate": "2017-13-16 15:28"
24 },
25 "ShippingAddress": {
26 "FirstName": "Katniss",
27 "Lastname": "Everdeen",
28 "StreetName": "Via Castello, 52",
29 "CountryCode": "IT",
30 "State": "Biella",
31 "StateCode": "BI",
32 "City": "Ronco Biellese",
33 "ZipCode": "13848",
34 "PrimaryPhone": "0152434640"
35 },
36 "BillingAddress": {
37 "FirstName": "Eleanor",
38 "Lastname": "Shellstrop",
39 "StreetName": "Via dei Ponderanesi, 2",
40 "CountryCode": "IT",
41 "State": "Biella",
42 "StateCode": "BI",
43 "City": "Ponderano",
44 "ZipCode": "13875",
45 "PrimaryPhone": "0152434640"
46 },
47 "ProductDetails": [
48 {
49 "ProductCode": "94711",
50 "SKU": "18SK",
51 "Name": "SOCKS",
52 "Quantity": "2",
53 "Price": "4",
54 "Type": "physical",
55 "RequiresShipping": "true",
56 "Category": "Clothing",
57 "SubCategory": "Socks",
58 "Brand": "UAClothes"
59 },
60 {
61 "ProductCode": "94718",
62 "SKU": "27SK",
63 "Name": "SWEATSHIRT",
64 "Quantity": "1",
65 "Price": "5",
66 "Type": "physical",
67 "RequiresShipping": "true",
68 "Category": "Clothing",
69 "SubCategory": "Shirt",
70 "Brand": "UAClothes"
71 },
72 {
73 "ProductCode": "883",
74 "SKU": "Giftcard883",
75 "Name": "Giftcard_5",
76 "Quantity": "1",
77 "Price": "5",
78 "Type": "digital",
79 "RequiresShipping": "false",
80 "DigitalGiftCardDetails":{
81 "SenderName": "Luther Hargreeves",
82 "DisplayName": "Percy Jackson",
83 "GreetingMessage": "Congratulations! This should help with the honeymoon.",
84 "Recipient":{
85 "Email": "test@approve.com",
86 "Phone": "3491234568"
87 }
88 }
89 }
90 ],
91 "ShippingLines": [
92 {
93 "Price": "9.52",
94 "Title": "DHL Express Ship EUROPE",
95 "Code": "72-B03"
96 }
97 ],
98 "DiscountCodes": [
99 {
100 "Amount": "8",
101 "Code": "Winter"
102 }
103 ]
104 }
105}
payment/submit
1{
2 "shopLogin":"GESPAY00001",
3 "paymentTypeDetails":{
4 "creditcard":{
5 "number":"4775718800002026",
6 "token":"",
7 "expMonth":"05",
8 "expYear":"27",
9 "CVV":"390",
10 "requestToken":"",
11 "DCC": ""
12 }
13 },
14 "responseURLs":{
15 "buyerOK":"",
16 "buyerKO":"",
17 "serverNotificationURL":""
18 }
19}
Fabrick Pay by Link
1{
2 "shopLogin":"{{MeloRiskPost}}",
3 "amount":"19.52",
4 "currency":"EUR",
5 "shopTransactionID":"PBL_Guaranteed_Approved_20220429_1654",
6 "buyerEmail": "buyer@axerve.test.com",
7 "paymentChannel":{
8 "channelType":["EMAIL"]
9 },
10 "OrderDetails":
11 {
12 "FraudPrevention": {
13 "SubmitForReview": "1",
14 "Source": "web",
15 "SubmissionReason": "rule_decision",
16 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7",
17 "VendorID": "",
18 "VendorName": ""
19 },
20 "CustomerDetail": {
21 "FirstName": "Luther",
22 "Lastname": "Hargreeves",
23 "PrimaryEmail": "test@approve.com",
24 "VerifiedEmail": "false",
25 "MerchantCustomerID": "Buyer0711",
26 "CreatedAtDate": "2017-13-16 15:28"
27 },
28 "ShippingAddress": {
29 "FirstName": "Katniss",
30 "Lastname": "Everdeen",
31 "StreetName": "Via Castello, 52",
32 "CountryCode": "IT",
33 "State": "Biella",
34 "StateCode": "BI",
35 "City": "Ronco Biellese",
36 "ZipCode": "13848",
37 "PrimaryPhone": "0152434640"
38 },
39 "BillingAddress": {
40 "FirstName": "Eleanor",
41 "Lastname": "Shellstrop",
42 "StreetName": "Via dei Ponderanesi, 2",
43 "CountryCode": "IT",
44 "State": "Biella",
45 "StateCode": "BI",
46 "City": "Ponderano",
47 "ZipCode": "13875",
48 "PrimaryPhone": "0152434640"
49 },
50 "ProductDetails": [
51 {
52 "ProductCode": "94711",
53 "SKU": "18SK",
54 "Name": "SOCKS",
55 "Quantity": "2",
56 "Price": "4",
57 "Type": "physical",
58 "RequiresShipping": "true",
59 "Category": "Clothing",
60 "SubCategory": "Socks",
61 "Brand": "UAClothes"
62 },
63 {
64 "ProductCode": "94718",
65 "SKU": "27SK",
66 "Name": "SWEATSHIRT",
67 "Quantity": "1",
68 "Price": "5",
69 "Type": "physical",
70 "RequiresShipping": "true",
71 "Category": "Clothing",
72 "SubCategory": "Shirt",
73 "Brand": "UAClothes"
74 },
75 {
76 "ProductCode": "883",
77 "SKU": "Giftcard883",
78 "Name": "Giftcard_5",
79 "Quantity": "1",
80 "Price": "5",
81 "Type": "digital",
82 "RequiresShipping": "false",
83 "DigitalGiftCardDetails":{
84 "SenderName": "Luther Hargreeves",
85 "DisplayName": "Percy Jackson",
86 "GreetingMessage": "Congratulations! This should help with the honeymoon.",
87 "Recipient":{
88 "Email": "test@approve.com",
89 "Phone": "3491234568"
90 }
91 }
92 }
93 ],
94 "ShippingLines": [
95 {
96 "Price": "9.52",
97 "Title": "DHL Express Ship EUROPE",
98 "Code": "72-B03"
99 }
100 ],
101 "DiscountCodes": [
102 {
103 "Amount": "8",
104 "Code": "Winter"
105 }
106 ]
107 }
108}
Lightbox
1{
2 "shopLogin":"GESPAY00001",
3 "amount":"19.52",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "OrderDetails":
7 {
8 "FraudPrevention": {
9 "SubmitForReview": "1",
10 "Source": "web",
11 "SubmissionReason": "rule_decision",
12 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7",
13 "VendorID": "",
14 "VendorName": ""
15 },
16 "CustomerDetail": {
17 "FirstName": "Luther",
18 "Lastname": "Hargreeves",
19 "PrimaryEmail": "test@approve.com",
20 "VerifiedEmail": "false",
21 "MerchantCustomerID": "Buyer0711",
22 "CreatedAtDate": "2017-13-16 15:28"
23 },
24 "ShippingAddress": {
25 "FirstName": "Katniss",
26 "Lastname": "Everdeen",
27 "StreetName": "Via Castello, 52",
28 "CountryCode": "IT",
29 "State": "Biella",
30 "StateCode": "BI",
31 "City": "Ronco Biellese",
32 "ZipCode": "13848",
33 "PrimaryPhone": "0152434640"
34 },
35 "BillingAddress": {
36 "FirstName": "Eleanor",
37 "Lastname": "Shellstrop",
38 "StreetName": "Via dei Ponderanesi, 2",
39 "CountryCode": "IT",
40 "State": "Biella",
41 "StateCode": "BI",
42 "City": "Ponderano",
43 "ZipCode": "13875",
44 "PrimaryPhone": "0152434640"
45 },
46 "ProductDetails": [
47 {
48 "ProductCode": "94711",
49 "SKU": "18SK",
50 "Name": "SOCKS",
51 "Quantity": "2",
52 "Price": "4",
53 "Type": "physical",
54 "RequiresShipping": "true",
55 "Category": "Clothing",
56 "SubCategory": "Socks",
57 "Brand": "UAClothes"
58 },
59 {
60 "ProductCode": "94718",
61 "SKU": "27SK",
62 "Name": "SWEATSHIRT",
63 "Quantity": "1",
64 "Price": "5",
65 "Type": "physical",
66 "RequiresShipping": "true",
67 "Category": "Clothing",
68 "SubCategory": "Shirt",
69 "Brand": "UAClothes"
70 },
71 {
72 "ProductCode": "883",
73 "SKU": "Giftcard883",
74 "Name": "Giftcard_5",
75 "Quantity": "1",
76 "Price": "5",
77 "Type": "digital",
78 "RequiresShipping": "false",
79 "DigitalGiftCardDetails":{
80 "SenderName": "Luther Hargreeves",
81 "DisplayName": "Percy Jackson",
82 "GreetingMessage": "Congratulations! This should help with the honeymoon.",
83 "Recipient":{
84 "Email": "test@approve.com",
85 "Phone": "3491234568"
86 }
87 }
88 }
89 ],
90 "ShippingLines": [
91 {
92 "Price": "9.52",
93 "Title": "DHL Express Ship EUROPE",
94 "Code": "72-B03"
95 }
96 ],
97 "DiscountCodes": [
98 {
99 "Amount": "8",
100 "Code": "Winter"
101 }
102 ]
103 }
104}
Dopodiché procedere con l'integrazione di Lightbox.
callPagamS2S
1<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomms2s.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:callPagamS2S>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>1251</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <ecom:cardNumber>4775718800002026</ecom:cardNumber>
10 <ecom:expiryMonth>05</ecom:expiryMonth>
11 <ecom:expiryYear>27</ecom:expiryYear>
12 <ecom:cvv>390</ecom:cvv>
13 <ecom:clientIP>213.218.53.171</ecom:clientIP>
14 <!-- https://api.gestpay.it/#orderdetails :-->
15 <ecom:OrderDetails>
16 <ecom:FraudPrevention>
17 <ecom:SubmitForReview>1</ecom:SubmitForReview>
18 <ecom:Source>web</ecom:Source>
19 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
20 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
21 </ecom:FraudPrevention>
22 <ecom:CustomerDetail>
23 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
24 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
25 <ecom:FirstName>Luther</ecom:FirstName>
26 <ecom:Lastname>Hargreeves</ecom:Lastname>
27 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
28 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
29 </ecom:CustomerDetail>
30 <ecom:BillingAddress>
31 <ecom:FirstName>Eleanor</ecom:FirstName>
32 <ecom:Lastname>Shellstrop</ecom:Lastname>
33 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
34 <ecom:CountryCode>IT</ecom:CountryCode>
35 <ecom:PrimaryPhone>0152434640</ecom:PrimaryPhone>
36 <ecom:City>Ponderano</ecom:City>
37 <ecom:State>Biella</ecom:State>
38 <ecom:StateCode>BI</ecom:StateCode>
39 <ecom:ZipCode>13875</ecom:ZipCode>
40 </ecom:BillingAddress>
41 <ecom:DiscountCodes>
42 <ecom:DiscountCode>
43 <ecom:Amount>121</ecom:Amount>
44 <ecom:Code>Winter</ecom:Code>
45 </ecom:DiscountCode>
46 </ecom:DiscountCodes>
47<!-- Accommodation Industry :-->
48 <ecom:AccommodationDetails>
49 <ecom:AccommodationDetail>
50 <ecom:RoomType>Double</ecom:RoomType>
51 <ecom:City>Berlin</ecom:City>
52 <ecom:CountryCode>DE</ecom:CountryCode>
53 <ecom:CheckInDate>2021-11-20T14:00:00+2</ecom:CheckInDate>
54 <ecom:CheckOutDate>2021-11-22T14:00:00+2</ecom:CheckOutDate>
55 <ecom:Rating>3</ecom:Rating>
56 <ecom:NumberOfGuests>2</ecom:NumberOfGuests>
57 <ecom:CancellationPolicy>Non-Refundable</ecom:CancellationPolicy>
58 <ecom:AccommodationType>Hotel</ecom:AccommodationType>
59 <ecom:Title>Welcome Hotel BE</ecom:Title>
60 <ecom:Price>342</ecom:Price>
61 <ecom:ProductId>DE714</ecom:ProductId>
62 <ecom:Quantity>1</ecom:Quantity>
63 </ecom:AccommodationDetail>
64 <ecom:AccommodationDetail>
65 <ecom:RoomType>Double Deluxe</ecom:RoomType>
66 <ecom:City>Madrid</ecom:City>
67 <ecom:CountryCode>ES</ecom:CountryCode>
68 <ecom:CheckInDate>2021-12-06T22:00:00+2</ecom:CheckInDate>
69 <ecom:CheckOutDate>2021-12-08T12:00:00+2</ecom:CheckOutDate>
70 <ecom:Rating>3</ecom:Rating>
71 <ecom:NumberOfGuests>2</ecom:NumberOfGuests>
72 <ecom:CancellationPolicy>Non-Refundable</ecom:CancellationPolicy>
73 <ecom:AccommodationType>Hotel</ecom:AccommodationType>
74 <ecom:Title>Welcome Hotel MD</ecom:Title>
75 <ecom:Price>200</ecom:Price>
76 <ecom:ProductId>ES9411</ecom:ProductId>
77 <ecom:Quantity>1</ecom:Quantity>
78 </ecom:AccommodationDetail>
79 </ecom:AccommodationDetails>
80<!-- Travel Tickets Industry :-->
81 <ecom:TravelTicketDetails>
82 <ecom:TravelTicketDetail>
83 <ecom:LegId>UA0711</ecom:LegId>
84 <ecom:DeparturePortCode>EWR</ecom:DeparturePortCode>
85 <ecom:DepartureCity>New-York</ecom:DepartureCity>
86 <ecom:DepartureCountryCode>US</ecom:DepartureCountryCode>
87 <ecom:DepartureDate>2021-10-22T06:00:00-4</ecom:DepartureDate>
88 <ecom:ArrivalCity>Berlin</ecom:ArrivalCity>
89 <ecom:ArrivalCountryCode>DE</ecom:ArrivalCountryCode>
90 <ecom:ArrivalDate>2021-10-24T06:00:00+2</ecom:ArrivalDate>
91 <ecom:ArrivalPortCode>TXL</ecom:ArrivalPortCode>
92 <ecom:CarrierCode>UA</ecom:CarrierCode>
93 <ecom:CarrierName>United Airlines</ecom:CarrierName>
94 <ecom:RouteIndex>1</ecom:RouteIndex>
95 <ecom:LegIndex>1</ecom:LegIndex>
96 <ecom:TicketClass>Economy</ecom:TicketClass>
97 <ecom:Title>EWR-TXL</ecom:Title>
98 <ecom:Price>200</ecom:Price>
99 <ecom:Quantity>2</ecom:Quantity>
100 </ecom:TravelTicketDetail>
101 <ecom:TravelTicketDetail>
102 <ecom:LegId>LX1194</ecom:LegId>
103 <ecom:DeparturePortCode>TXL</ecom:DeparturePortCode>
104 <ecom:DepartureCity>Berlin</ecom:DepartureCity>
105 <ecom:DepartureCountryCode>DE</ecom:DepartureCountryCode>
106 <ecom:DepartureDate>2021-12-05T22:00:00+2</ecom:DepartureDate>
107 <ecom:ArrivalCity>Zurich</ecom:ArrivalCity>
108 <ecom:ArrivalCountryCode>CH</ecom:ArrivalCountryCode>
109 <ecom:ArrivalDate>2021-12-06T04:00:00+2</ecom:ArrivalDate>
110 <ecom:ArrivalPortCode>ZRH</ecom:ArrivalPortCode>
111 <ecom:CarrierCode>LX</ecom:CarrierCode>
112 <ecom:CarrierName>SWISS</ecom:CarrierName>
113 <ecom:RouteIndex>2</ecom:RouteIndex>
114 <ecom:LegIndex>1</ecom:LegIndex>
115 <ecom:TicketClass>Economy</ecom:TicketClass>
116 <ecom:Title>TXL-ZRH</ecom:Title>
117 <ecom:Price>100</ecom:Price>
118 <ecom:Quantity>2</ecom:Quantity>
119 </ecom:TravelTicketDetail>
120 <ecom:TravelTicketDetail>
121 <ecom:LegId>IB0794</ecom:LegId>
122 <ecom:DeparturePortCode>ZRH</ecom:DeparturePortCode>
123 <ecom:DepartureCity>Zurich</ecom:DepartureCity>
124 <ecom:DepartureCountryCode>CH</ecom:DepartureCountryCode>
125 <ecom:DepartureDate>2021-12-06T06:00:00+2</ecom:DepartureDate>
126 <ecom:ArrivalCity>Madrid</ecom:ArrivalCity>
127 <ecom:ArrivalCountryCode>ES</ecom:ArrivalCountryCode>
128 <ecom:ArrivalDate>2021-12-06T18:00:00+2</ecom:ArrivalDate>
129 <ecom:ArrivalPortCode>MAD</ecom:ArrivalPortCode>
130 <ecom:CarrierCode>IB</ecom:CarrierCode>
131 <ecom:CarrierName>Iberia</ecom:CarrierName>
132 <ecom:RouteIndex>2</ecom:RouteIndex>
133 <ecom:LegIndex>2</ecom:LegIndex>
134 <ecom:TicketClass>Economy</ecom:TicketClass>
135 <ecom:Title>ZRH-MAD</ecom:Title>
136 <ecom:Price>100</ecom:Price>
137 <ecom:Quantity>2</ecom:Quantity>
138 </ecom:TravelTicketDetail>
139 </ecom:TravelTicketDetails>
140<!-- Passenger :-->
141 <ecom:PassengerDetails>
142 <ecom:PassengerDetail>
143 <ecom:FirstName>Marty</ecom:FirstName>
144 <ecom:LastName>McFly</ecom:LastName>
145 <ecom:DateOfBirth>1980-04-02</ecom:DateOfBirth>
146 <ecom:NationalityCode>US</ecom:NationalityCode>
147 <ecom:InsuranceType>Silver</ecom:InsuranceType>
148 <ecom:InsurancePrice>30</ecom:InsurancePrice>
149 <ecom:PassengerType>Adult</ecom:PassengerType>
150 </ecom:PassengerDetail>
151 <ecom:PassengerDetail>
152 <ecom:FirstName>Emmett</ecom:FirstName>
153 <ecom:LastName>Brown</ecom:LastName>
154 <ecom:DateOfBirth>1960-06-09</ecom:DateOfBirth>
155 <ecom:NationalityCode>US</ecom:NationalityCode>
156 <ecom:InsuranceType></ecom:InsuranceType>
157 <ecom:InsurancePrice></ecom:InsurancePrice>
158 <ecom:PassengerType>Senior</ecom:PassengerType>
159 </ecom:PassengerDetail>
160 </ecom:PassengerDetails>
161 </ecom:OrderDetails>
162 <ecom:apikey></ecom:apikey>
163 </ecom:callPagamS2S>
164 </soapenv:Body>
165</soapenv:Envelope>
Encrypt
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomm.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:Encrypt>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>1251</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <!-- https://api.gestpay.it/#orderdetails :-->
10 <ecom:OrderDetails>
11 <ecom:FraudPrevention>
12 <ecom:SubmitForReview>1</ecom:SubmitForReview>
13 <ecom:Source>web</ecom:Source>
14 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
15 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
16 </ecom:FraudPrevention>
17 <ecom:CustomerDetail>
18 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
19 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
20 <ecom:FirstName>Luther</ecom:FirstName>
21 <ecom:Lastname>Hargreeves</ecom:Lastname>
22 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
23 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
24 </ecom:CustomerDetail>
25 <ecom:BillingAddress>
26 <ecom:FirstName>Eleanor</ecom:FirstName>
27 <ecom:Lastname>Shellstrop</ecom:Lastname>
28 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
29 <ecom:CountryCode>IT</ecom:CountryCode>
30 <ecom:PrimaryPhone>0152434640</ecom:PrimaryPhone>
31 <ecom:City>Ponderano</ecom:City>
32 <ecom:State>Biella</ecom:State>
33 <ecom:StateCode>BI</ecom:StateCode>
34 <ecom:ZipCode>13875</ecom:ZipCode>
35 </ecom:BillingAddress>
36 <ecom:DiscountCodes>
37 <ecom:DiscountCode>
38 <ecom:Amount>121</ecom:Amount>
39 <ecom:Code>Winter</ecom:Code>
40 </ecom:DiscountCode>
41 </ecom:DiscountCodes>
42<!-- Accommodation Industry :-->
43 <ecom:AccommodationDetails>
44 <ecom:AccommodationDetail>
45 <ecom:RoomType>Double</ecom:RoomType>
46 <ecom:City>Berlin</ecom:City>
47 <ecom:CountryCode>DE</ecom:CountryCode>
48 <ecom:CheckInDate>2021-11-20T14:00:00+2</ecom:CheckInDate>
49 <ecom:CheckOutDate>2021-11-22T14:00:00+2</ecom:CheckOutDate>
50 <ecom:Rating>3</ecom:Rating>
51 <ecom:NumberOfGuests>2</ecom:NumberOfGuests>
52 <ecom:CancellationPolicy>Non-Refundable</ecom:CancellationPolicy>
53 <ecom:AccommodationType>Hotel</ecom:AccommodationType>
54 <ecom:Title>Welcome Hotel BE</ecom:Title>
55 <ecom:Price>342</ecom:Price>
56 <ecom:ProductId>DE714</ecom:ProductId>
57 <ecom:Quantity>1</ecom:Quantity>
58 </ecom:AccommodationDetail>
59 <ecom:AccommodationDetail>
60 <ecom:RoomType>Double Deluxe</ecom:RoomType>
61 <ecom:City>Madrid</ecom:City>
62 <ecom:CountryCode>ES</ecom:CountryCode>
63 <ecom:CheckInDate>2021-12-06T22:00:00+2</ecom:CheckInDate>
64 <ecom:CheckOutDate>2021-12-08T12:00:00+2</ecom:CheckOutDate>
65 <ecom:Rating>3</ecom:Rating>
66 <ecom:NumberOfGuests>2</ecom:NumberOfGuests>
67 <ecom:CancellationPolicy>Non-Refundable</ecom:CancellationPolicy>
68 <ecom:AccommodationType>Hotel</ecom:AccommodationType>
69 <ecom:Title>Welcome Hotel MD</ecom:Title>
70 <ecom:Price>200</ecom:Price>
71 <ecom:ProductId>ES9411</ecom:ProductId>
72 <ecom:Quantity>1</ecom:Quantity>
73 </ecom:AccommodationDetail>
74 </ecom:AccommodationDetails>
75<!-- Travel Tickets Industry :-->
76 <ecom:TravelTicketDetails>
77 <ecom:TravelTicketDetail>
78 <ecom:LegId>UA0711</ecom:LegId>
79 <ecom:DeparturePortCode>EWR</ecom:DeparturePortCode>
80 <ecom:DepartureCity>New-York</ecom:DepartureCity>
81 <ecom:DepartureCountryCode>US</ecom:DepartureCountryCode>
82 <ecom:DepartureDate>2021-10-22T06:00:00-4</ecom:DepartureDate>
83 <ecom:ArrivalCity>Berlin</ecom:ArrivalCity>
84 <ecom:ArrivalCountryCode>DE</ecom:ArrivalCountryCode>
85 <ecom:ArrivalDate>2021-10-24T06:00:00+2</ecom:ArrivalDate>
86 <ecom:ArrivalPortCode>TXL</ecom:ArrivalPortCode>
87 <ecom:CarrierCode>UA</ecom:CarrierCode>
88 <ecom:CarrierName>United Airlines</ecom:CarrierName>
89 <ecom:RouteIndex>1</ecom:RouteIndex>
90 <ecom:LegIndex>1</ecom:LegIndex>
91 <ecom:TicketClass>Economy</ecom:TicketClass>
92 <ecom:Title>EWR-TXL</ecom:Title>
93 <ecom:Price>200</ecom:Price>
94 <ecom:Quantity>2</ecom:Quantity>
95 </ecom:TravelTicketDetail>
96 <ecom:TravelTicketDetail>
97 <ecom:LegId>LX1194</ecom:LegId>
98 <ecom:DeparturePortCode>TXL</ecom:DeparturePortCode>
99 <ecom:DepartureCity>Berlin</ecom:DepartureCity>
100 <ecom:DepartureCountryCode>DE</ecom:DepartureCountryCode>
101 <ecom:DepartureDate>2021-12-05T22:00:00+2</ecom:DepartureDate>
102 <ecom:ArrivalCity>Zurich</ecom:ArrivalCity>
103 <ecom:ArrivalCountryCode>CH</ecom:ArrivalCountryCode>
104 <ecom:ArrivalDate>2021-12-06T04:00:00+2</ecom:ArrivalDate>
105 <ecom:ArrivalPortCode>ZRH</ecom:ArrivalPortCode>
106 <ecom:CarrierCode>LX</ecom:CarrierCode>
107 <ecom:CarrierName>SWISS</ecom:CarrierName>
108 <ecom:RouteIndex>2</ecom:RouteIndex>
109 <ecom:LegIndex>1</ecom:LegIndex>
110 <ecom:TicketClass>Economy</ecom:TicketClass>
111 <ecom:Title>TXL-ZRH</ecom:Title>
112 <ecom:Price>100</ecom:Price>
113 <ecom:Quantity>2</ecom:Quantity>
114 </ecom:TravelTicketDetail>
115 <ecom:TravelTicketDetail>
116 <ecom:LegId>IB0794</ecom:LegId>
117 <ecom:DeparturePortCode>ZRH</ecom:DeparturePortCode>
118 <ecom:DepartureCity>Zurich</ecom:DepartureCity>
119 <ecom:DepartureCountryCode>CH</ecom:DepartureCountryCode>
120 <ecom:DepartureDate>2021-12-06T06:00:00+2</ecom:DepartureDate>
121 <ecom:ArrivalCity>Madrid</ecom:ArrivalCity>
122 <ecom:ArrivalCountryCode>ES</ecom:ArrivalCountryCode>
123 <ecom:ArrivalDate>2021-12-06T18:00:00+2</ecom:ArrivalDate>
124 <ecom:ArrivalPortCode>MAD</ecom:ArrivalPortCode>
125 <ecom:CarrierCode>IB</ecom:CarrierCode>
126 <ecom:CarrierName>Iberia</ecom:CarrierName>
127 <ecom:RouteIndex>2</ecom:RouteIndex>
128 <ecom:LegIndex>2</ecom:LegIndex>
129 <ecom:TicketClass>Economy</ecom:TicketClass>
130 <ecom:Title>ZRH-MAD</ecom:Title>
131 <ecom:Price>100</ecom:Price>
132 <ecom:Quantity>2</ecom:Quantity>
133 </ecom:TravelTicketDetail>
134 </ecom:TravelTicketDetails>
135<!-- Passenger :-->
136 <ecom:PassengerDetails>
137 <ecom:PassengerDetail>
138 <ecom:FirstName>Marty</ecom:FirstName>
139 <ecom:LastName>McFly</ecom:LastName>
140 <ecom:DateOfBirth>1980-04-02</ecom:DateOfBirth>
141 <ecom:NationalityCode>US</ecom:NationalityCode>
142 <ecom:InsuranceType>Silver</ecom:InsuranceType>
143 <ecom:InsurancePrice>30</ecom:InsurancePrice>
144 <ecom:PassengerType>Adult</ecom:PassengerType>
145 </ecom:PassengerDetail>
146 <ecom:PassengerDetail>
147 <ecom:FirstName>Emmett</ecom:FirstName>
148 <ecom:LastName>Brown</ecom:LastName>
149 <ecom:DateOfBirth>1960-06-09</ecom:DateOfBirth>
150 <ecom:NationalityCode>US</ecom:NationalityCode>
151 <ecom:InsuranceType></ecom:InsuranceType>
152 <ecom:InsurancePrice></ecom:InsurancePrice>
153 <ecom:PassengerType>Senior</ecom:PassengerType>
154 </ecom:PassengerDetail>
155 </ecom:PassengerDetails>
156 </ecom:OrderDetails>
157 <ecom:apikey></ecom:apikey>
158 </ecom:Encrypt>
159 </soapenv:Body>
160</soapenv:Envelope>
iFrame
Verificare SOAP Encrypt - online pagam example, dopodiché procedere con js sul flow dell'integrazione iFrame.
payment/create
1{
2 "shopLogin":"GESPAY00001",
3 "amount":"1251",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "clientIP":"213.218.53.171",
7 "OrderDetails":
8 {
9 "FraudPrevention": {
10 "SubmitForReview": "1",
11 "Source": "web",
12 "SubmissionReason": "rule_decision",
13 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
14 },
15 "CustomerDetail": {
16 "MerchantCustomerID": "Buyer0711",
17 "FirstName": "Luther",
18 "Lastname": "Hargreeves",
19 "PrimaryEmail": "test@approve.com",
20 "CreatedAtDate": "2017-13-16 15:28",
21 "VerifiedEmail": "false"
22 },
23 "BillingAddress": {
24 "FirstName": "Eleanor",
25 "Lastname": "Shellstrop",
26 "StreetName": "Via dei Ponderanesi, 2",
27 "City": "Ponderano",
28 "ZipCode": "13875",
29 "State": "Biella",
30 "CountryCode": "IT",
31 "PrimaryPhone": "0152434640",
32 "StateCode": "BI"
33 },
34 "DiscountCodes": [{
35 "Amount": "121",
36 "Code": "Winter"
37 }
38 ],
39 "AccommodationDetails": [{
40 "City": "Berlin",
41 "CountryCode": "DE",
42 "Title": "Welcome Hotel BE",
43 "CheckInDate": "2021-11-20T14:00:00+2",
44 "CheckOutDate": "2021-11-22T14:00:00+2",
45 "ProductId": "DE714",
46 "Rating": "3",
47 "NumberOfGuests": "2",
48 "AccommodationType": "Hotel",
49 "RoomType": "Double",
50 "Price": "342",
51 "Quantity": "1",
52 "CancellationPolicy": "Non-Refundable"
53 }, {
54 "City": "Madrid",
55 "CountryCode": "ES",
56 "Title": "Welcome Hotel MD",
57 "CheckInDate": "2021-12-06T22:00:00+2",
58 "CheckOutDate": "2021-12-08T12:00:00+2",
59 "ProductId": "ES9411",
60 "Rating": "3",
61 "NumberOfGuests": "2",
62 "AccommodationType": "Hotel",
63 "RoomType": "Double Deluxe",
64 "Price": "200",
65 "Quantity": "1",
66 "CancellationPolicy": "Non-Refundable"
67 }
68 ],
69 "TravelTicketDetails": [{
70 "ArrivalCity": "Berlin",
71 "ArrivalCountryCode": "DE",
72 "ArrivalDate": "2021-10-24T06:00:00+2",
73 "ArrivalPortCode": "TXL",
74 "CarrierCode": "UA",
75 "CarrierName": "United Airlines",
76 "DepartureCity": "New-York",
77 "DepartureCountryCode": "US",
78 "DepartureDate": "2021-10-22T06:00:00-4",
79 "DeparturePortCode": "EWR",
80 "LegId": "UA0711",
81 "LegIndex": "1",
82 "RouteIndex": "1",
83 "TicketClass": "Economy",
84 "Price": "200",
85 "Quantity": "2",
86 "Title": "EWR-TXL"
87 }, {
88 "ArrivalCity": "Zurich",
89 "ArrivalCountryCode": "CH",
90 "ArrivalDate": "2021-12-06T04:00:00+2",
91 "ArrivalPortCode": "ZRH",
92 "CarrierCode": "LX",
93 "CarrierName": "SWISS",
94 "DepartureCity": "Berlin",
95 "DepartureCountryCode": "DE",
96 "DepartureDate": "2021-12-05T22:00:00+2",
97 "DeparturePortCode": "TXL",
98 "LegId": "LX1194",
99 "LegIndex": "1",
100 "RouteIndex": "2",
101 "TicketClass": "Economy",
102 "Price": "100",
103 "Quantity": "2",
104 "Title": "TXL-ZRH"
105 }, {
106 "ArrivalCity": "Madrid",
107 "ArrivalCountryCode": "ES",
108 "ArrivalDate": "2021-12-06T18:00:00+2",
109 "ArrivalPortCode": "MAD",
110 "CarrierCode": "IB",
111 "CarrierName": "Iberia",
112 "DepartureCity": "Zurich",
113 "DepartureCountryCode": "CH",
114 "DepartureDate": "2021-12-06T06:00:00+2",
115 "DeparturePortCode": "ZRH",
116 "LegId": "IB0794",
117 "LegIndex": "2",
118 "RouteIndex": "2",
119 "TicketClass": "Economy",
120 "Price": "100",
121 "Quantity": "2",
122 "Title": "ZRH-MAD"
123 }
124 ],
125 "PassengerDetails": [{
126 "FirstName": "Marty",
127 "LastName": "McFly",
128 "DateOfBirth": "1980-04-02",
129 "NationalityCode": "US",
130 "InsuranceType": "Silver",
131 "InsurancePrice": "30",
132 "PassengerType": "Adult"
133 }, {
134 "FirstName": "Emmett",
135 "LastName": "Brown",
136 "DateOfBirth": "1960-06-09",
137 "NationalityCode": "US",
138 "InsuranceType": "",
139 "InsurancePrice": "",
140 "PassengerType": "Senior"
141 }
142 ],
143 "ShippingLines": [{}]
144 }
145}
payment/submit
1 {
2 "shopLogin":"GESPAY00001",
3 "paymentTypeDetails":{
4 "creditcard":{
5 "number":"4775718800002026",
6 "token":"",
7 "expMonth":"05",
8 "expYear":"27",
9 "CVV":"390",
10 "requestToken":"",
11 "DCC": ""
12 }
13 },
14 "responseURLs":{
15 "buyerOK":"",
16 "buyerKO":"",
17 "serverNotificationURL":""
18 }
19}
Fabrick Pay by Link
1 {
2 "shopLogin":"GESPAY00001",
3 "amount":"1251",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "buyerEmail": "buyer@axerve.test.com",
7 "paymentChannel":{
8 "channelType":["EMAIL"]
9 },
10 "OrderDetails":
11 {
12 "FraudPrevention": {
13 "SubmitForReview": "1",
14 "Source": "web",
15 "SubmissionReason": "rule_decision",
16 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
17 },
18 "CustomerDetail": {
19 "MerchantCustomerID": "Buyer0711",
20 "FirstName": "Luther",
21 "Lastname": "Hargreeves",
22 "PrimaryEmail": "test@approve.com",
23 "CreatedAtDate": "2017-13-16 15:28",
24 "VerifiedEmail": "false"
25 },
26 "BillingAddress": {
27 "FirstName": "Eleanor",
28 "Lastname": "Shellstrop",
29 "StreetName": "Via dei Ponderanesi, 2",
30 "City": "Ponderano",
31 "ZipCode": "13875",
32 "State": "Biella",
33 "CountryCode": "IT",
34 "PrimaryPhone": "0152434640",
35 "StateCode": "BI"
36 },
37 "DiscountCodes": [{
38 "Amount": "121",
39 "Code": "Winter"
40 }
41 ],
42 "AccommodationDetails": [{
43 "City": "Berlin",
44 "CountryCode": "DE",
45 "Title": "Welcome Hotel BE",
46 "CheckInDate": "2021-11-20T14:00:00+2",
47 "CheckOutDate": "2021-11-22T14:00:00+2",
48 "ProductId": "DE714",
49 "Rating": "3",
50 "NumberOfGuests": "2",
51 "AccommodationType": "Hotel",
52 "RoomType": "Double",
53 "Price": "342",
54 "Quantity": "1",
55 "CancellationPolicy": "Non-Refundable"
56 }, {
57 "City": "Madrid",
58 "CountryCode": "ES",
59 "Title": "Welcome Hotel MD",
60 "CheckInDate": "2021-12-06T22:00:00+2",
61 "CheckOutDate": "2021-12-08T12:00:00+2",
62 "ProductId": "ES9411",
63 "Rating": "3",
64 "NumberOfGuests": "2",
65 "AccommodationType": "Hotel",
66 "RoomType": "Double Deluxe",
67 "Price": "200",
68 "Quantity": "1",
69 "CancellationPolicy": "Non-Refundable"
70 }
71 ],
72 "TravelTicketDetails": [{
73 "ArrivalCity": "Berlin",
74 "ArrivalCountryCode": "DE",
75 "ArrivalDate": "2021-10-24T06:00:00+2",
76 "ArrivalPortCode": "TXL",
77 "CarrierCode": "UA",
78 "CarrierName": "United Airlines",
79 "DepartureCity": "New-York",
80 "DepartureCountryCode": "US",
81 "DepartureDate": "2021-10-22T06:00:00-4",
82 "DeparturePortCode": "EWR",
83 "LegId": "UA0711",
84 "LegIndex": "1",
85 "RouteIndex": "1",
86 "TicketClass": "Economy",
87 "Price": "200",
88 "Quantity": "2",
89 "Title": "EWR-TXL"
90 }, {
91 "ArrivalCity": "Zurich",
92 "ArrivalCountryCode": "CH",
93 "ArrivalDate": "2021-12-06T04:00:00+2",
94 "ArrivalPortCode": "ZRH",
95 "CarrierCode": "LX",
96 "CarrierName": "SWISS",
97 "DepartureCity": "Berlin",
98 "DepartureCountryCode": "DE",
99 "DepartureDate": "2021-12-05T22:00:00+2",
100 "DeparturePortCode": "TXL",
101 "LegId": "LX1194",
102 "LegIndex": "1",
103 "RouteIndex": "2",
104 "TicketClass": "Economy",
105 "Price": "100",
106 "Quantity": "2",
107 "Title": "TXL-ZRH"
108 }, {
109 "ArrivalCity": "Madrid",
110 "ArrivalCountryCode": "ES",
111 "ArrivalDate": "2021-12-06T18:00:00+2",
112 "ArrivalPortCode": "MAD",
113 "CarrierCode": "IB",
114 "CarrierName": "Iberia",
115 "DepartureCity": "Zurich",
116 "DepartureCountryCode": "CH",
117 "DepartureDate": "2021-12-06T06:00:00+2",
118 "DeparturePortCode": "ZRH",
119 "LegId": "IB0794",
120 "LegIndex": "2",
121 "RouteIndex": "2",
122 "TicketClass": "Economy",
123 "Price": "100",
124 "Quantity": "2",
125 "Title": "ZRH-MAD"
126 }
127 ],
128 "PassengerDetails": [{
129 "FirstName": "Marty",
130 "LastName": "McFly",
131 "DateOfBirth": "1980-04-02",
132 "NationalityCode": "US",
133 "InsuranceType": "Silver",
134 "InsurancePrice": "30",
135 "PassengerType": "Adult"
136 }, {
137 "FirstName": "Emmett",
138 "LastName": "Brown",
139 "DateOfBirth": "1960-06-09",
140 "NationalityCode": "US",
141 "InsuranceType": "",
142 "InsurancePrice": "",
143 "PassengerType": "Senior"
144 }
145 ],
146 "ShippingLines": [{}]
147 }
148}
Lightbox
1 {
2 "shopLogin":"GESPAY00001",
3 "amount":"1251",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "OrderDetails":
7 {
8 "FraudPrevention": {
9 "SubmitForReview": "1",
10 "Source": "web",
11 "SubmissionReason": "rule_decision",
12 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
13 },
14 "CustomerDetail": {
15 "MerchantCustomerID": "Buyer0711",
16 "FirstName": "Luther",
17 "Lastname": "Hargreeves",
18 "PrimaryEmail": "test@approve.com",
19 "CreatedAtDate": "2017-13-16 15:28",
20 "VerifiedEmail": "false"
21 },
22 "BillingAddress": {
23 "FirstName": "Eleanor",
24 "Lastname": "Shellstrop",
25 "StreetName": "Via dei Ponderanesi, 2",
26 "City": "Ponderano",
27 "ZipCode": "13875",
28 "State": "Biella",
29 "CountryCode": "IT",
30 "PrimaryPhone": "0152434640",
31 "StateCode": "BI"
32 },
33 "DiscountCodes": [{
34 "Amount": "121",
35 "Code": "Winter"
36 }
37 ],
38 "AccommodationDetails": [{
39 "City": "Berlin",
40 "CountryCode": "DE",
41 "Title": "Welcome Hotel BE",
42 "CheckInDate": "2021-11-20T14:00:00+2",
43 "CheckOutDate": "2021-11-22T14:00:00+2",
44 "ProductId": "DE714",
45 "Rating": "3",
46 "NumberOfGuests": "2",
47 "AccommodationType": "Hotel",
48 "RoomType": "Double",
49 "Price": "342",
50 "Quantity": "1",
51 "CancellationPolicy": "Non-Refundable"
52 }, {
53 "City": "Madrid",
54 "CountryCode": "ES",
55 "Title": "Welcome Hotel MD",
56 "CheckInDate": "2021-12-06T22:00:00+2",
57 "CheckOutDate": "2021-12-08T12:00:00+2",
58 "ProductId": "ES9411",
59 "Rating": "3",
60 "NumberOfGuests": "2",
61 "AccommodationType": "Hotel",
62 "RoomType": "Double Deluxe",
63 "Price": "200",
64 "Quantity": "1",
65 "CancellationPolicy": "Non-Refundable"
66 }
67 ],
68 "TravelTicketDetails": [{
69 "ArrivalCity": "Berlin",
70 "ArrivalCountryCode": "DE",
71 "ArrivalDate": "2021-10-24T06:00:00+2",
72 "ArrivalPortCode": "TXL",
73 "CarrierCode": "UA",
74 "CarrierName": "United Airlines",
75 "DepartureCity": "New-York",
76 "DepartureCountryCode": "US",
77 "DepartureDate": "2021-10-22T06:00:00-4",
78 "DeparturePortCode": "EWR",
79 "LegId": "UA0711",
80 "LegIndex": "1",
81 "RouteIndex": "1",
82 "TicketClass": "Economy",
83 "Price": "200",
84 "Quantity": "2",
85 "Title": "EWR-TXL"
86 }, {
87 "ArrivalCity": "Zurich",
88 "ArrivalCountryCode": "CH",
89 "ArrivalDate": "2021-12-06T04:00:00+2",
90 "ArrivalPortCode": "ZRH",
91 "CarrierCode": "LX",
92 "CarrierName": "SWISS",
93 "DepartureCity": "Berlin",
94 "DepartureCountryCode": "DE",
95 "DepartureDate": "2021-12-05T22:00:00+2",
96 "DeparturePortCode": "TXL",
97 "LegId": "LX1194",
98 "LegIndex": "1",
99 "RouteIndex": "2",
100 "TicketClass": "Economy",
101 "Price": "100",
102 "Quantity": "2",
103 "Title": "TXL-ZRH"
104 }, {
105 "ArrivalCity": "Madrid",
106 "ArrivalCountryCode": "ES",
107 "ArrivalDate": "2021-12-06T18:00:00+2",
108 "ArrivalPortCode": "MAD",
109 "CarrierCode": "IB",
110 "CarrierName": "Iberia",
111 "DepartureCity": "Zurich",
112 "DepartureCountryCode": "CH",
113 "DepartureDate": "2021-12-06T06:00:00+2",
114 "DeparturePortCode": "ZRH",
115 "LegId": "IB0794",
116 "LegIndex": "2",
117 "RouteIndex": "2",
118 "TicketClass": "Economy",
119 "Price": "100",
120 "Quantity": "2",
121 "Title": "ZRH-MAD"
122 }
123 ],
124 "PassengerDetails": [{
125 "FirstName": "Marty",
126 "LastName": "McFly",
127 "DateOfBirth": "1980-04-02",
128 "NationalityCode": "US",
129 "InsuranceType": "Silver",
130 "InsurancePrice": "30",
131 "PassengerType": "Adult"
132 }, {
133 "FirstName": "Emmett",
134 "LastName": "Brown",
135 "DateOfBirth": "1960-06-09",
136 "NationalityCode": "US",
137 "InsuranceType": "",
138 "InsurancePrice": "",
139 "PassengerType": "Senior"
140 }
141 ],
142 "ShippingLines": [{}]
143 }
144}
Dopodiché procedere con l'integrazione di Lightbox.
callPagamS2S
1<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomms2s.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:callPagamS2S>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>5</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <ecom:cardNumber>4775718800002026</ecom:cardNumber>
10 <ecom:expiryMonth>05</ecom:expiryMonth>
11 <ecom:expiryYear>27</ecom:expiryYear>
12 <ecom:cvv>390</ecom:cvv>
13 <ecom:clientIP>213.218.53.171</ecom:clientIP>
14 <!-- https://api.gestpay.it/#orderdetails :-->
15 <ecom:OrderDetails>
16 <ecom:FraudPrevention>
17 <ecom:SubmitForReview>1</ecom:SubmitForReview>
18 <ecom:Source>web</ecom:Source>
19 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
20 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
21 </ecom:FraudPrevention>
22 <ecom:CustomerDetail>
23 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
24 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
25 <ecom:FirstName>Luther</ecom:FirstName>
26 <ecom:Lastname>Hargreeves</ecom:Lastname>
27 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
28 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
29 </ecom:CustomerDetail>
30 <ecom:BillingAddress>
31 <ecom:FirstName>Eleanor</ecom:FirstName>
32 <ecom:Lastname>Shellstrop</ecom:Lastname>
33 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
34 <ecom:CountryCode>IT</ecom:CountryCode>
35 <ecom:PrimaryPhone>0152434640</ecom:PrimaryPhone>
36 <ecom:City>Ponderano</ecom:City>
37 <ecom:State>Biella</ecom:State>
38 <ecom:StateCode>BI</ecom:StateCode>
39 <ecom:ZipCode>13875</ecom:ZipCode>
40 </ecom:BillingAddress>
41 <ecom:ProductDetails>
42 <ecom:ProductDetail>
43 <ecom:ProductCode>79411</ecom:ProductCode>
44 <ecom:SKU>411SK</ecom:SKU>
45 <ecom:Name>5 Eur Donation</ecom:Name>
46 <ecom:Quantity>1</ecom:Quantity>
47 <ecom:Price>5</ecom:Price>
48 <ecom:Type>digital</ecom:Type>
49 <ecom:RequiresShipping>false</ecom:RequiresShipping>
50 <ecom:Category>Single Donation</ecom:Category>
51 </ecom:ProductDetail>
52 </ecom:ProductDetails>
53 </ecom:OrderDetails>
54 <ecom:apikey></ecom:apikey>
55 </ecom:callPagamS2S>
56 </soapenv:Body>
57</soapenv:Envelope>
Encrypt
1 <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ecom="https://ecomm.sella.it/">
2 <soapenv:Header/>
3 <soapenv:Body>
4 <ecom:Encrypt>
5 <ecom:shopLogin>GESPAY00001</ecom:shopLogin>
6 <ecom:uicCode>242</ecom:uicCode>
7 <ecom:amount>5</ecom:amount>
8 <ecom:shopTransactionId>OrderID_001</ecom:shopTransactionId>
9 <!-- https://api.gestpay.it/#orderdetails :-->
10 <ecom:OrderDetails>
11 <ecom:FraudPrevention>
12 <ecom:SubmitForReview>1</ecom:SubmitForReview>
13 <ecom:Source>web</ecom:Source>
14 <ecom:SubmissionReason>rule_decision</ecom:SubmissionReason>
15 <ecom:BeaconSessionID>0ab076e5-632739d7-0f55cf66-a11ce4b7</ecom:BeaconSessionID>
16 </ecom:FraudPrevention>
17 <ecom:CustomerDetail>
18 <ecom:MerchantCustomerID>Buyer0711</ecom:MerchantCustomerID>
19 <ecom:CreatedAtDate>2017-13-16 15:28</ecom:CreatedAtDate>
20 <ecom:FirstName>Luther</ecom:FirstName>
21 <ecom:Lastname>Hargreeves</ecom:Lastname>
22 <ecom:PrimaryEmail>test@approve.com</ecom:PrimaryEmail>
23 <ecom:VerifiedEmail>false</ecom:VerifiedEmail>
24 </ecom:CustomerDetail>
25 <ecom:BillingAddress>
26 <ecom:FirstName>Eleanor</ecom:FirstName>
27 <ecom:Lastname>Shellstrop</ecom:Lastname>
28 <ecom:StreetName>Via dei Ponderanesi, 2</ecom:StreetName>
29 <ecom:CountryCode>IT</ecom:CountryCode>
30 <ecom:PrimaryPhone>0152434640</ecom:PrimaryPhone>
31 <ecom:City>Ponderano</ecom:City>
32 <ecom:State>Biella</ecom:State>
33 <ecom:StateCode>BI</ecom:StateCode>
34 <ecom:ZipCode>13875</ecom:ZipCode>
35 </ecom:BillingAddress>
36 <ecom:ProductDetails>
37 <ecom:ProductDetail>
38 <ecom:ProductCode>79411</ecom:ProductCode>
39 <ecom:SKU>411SK</ecom:SKU>
40 <ecom:Name>5 Eur Donation</ecom:Name>
41 <ecom:Quantity>1</ecom:Quantity>
42 <ecom:Price>5</ecom:Price>
43 <ecom:Type>digital</ecom:Type>
44 <ecom:RequiresShipping>false</ecom:RequiresShipping>
45 <ecom:Category>Single Donation</ecom:Category>
46 </ecom:ProductDetail>
47 </ecom:ProductDetails>
48 </ecom:OrderDetails>
49 <ecom:apikey></ecom:apikey>
50 </ecom:Encrypt>
51 </soapenv:Body>
52</soapenv:Envelope>
iFrame
Verificare SOAP Encrypt - online pagam example, dopodiché procedere con js sul flow dell'integrazione iFrame.
payment/create
1 {
2 "shopLogin":"GESPAY00001",
3 "amount":"5",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "clientIP":"213.218.53.171",
7 "OrderDetails":
8 {
9 "FraudPrevention": {
10 "SubmitForReview": "1",
11 "Source": "web",
12 "SubmissionReason": "rule_decision",
13 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
14 },
15 "CustomerDetail": {
16 "FirstName": "Luther",
17 "Lastname": "Hargreeves",
18 "PrimaryEmail": "test@approve.com",
19 "VerifiedEmail": "false",
20 "MerchantCustomerID": "Buyer0711",
21 "CreatedAtDate": "2017-13-16 15:28"
22 },
23 "BillingAddress": {
24 "FirstName": "Eleanor",
25 "Lastname": "Shellstrop",
26 "StreetName": "Via dei Ponderanesi, 2",
27 "CountryCode": "IT",
28 "State": "Biella",
29 "StateCode": "BI",
30 "City": "Ponderano",
31 "ZipCode": "13875",
32 "PrimaryPhone": "0152434640"
33 },
34 "ProductDetails": [
35 {
36 "ProductCode": "79411",
37 "SKU": "411SK",
38 "Name": "5 Eur Donation",
39 "Quantity": "1",
40 "Price": "5",
41 "Type": "digital",
42 "RequiresShipping": "false",
43 "Category": "Single Donation"
44 }
45 ],
46 "ShippingLines": [{}],
47 "DiscountCodes": [{}]
48 }
49}
payment/submit
1 {
2 "shopLogin":"GESPAY00001",
3 "paymentTypeDetails":{
4 "creditcard":{
5 "number":"4775718800002026",
6 "token":"",
7 "expMonth":"05",
8 "expYear":"27",
9 "CVV":"390",
10 "requestToken":"",
11 "DCC": ""
12 }
13 },
14 "responseURLs":{
15 "buyerOK":"",
16 "buyerKO":"",
17 "serverNotificationURL":""
18 }
19}
Fabrick Pay by Link
1 {
2 "shopLogin":"GESPAY00001",
3 "amount":"5",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "buyerEmail": "buyer@axerve.test.com",
7 "paymentChannel":{
8 "channelType":["EMAIL"]
9 },
10 "OrderDetails":
11 {
12 "FraudPrevention": {
13 "SubmitForReview": "1",
14 "Source": "web",
15 "SubmissionReason": "rule_decision",
16 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
17 },
18 "CustomerDetail": {
19 "FirstName": "Luther",
20 "Lastname": "Hargreeves",
21 "PrimaryEmail": "test@approve.com",
22 "VerifiedEmail": "false",
23 "MerchantCustomerID": "Buyer0711",
24 "CreatedAtDate": "2017-13-16 15:28"
25 },
26 "BillingAddress": {
27 "FirstName": "Eleanor",
28 "Lastname": "Shellstrop",
29 "StreetName": "Via dei Ponderanesi, 2",
30 "CountryCode": "IT",
31 "State": "Biella",
32 "StateCode": "BI",
33 "City": "Ponderano",
34 "ZipCode": "13875",
35 "PrimaryPhone": "0152434640"
36 },
37 "ProductDetails": [
38 {
39 "ProductCode": "79411",
40 "SKU": "411SK",
41 "Name": "5 Eur Donation",
42 "Quantity": "1",
43 "Price": "5",
44 "Type": "digital",
45 "RequiresShipping": "false",
46 "Category": "Single Donation"
47 }
48 ],
49 "ShippingLines": [{}],
50 "DiscountCodes": [{}]
51 }
52}
Lightbox
1{
2 "shopLogin":"GESPAY00001",
3 "amount":"5",
4 "currency":"EUR",
5 "shopTransactionID":"OrderID_001",
6 "OrderDetails":
7 {
8 "FraudPrevention": {
9 "SubmitForReview": "1",
10 "Source": "web",
11 "SubmissionReason": "rule_decision",
12 "BeaconSessionID": "0ab076e5-632739d7-0f55cf66-a11ce4b7"
13 },
14 "CustomerDetail": {
15 "FirstName": "Luther",
16 "Lastname": "Hargreeves",
17 "PrimaryEmail": "test@approve.com",
18 "VerifiedEmail": "false",
19 "MerchantCustomerID": "Buyer0711",
20 "CreatedAtDate": "2017-13-16 15:28"
21 },
22 "BillingAddress": {
23 "FirstName": "Eleanor",
24 "Lastname": "Shellstrop",
25 "StreetName": "Via dei Ponderanesi, 2",
26 "CountryCode": "IT",
27 "State": "Biella",
28 "StateCode": "BI",
29 "City": "Ponderano",
30 "ZipCode": "13875",
31 "PrimaryPhone": "0152434640"
32 },
33 "ProductDetails": [
34 {
35 "ProductCode": "79411",
36 "SKU": "411SK",
37 "Name": "5 Eur Donation",
38 "Quantity": "1",
39 "Price": "5",
40 "Type": "digital",
41 "RequiresShipping": "false",
42 "Category": "Single Donation"
43 }
44 ],
45 "ShippingLines": [{}],
46 "DiscountCodes": [{}]
47 }
48}
Dopodiché procedere con l'integrazione di Lightbox.