<?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>thread Re: Flutter Apple pay error production_simulator in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/169106#M93781</link>
    <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/203736"&gt;@adia&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to our API team on this one and they said&amp;nbsp;as far as they know- you do not need to load a sandbox apple pay CSR - it should just be a regular production CSR on Apple Pay’s developer portal, and as long as you use Square's sandbox application ID, it won’t be charged.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 06 May 2020 14:40:21 GMT</pubDate>
    <dc:creator>ashc</dc:creator>
    <dc:date>2020-05-06T14:40:21Z</dc:date>
    <item>
      <title>Flutter Apple pay error production_simulator</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/168165#M93780</link>
      <description>&lt;P&gt;I was working to integrate Apply pay. It loads just fine but when I try to process the payment it fails.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I generated a CSR using the sandbox Apple Pay and loaded it correctly to the Apple developer program Merchant ID. I confirmed I'm using my &lt;STRONG&gt;sandbox&lt;/STRONG&gt; application ID. All other transactions go through for me (credit cards and Google pay) to the sandbox. Just not working for apply pay.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;LI-CODE lang="markup"&gt;ErrorInfo {
  code=usageError,
  message=Something went wrong. Please contact the developer of this application and  provide them with this error code: production_simulator,
  debugCode=apple_pay_nonce_request_production_simulator,
  debugMessage=Apple Pay cannot be used in the simulator with a production Square application ID. Please use a Square sandbox application ID or test Apple Pay on a physical device.,&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 May 2020 00:13:11 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/168165#M93780</guid>
      <dc:creator>adia</dc:creator>
      <dc:date>2020-05-04T00:13:11Z</dc:date>
    </item>
    <item>
      <title>Re: Flutter Apple pay error production_simulator</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/169106#M93781</link>
      <description>&lt;P&gt;Hey &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/203736"&gt;@adia&lt;/a&gt;,&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;I reached out to our API team on this one and they said&amp;nbsp;as far as they know- you do not need to load a sandbox apple pay CSR - it should just be a regular production CSR on Apple Pay’s developer portal, and as long as you use Square's sandbox application ID, it won’t be charged.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 14:40:21 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/169106#M93781</guid>
      <dc:creator>ashc</dc:creator>
      <dc:date>2020-05-06T14:40:21Z</dc:date>
    </item>
    <item>
      <title>Re: Flutter Apple pay error production_simulator</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/169317#M93782</link>
      <description>&lt;P&gt;I created a CSR from square for both sandbox and production both give me the same error in my initial question. I'm using the flutter Square In-app SDK. Maybe I need to post the issue on their public GitHub project?&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/square/in-app-payments-flutter-plugin/blob/master/doc/enable-applepay.md" target="_blank"&gt;https://github.com/square/in-app-payments-flutter-plugin/blob/master/doc/enable-applepay.md&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;These are the steps for Apply pay. Using google pay and Credit cards work fine.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;&lt;SPAN&gt;await &lt;/SPAN&gt;InAppPayments.&lt;SPAN&gt;setSquareApplicationId&lt;/SPAN&gt;(SANDBOX_APPLICATION_ID)&lt;SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;await &lt;/SPAN&gt;InAppPayments.&lt;SPAN&gt;initializeApplePay&lt;/SPAN&gt;(MERCHANT_ID)&lt;SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;SPAN&gt;await &lt;/SPAN&gt;InAppPayments.&lt;SPAN&gt;requestApplePayNonce&lt;/SPAN&gt;(&lt;BR /&gt;    price: &lt;SPAN&gt;'1.00',&lt;BR /&gt;&lt;/SPAN&gt;    summaryLabel: &lt;SPAN&gt;'Cookie'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    countryCode: &lt;SPAN&gt;'US'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    currencyCode: &lt;SPAN&gt;'USD'&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    paymentType: ApplePayPaymentType.&lt;SPAN&gt;finalPayment&lt;/SPAN&gt;&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    onApplePayNonceRequestSuccess: _onApplePayNonceRequestSuccess&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    onApplePayNonceRequestFailure: _onApplePayNonceRequestFailure&lt;SPAN&gt;,&lt;BR /&gt;&lt;/SPAN&gt;    onApplePayComplete: _onApplePayEntryComplete)&lt;SPAN&gt;;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;PRE&gt;&lt;SPAN&gt;&lt;BR /&gt;ErrorInfo {&lt;BR /&gt;code=usageError,&lt;BR /&gt;message=Something went wrong. Please contact the developer of this application and provide them with this error code: production_simulator,&lt;BR /&gt;debugCode=apple_pay_nonce_request_production_simulator,&lt;BR /&gt;debugMessage=Apple Pay cannot be used in the simulator with a production Square application ID. Please use a Square sandbox application ID or test Apple Pay on a physical device.&lt;/SPAN&gt;&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 06 May 2020 21:09:41 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/Flutter-Apple-pay-error-production-simulator/m-p/169317#M93782</guid>
      <dc:creator>adia</dc:creator>
      <dc:date>2020-05-06T21:09:41Z</dc:date>
    </item>
  </channel>
</rss>

