# EAAS-1986 ## Contexto Estamos fazendo uma investigação do fluxo de compras por cartão de crédito via Bluebird. A abordagem foi fazer o mesmo pedido via checkout e entender como pedidos de plano, cliente e forma de pagamento idênticos estão sendo processados de forma diferente dependendo da origem checkout2 x bluebird **Hipótese** * talvez faltem atributos para ficha convertida do bluebird ## Normandia **cliente** `robertonormandia` **ambiente** `sysint` ### Pedido CC via Checkout2 `5f1220d81c27401e28e7f2ad` ```xml <?xml version="1.0" encoding="utf-8"?> <order xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <parameters> <parameter key="periodo" value="1" /> <parameter key="google.adwords.conversion-id" value="1064869734" /> <parameter key="google.adwords.conversion-label" value="e8tjCOLhThDmvuL7Aw" /> <parameter key="google.analytics.product-name" value="RegistroDeDomínio" /> <parameter key="sales-monitoring" value="5ec7176ed8af9ba640b80f7d805fd8b4" /> <parameter key="domain-referer" value="Locaweb" /> <parameter key="register-bypass" value="true" /> </parameters> <currency>BRL</currency> <register-bypass>true</register-bypass> <oid>5f1220d81c27401e28e7f2ad</oid> <anti-fraud-items> <anti-fraud> <company>ClearSale</company> <fingerprint-id>032f6c8c-60c3-4d36-aba3-7ff748d39cc6-84404a47-8a6e-4e1b-84e3-3630a9062837-8d606bc9-aaae-4520-82be-3f766e2e4410-a70d7ff3-eb20-49d</fingerprint-id> </anti-fraud> <anti-fraud> <company>FControl</company> <fingerprint-id>5f1220d81c27401e28e7f2ad</fingerprint-id> </anti-fraud> </anti-fraud-items> <billing> <first-payment>CreditCard</first-payment> <recurring-payment>CreditCard</recurring-payment> <payment-condition xsi:nil="true" /> <boleto> <link /> <id /> <due-date xsi:nil="true" /> <amount>0.00</amount> <barcode /> </boleto> <charge-id>e10c3fb0-192c-4709-8a49-4c7073cde1c5</charge-id> <invoice-id>1000052998</invoice-id> <first-due-date xsi:nil="true" /> </billing> <payment-methods> <payment-method> <first>CREDIT_CARD</first> <recurring>CREDIT_CARD</recurring> </payment-method> <payment-method> <first>CREDIT_CARD</first> <recurring>BOLETO</recurring> </payment-method> <payment-method> <first>BOLETO</first> <recurring>BOLETO</recurring> </payment-method> </payment-methods> <payment-configuration> <setup-deadlines> <setup-deadline payment-method="CREDIT_CARD">1 dia útil</setup-deadline> <setup-deadline payment-method="BOLETO">1 dia útil</setup-deadline> <setup-deadline payment-method="DEBIT">1 dia útil</setup-deadline> </setup-deadlines> </payment-configuration> <customer locked="false"> <address> <city>Alguma</city> <state>BA</state> <postal-code>11111111</postal-code> <country>Brazil</country> <number>12</number> <address-line-1>Rua do roberto</address-line-1> </address> <subsidiary>locaweb</subsidiary> <login>robertonormandia</login> <subscription-date>2020-07-17T19:06:27.4143517-03:00</subscription-date> <natural-person> <name>Roberto Normandia</name> <rg>11111111111111</rg> <cpf>73733721047</cpf> <birthdate>1991-01-01T00:00:00</birthdate> </natural-person> <legal-person> <birthdate xsi:nil="true" /> </legal-person> <contact> <phone> <number>999999999</number> <area-code>99</area-code> <country-code>55</country-code> </phone> <main-email>jamil.custodio@locaweb.com.br</main-email> </contact> <language>pt-BR</language> <optin> <locaweb>true</locaweb> <partner>true</partner> </optin> <id>1100025376</id> <responsable-name>Roberto Normandia</responsable-name> </customer> <request-ip>186.202.104.199</request-ip> <finalization-date>2020-07-17T19:07:44.0868772-03:00</finalization-date> <coupon> <key /> <discount>0.00</discount> <valid>false</valid> <from-xml>false</from-xml> <recurrence>0</recurrence> <recurrent>0</recurrent> </coupon> <coupon-key /> <features> <feature fixed-periodicity="true" fixed-total-cost="36.9" contract="1" visible="true" optional="false"> <plan-id>58a93c2f-7103-410f-af81-6063b5214af0</plan-id> <service-id>f4e7b5a6-686a-4b3c-8014-27cec8d28132</service-id> <additional-features /> <type>SVNNMST0003</type> <periodicity>12</periodicity> <discount-disabled>false</discount-disabled> <quantity>1</quantity> <monthly-cost>6.91</monthly-cost> <subsidiary>locaweb</subsidiary> <periodicities /> <attributes> <attribute name="purchase_discount" value="46.00" /> <attribute name="domain_name" value="comprapelocktcardnorm220200717" /> <attribute name="domain_suffix" value="com" /> <attribute name="document" value="" /> <attribute name="registrar" value="enom" /> </attributes> <name>Registro de Domínio internacional &lt;br&gt;&lt;span style="font-weight:normal;font-size:14px"&gt;comprapelocktcardnorm220200717.com&lt;/span&gt;</name> </feature> </features> <total-features>1</total-features> <main-product-name id="0f9aa1be-eb1a-483a-ae04-edb13b6e8d69">Registro de Domínio</main-product-name> <contracts> <contract description="Registro de Domínio" href="https://sources.locaweb.com.br/site/contratos/contrato-registro-dominio.pdf" /> <contract description="Política de Privacidade de Dados" href="https://sources.locaweb.com.br/site/downloads/politica-de-privacidade-de-dados.pdf" /> </contracts> <language>pt-BR</language> <first-order>false</first-order> <status>FinalizedByCustomer</status> <priced-at xsi:nil="true" /> <use-anti-fraud>true</use-anti-fraud> <selected-installation-message>A instala&amp;ccedil;&amp;atilde;o ser&amp;aacute; feita em at&amp;eacute; 1 dia útil ap&amp;oacute;s a comprova&amp;ccedil;&amp;atilde;o autom&amp;aacute;tica do pagamento.</selected-installation-message> <new-customer>false</new-customer> <full-amount>36.90</full-amount> <client-ip>186.202.104.199</client-ip> <birthdate-enabled xsi:nil="true" /> </order> ``` ### Pedido CC via Bluebird `5f12012effd3662a4eab5180` ```xml <?xml version="1.0" encoding="utf-8"?> <order xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"> <parameters /> <currency>BRL</currency> <register-bypass>false</register-bypass> <origin>bluebird</origin> <oid>5f12012effd3662a4eab5180</oid> <anti-fraud-items /> <billing> <first-payment>CreditCard</first-payment> <recurring-payment>CreditCard</recurring-payment> <payment-condition xsi:nil="true" /> <boleto> <link /> <id /> <due-date xsi:nil="true" /> <amount>0.00</amount> <barcode /> </boleto> <charge-id>6d13bc36-76d8-4a21-90ed-cd49ce5a9281</charge-id> <invoice-id>1000052970</invoice-id> <first-due-date xsi:nil="true" /> </billing> <payment-methods> <payment-method /> <payment-method /> <payment-method /> <payment-method /> </payment-methods> <payment-configuration> <setup-deadlines> <setup-deadline payment-method="BOLETO">1 dia útil</setup-deadline> <setup-deadline payment-method="CREDIT_CARD">1 hora</setup-deadline> </setup-deadlines> </payment-configuration> <customer locked="false"> <address /> <login>robertonormandia</login> <subscription-date>2020-07-17T16:52:32.1291095-03:00</subscription-date> <natural-person> <name /> <rg /> <cpf /> <birthdate xsi:nil="true" /> </natural-person> <legal-person> <birthdate xsi:nil="true" /> </legal-person> <contact> <phone> <number /> <area-code /> <country-code /> </phone> <main-email /> <secondary-email /> </contact> <language>pt-BR</language> <optin> <locaweb>true</locaweb> <partner>true</partner> </optin> <id>1100025376</id> <responsable-name /> </customer> <request-ip /> <finalization-date>2020-07-17T16:51:30.068101</finalization-date> <coupon> <key /> <discount>0.00</discount> <valid>false</valid> <from-xml>false</from-xml> <recurrence>0</recurrence> <recurrent>0</recurrent> </coupon> <coupon-key /> <features> <feature fixed-periodicity="true" fixed-total-cost="36.9" contract="1" visible="true" optional="false"> <price-list-id>be264dee-a2ff-4814-912c-dab433e310d9</price-list-id> <plan-id>58a93c2f-7103-410f-af81-6063b5214af0</plan-id> <service-id>f4e7b5a6-686a-4b3c-8014-27cec8d28132</service-id> <additional-features /> <type>SVNNMST0003</type> <periodicity>12</periodicity> <discount-disabled>false</discount-disabled> <quantity>1</quantity> <monthly-cost>3.07</monthly-cost> <subsidiary>locaweb</subsidiary> <periodicities /> <attributes> <attribute name="domain_name" value="comprapelobbcardnorm220200717" /> <attribute name="domain_suffix" value="com" /> <attribute name="document" value="69977846154" /> <attribute name="registrar" value="enom" /> <attribute name="purchase_discount" value="46.0" /> </attributes> <name>Registro de domínio internacional</name> </feature> </features> <total-features>1</total-features> <main-product-name id="0f9aa1be-eb1a-483a-ae04-edb13b6e8d69" /> <contracts> <contract description="" href="" /> </contracts> <indicated-login /> <language>pt-BR</language> <first-order>false</first-order> <status>Created</status> <priced-at xsi:nil="true" /> <use-anti-fraud>true</use-anti-fraud> <selected-installation-message /> <new-customer>false</new-customer> <full-amount>36.90</full-amount> <birthdate-enabled xsi:nil="true" /> </order> ``` ## SYS2 **cliente** `robertoterrestre` **ambiente** `sysint` ### Pedido CC via Checkout 2 ```xml <?xml version="1.0" encoding="utf-8"?> <order xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <parameters> <parameter key="google.adwords.conversion-id" value="1064869734" /> <parameter key="google.adwords.conversion-label" value="oWm5CIj8chDmvuL7Aw" /> <parameter key="google.analytics.product-name" value="WebStore" /> <parameter key="register-bypass" value="true" /> </parameters> <currency>BRL</currency> <register-bypass>true</register-bypass> <oid>5f16f29ca16e300e80311095</oid> <anti-fraud-items> <anti-fraud> <company>ClearSale</company> <fingerprint-id>effd6968-6843-481a-b65a-a08d48adadc1-35c2477e-a550-41b4-ad87-82d9259595b6-0932b1c9-b060-433e-98a4-903e5f67d21b-c73ce120-c0a9-4ea</fingerprint-id> </anti-fraud> <anti-fraud> <company>FControl</company> <fingerprint-id>5f16f29ca16e300e80311095</fingerprint-id> </anti-fraud> </anti-fraud-items> <billing> <first-payment>CreditCard</first-payment> <recurring-payment>CreditCard</recurring-payment> <payment-condition xsi:nil="true" /> <boleto> <link /> <id /> <due-date xsi:nil="true" /> <amount>0.00</amount> <barcode /> </boleto> <charge-id>811e8613-e417-47b9-88a6-79e281c22653</charge-id> <first-due-date xsi:nil="true" /> </billing> <payment-methods /> <payment-configuration> <setup-deadlines> <setup-deadline payment-method="BOLETO">1 dia útil</setup-deadline> <setup-deadline payment-method="CREDIT_CARD">1 hora</setup-deadline> <setup-deadline payment-method="DEBIT">1 dia útil</setup-deadline> </setup-deadlines> </payment-configuration> <customer locked="false"> <address> <city>São Passo 3</city> <district>03176060</district> <state>SP</state> <postal-code>64207045</postal-code> <country>Brazil</country> <number>12</number> <address-line-1>rua roberto marinho</address-line-1> </address> <subsidiary>locaweb</subsidiary> <login>robertoterrestre</login> <subscription-date>2020-07-21T10:51:29.1959273-03:00</subscription-date> <natural-person> <name>Roberto terrestre</name> <rg>53259296077</rg> <cpf>53259296077</cpf> <birthdate>1990-05-12T00:00:00</birthdate> </natural-person> <legal-person> <birthdate xsi:nil="true" /> </legal-person> <contact> <phone> <number>95228777</number> <area-code>11</area-code> <country-code>55</country-code> </phone> <main-email>jamil.custodio@locaweb.com.br</main-email> </contact> <language>pt-BR</language> <optin> <locaweb>true</locaweb> <partner>true</partner> </optin> <id>1100023263</id> <responsable-name>Roberto terrestre</responsable-name> </customer> <request-ip>::1</request-ip> <finalization-date>2020-07-21T10:53:15.59832-03:00</finalization-date> <coupon> <key /> <discount>0.00</discount> <valid>false</valid> <from-xml>false</from-xml> <recurrence>0</recurrence> <recurrent>0</recurrent> </coupon> <coupon-key /> <features> <feature fixed-periodicity="true" visible="true" optional="false"> <additional-features /> <type>SVNWSTR0001</type> <periodicity>1</periodicity> <discount-disabled>false</discount-disabled> <quantity>1</quantity> <monthly-cost>49.00</monthly-cost> <subsidiary>locaweb</subsidiary> <periodicities /> <attributes> <attribute name="Identifier" value="Template" /> </attributes> <name>WebStore I</name> </feature> </features> <total-features>1</total-features> <main-product-name>WebStore</main-product-name> <contracts> <contract description="WebStore" href="http://assets.locaweb.com.br/site/contratos/contrato-webstore.pdf" /> </contracts> <language>pt-BR</language> <first-order>false</first-order> <status>FinalizedByCustomer</status> <priced-at xsi:nil="true" /> <use-anti-fraud>true</use-anti-fraud> <selected-installation-message>A instala&amp;ccedil;&amp;atilde;o ser&amp;aacute; feita em at&amp;eacute; 1 hora ap&amp;oacute;s a comprova&amp;ccedil;&amp;atilde;o autom&amp;aacute;tica do pagamento.</selected-installation-message> <new-customer>false</new-customer> <full-amount>49.00</full-amount> <client-ip>::1</client-ip> <birthdate-enabled xsi:nil="true" /> </order> ```