<?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 Re: Google Pay for the web integration with Authorize.net problem in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71462#M43997</link>
    <description>&lt;P&gt;We don't have an App.&amp;nbsp;&amp;nbsp; We have a web site our CEO wants us to integrate Google Pay into.&amp;nbsp; To keep confusion down with canceling transactions, we'd perfer to push everything through Auth.Net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;matchbx&lt;/P&gt;</description>
    <pubDate>Wed, 08 Apr 2020 13:11:18 GMT</pubDate>
    <dc:creator>matchbx</dc:creator>
    <dc:date>2020-04-08T13:11:18Z</dc:date>
    <item>
      <title>Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/69476#M42486</link>
      <description>&lt;P&gt;Hello guys,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Recently (well not really recently) Android Pay has been replaced with Google Pay,&lt;/P&gt;&lt;P&gt;and its documentation AND javascript API has changed (and previous doumentation is not available anywhere).&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to implement Google Pay "for the web" integration, meaning I will not use any Android SDKs, but a simple Google Pay integration for my ecommerce online store.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I followed up everything written on this page:&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://developer.authorize.net/api/reference/features/in-app.html#Google_Pay" target="_blank"&gt;https://developer.authorize.net/api/reference/features/in-app.html#Google_Pay&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;and it all works fine until the last step:&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;let token = paymentData.paymentMethodToken.token;
var enc = window.btoa(token);
			&lt;/PRE&gt;&lt;P&gt;Currently, there is no&amp;nbsp;paymentMethodToken at all in Google Pay. I guess the reference is to API v1 and recent API is v2. So instead, they changed it to be&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;paymentToken = paymentData.paymentMethodData.tokenizationData.token;&lt;/PRE&gt;&lt;P&gt;which also seem to work, and even returns some kind of a valid token (a json object with lots of data and keys).&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Finally, when I try to&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;var enc = window.btoa(paymentToken);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;and send it to Authorize.net&amp;nbsp;&lt;SPAN&gt;createTransactionRequest, it fails with the error:&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Payment failed: [153] There was an error processing the payment data. Unable to decrypt data.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Apparently, it seems that the token itself has changed (or maybe I am wrong), but the Authorize is not capable to decrypt this kind of token from the V2 API of Google Pay.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Lastly, there is no example from Authorize on how to properly use the token for the web (example is only available for Android), while it is available for Apple Pay for the web which works great.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any help would be much appreciated!&amp;nbsp;&lt;/P&gt;&lt;P&gt;Has anyone tried to integrate Google Pay for the web with Authorize?&lt;/P&gt;&lt;P&gt;Has anyone succeeded in accepting payments via Google Pay using Authorize on a simple website?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;</description>
      <pubDate>Tue, 22 Oct 2019 15:43:03 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/69476#M42486</guid>
      <dc:creator>abbatweb</dc:creator>
      <dc:date>2019-10-22T15:43:03Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71444#M43983</link>
      <description>&lt;P&gt;I agree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;let token = paymentData.paymentMethodToken.token;
