<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Sandbox Worked Lastnight, and is now failing in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70358#M43193</link>
    <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So last night I was able to get the following code to work. Fast forward to today and I'm working on payment profiles, go to run my end to end tests, and now this that's been working fails. I rotated my transaction keys an hour ago to no avail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def init_app(self, flask_app):
        self.merchantAuth = apicontractsv1.merchantAuthenticationType()
        self.merchantAuth.name = flask_app.config['AUTHDOTNET_LOGIN_ID']
        self.merchantAuth.transactionKey = flask_app.config['AUTHDOTNET_TRANSACTION_KEY']
        self.validationMode = flask_app.config['AUTHDOTNET_VALIDATION_MODE']

def create_customer_profile(self, user: User):
        print(1)
        payment_profile = apicontractsv1.customerProfileType()
        payment_profile.email = user.email
        payment_profile.description = user.get_full_name()
        print(2)
        request = apicontractsv1.createCustomerProfileRequest()
        request.merchantAuthentication = self.merchantAuth
        request.payment_profile = payment_profile
        print(3)
        controller = apicontrollers.createCustomerProfileController(request)
        controller.execute()

        print(4)
        response = controller.getresponse()&lt;/PRE&gt;&lt;P&gt;It "prints" to 3 so is failing on the profile controller instantiation and outputs the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(
  &amp;lt;authorizenet.apicontractsv1.CTD_ANON_36 object at 0x7f6ba607e1d0&amp;gt;, 
  &amp;lt;pyxb.utils.fac.Configuration object at 0x7f6ba607e710&amp;gt;, 
  [
    &amp;lt;pyxb.binding.basis.ElementContent object at 0x7f6ba607e748&amp;gt;, 
    &amp;lt;pyxb.binding.basis.ElementContent object at 0x7f6ba607e780&amp;gt;
  ],
{})&lt;/PRE&gt;&lt;P&gt;The call to create_customer_profile is wrapped in a try ... except block, and nothing is getting raised from the SDK even in a blanket &lt;STRONG&gt;&lt;EM&gt;except:&lt;/EM&gt;&lt;/STRONG&gt; statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 14 Jan 2020 22:14:08 GMT</pubDate>
    <dc:creator>Yetzederixx</dc:creator>
    <dc:date>2020-01-14T22:14:08Z</dc:date>
    <item>
      <title>Sandbox Worked Lastnight, and is now failing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70358#M43193</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So last night I was able to get the following code to work. Fast forward to today and I'm working on payment profiles, go to run my end to end tests, and now this that's been working fails. I rotated my transaction keys an hour ago to no avail.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;def init_app(self, flask_app):
        self.merchantAuth = apicontractsv1.merchantAuthenticationType()
        self.merchantAuth.name = flask_app.config['AUTHDOTNET_LOGIN_ID']
        self.merchantAuth.transactionKey = flask_app.config['AUTHDOTNET_TRANSACTION_KEY']
        self.validationMode = flask_app.config['AUTHDOTNET_VALIDATION_MODE']

def create_customer_profile(self, user: User):
        print(1)
        payment_profile = apicontractsv1.customerProfileType()
        payment_profile.email = user.email
        payment_profile.description = user.get_full_name()
        print(2)
        request = apicontractsv1.createCustomerProfileRequest()
        request.merchantAuthentication = self.merchantAuth
        request.payment_profile = payment_profile
        print(3)
        controller = apicontrollers.createCustomerProfileController(request)
        controller.execute()

        print(4)
        response = controller.getresponse()&lt;/PRE&gt;&lt;P&gt;It "prints" to 3 so is failing on the profile controller instantiation and outputs the following&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;(
  &amp;lt;authorizenet.apicontractsv1.CTD_ANON_36 object at 0x7f6ba607e1d0&amp;gt;, 
  &amp;lt;pyxb.utils.fac.Configuration object at 0x7f6ba607e710&amp;gt;, 
  [
    &amp;lt;pyxb.binding.basis.ElementContent object at 0x7f6ba607e748&amp;gt;, 
    &amp;lt;pyxb.binding.basis.ElementContent object at 0x7f6ba607e780&amp;gt;
  ],
{})&lt;/PRE&gt;&lt;P&gt;The call to create_customer_profile is wrapped in a try ... except block, and nothing is getting raised from the SDK even in a blanket &lt;STRONG&gt;&lt;EM&gt;except:&lt;/EM&gt;&lt;/STRONG&gt; statement&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 22:14:08 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70358#M43193</guid>
      <dc:creator>Yetzederixx</dc:creator>
      <dc:date>2020-01-14T22:14:08Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox Worked Lastnight, and is now failing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70359#M43194</link>
      <description>&lt;P&gt;I'm working on Ubuntu 18.04 and apparently TLS 1.3&lt;BR /&gt;&lt;BR /&gt;Was some switch flipped last night perhaps?&lt;/P&gt;</description>
      <pubDate>Tue, 14 Jan 2020 22:15:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70359#M43194</guid>
      <dc:creator>Yetzederixx</dc:creator>
      <dc:date>2020-01-14T22:15:36Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox Worked Lastnight, and is now failing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70378#M43212</link>
      <description>&lt;P&gt;So the problem was me being lazy. I used VS Code to refactor a variable name and it was too aggressive, bleh.&lt;/P&gt;</description>
      <pubDate>Thu, 16 Jan 2020 15:22:09 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70378#M43212</guid>
      <dc:creator>Yetzederixx</dc:creator>
      <dc:date>2020-01-16T15:22:09Z</dc:date>
    </item>
    <item>
      <title>Re: Sandbox Worked Lastnight, and is now failing</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70626#M43399</link>
      <description>&lt;P&gt;Sandbox projects are great, but they don't always work &lt;A href="https://www.tellpopeyes.website" target="_self"&gt;&lt;FONT color="#333333"&gt;tellpopeyes&lt;/FONT&gt;&lt;/A&gt;&lt;FONT color="#333333"&gt;.&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 14 Feb 2020 06:57:19 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Sandbox-Worked-Lastnight-and-is-now-failing/m-p/70626#M43399</guid>
      <dc:creator>Frisbi3e</dc:creator>
      <dc:date>2020-02-14T06:57:19Z</dc:date>
    </item>
  </channel>
</rss>