var enc = window.btoa(token);&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This section of code is very confusing.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;did you ever manage to get this working?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;matchbx&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 00:26:33 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71444#M43983</guid>
      <dc:creator>matchbx</dc:creator>
      <dc:date>2020-04-08T00:26:33Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71448#M43986</link>
      <description>&lt;P data-unlink="true"&gt;Hi, I have always used Google pay via app and not tried anthing else so I wont be able to help ypu but I would suggest you to do the payment thru app itself, it is much easire. Hope your issue is solved by now also I am Oliver, just joined the community, I am working on a project related to frieght management solution.&amp;nbsp;&amp;nbsp;&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;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&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;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:11:25 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71448#M43986</guid>
      <dc:creator>OliverM</dc:creator>
      <dc:date>2022-08-11T15:11:25Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71462#M43997</link>
      <description>&lt;P&gt;We don't have an App.&amp;nbsp;&amp;nbsp; We have a web site our CEO wants us to integrate Google Pay into.&amp;nbsp; To keep confusion down with canceling transactions, we'd perfer to push everything through Auth.Net.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;matchbx&lt;/P&gt;</description>
      <pubDate>Wed, 08 Apr 2020 13:11:18 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/71462#M43997</guid>
      <dc:creator>matchbx</dc:creator>
      <dc:date>2020-04-08T13:11:18Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/75151#M46820</link>
      <description>&lt;P&gt;Me too. I goi same the issue. Look like authorizenet not support google pay&lt;/P&gt;</description>
      <pubDate>Fri, 26 Feb 2021 04:13:15 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/75151#M46820</guid>
      <dc:creator>lenguyenitc91</dc:creator>
      <dc:date>2021-02-26T04:13:15Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/75351#M46972</link>
      <description>&lt;P data-unlink="true"&gt;yes in these days so many people are facing the similar type of issue that you shared in the post but you know about the right things like takingguide&amp;nbsp; from the websites that are servicing for this solution.&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:14:21 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/75351#M46972</guid>
      <dc:creator>farel354</dc:creator>
      <dc:date>2022-08-11T15:14:21Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77420#M48508</link>
      <description>&lt;P&gt;Apparently, it seems that the token itself has changed (or maybe I am wrong), but the Authorize is not capable to decrypt this kind of token from the V2 API of Google Pay.&amp;nbsp;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://www.dumpsleader.com/PT0-001-exam-dumps.html" target="_self"&gt;https://www.dumpsleader.com/PT0-001-exam-dumps.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 06:41:48 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77420#M48508</guid>
      <dc:creator>Benstoke</dc:creator>
      <dc:date>2021-07-17T06:41:48Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77421#M48509</link>
      <description>&lt;P&gt;I have the same issue. Any tips for solution?&lt;/P&gt;</description>
      <pubDate>Sat, 17 Jul 2021 07:57:51 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77421#M48509</guid>
      <dc:creator>paulmicky57</dc:creator>
      <dc:date>2021-07-17T07:57:51Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77550#M48611</link>
      <description>&lt;P&gt;any update on the issue ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 11 Aug 2022 15:14:53 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/77550#M48611</guid>
      <dc:creator>paulmicky57</dc:creator>
      <dc:date>2022-08-11T15:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/88254#M55603</link>
      <description>&lt;P&gt;I managed to submit a successful transaction.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need the specification to look like this:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;var tokenizationSpecification = {
  type: 'PAYMENT_GATEWAY',
  parameters: {
    'gateway': 'authorizenet',
    'gatewayMerchantId': '[GatewayID from AuthNET]'
  }
};&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The gateway ID can be obtained from here:&lt;BR /&gt;&lt;A class="" href="https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-merchant-details" target="_blank" rel="noopener noreferrer"&gt;https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-merchant-details&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV class=""&gt;And from the transaction, you need to get the paymentToken and base64 encode it:&lt;/DIV&gt;&lt;PRE&gt;var paymentToken = paymentData.paymentMethodData.tokenizationData.token;
var encodedToken = btoa(paymentToken);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;and send the encodedToken to the API.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 16:02:49 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/88254#M55603</guid>
      <dc:creator>kr1skyyy</dc:creator>
      <dc:date>2023-12-08T16:02:49Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/88255#M55604</link>
      <description>&lt;P&gt;I made a successful transaction.&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;You need the specification to look like this:&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;var tokenizationSpecification = {
  type: 'PAYMENT_GATEWAY',
  parameters: {
    'gateway': 'authorizenet',
    'gatewayMerchantId': '[GatewayID from AuthNET]'
  }
};&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;The gateway ID can be obtained from here:&lt;BR /&gt;&lt;A class="" href="https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-merchant-details" target="_blank" rel="noopener noreferrer"&gt;https://developer.authorize.net/api/reference/index.html#transaction-reporting-get-merchant-details&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;And from the transaction, you need to get the paymentToken and base64 encode it:&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;PRE&gt;var paymentToken = paymentData.paymentMethodData.tokenizationData.token;
var encodedToken = btoa(paymentToken);&lt;/PRE&gt;&lt;P&gt;&lt;SPAN&gt;and send the encodedToken to the API.&lt;BR /&gt;&lt;BR /&gt;&lt;/SPAN&gt;I hope this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 08 Dec 2023 16:07:06 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/88255#M55604</guid>
      <dc:creator>kr1skyyy</dc:creator>
      <dc:date>2023-12-08T16:07:06Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/89052#M56123</link>
      <description>&lt;P&gt;Thanks for the reply&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/66442"&gt;@kr1skyyy&lt;/a&gt;&amp;nbsp; - I'm wading through the docs and SDKs looking for clues on where to actually PUT the token when it is received back from Apple or Google.&amp;nbsp; Been testing with the PHP versions of the SOAP and REST kits, and have had back and forth with support to no avail.&lt;BR /&gt;&lt;BR /&gt;So:&lt;BR /&gt;&lt;BR /&gt;When assembling the package - either using the SOAP or REST kits - where does the encodedToken go?&lt;BR /&gt;Have taken a walk through the published WSDL and have looked through each example/sample...almost all of which have the 'plain text' PAN and no reference to the token, fluid, or other field.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cheers...mr_al&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 21 Mar 2024 05:26:36 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/89052#M56123</guid>
      <dc:creator>mr_al</dc:creator>
      <dc:date>2024-03-21T05:26:36Z</dc:date>
    </item>
    <item>
      <title>Re: Google Pay for the web integration with Authorize.net problem</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/89126#M56170</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.developer.cybersource.com/t5/user/viewprofilepage/user-id/67309"&gt;@mr_al&lt;/a&gt;,&lt;BR /&gt;&lt;BR /&gt;I used the live API console to test the token that I got from the front end:&lt;BR /&gt;&lt;BR /&gt;&lt;A href="https://developer.authorize.net/api/reference/index.html#mobile-in-app-transactions-create-a-google-pay-transaction" target="_blank" rel="noopener"&gt;https://developer.authorize.net/api/reference/index.html#mobile-in-app-transactions-create-a-google-pay-transaction&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;In order to use the API Console, you have to log in first. Scroll to the top of the page above and find this section:&lt;BR /&gt;&lt;A href="https://imgur.com/a/JGnQQJu" target="_blank" rel="noopener"&gt;https://imgur.com/a/JGnQQJu&lt;/A&gt;.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;&lt;P&gt;Then edit the example request and fill the&amp;nbsp;&lt;SPAN&gt;dataValue field with the encodedToken.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 03 Apr 2024 12:49:40 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Google-Pay-for-the-web-integration-with-Authorize-net-problem/m-p/89126#M56170</guid>
      <dc:creator>kr1skyyy</dc:creator>
      <dc:date>2024-04-03T12:49:40Z</dc:date>
    </item>
  </channel>
</rss>

