<?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 how i call createpaymentrequest method and which link set in path/to/payment/page using .net and js in Archived Discussions (Read Only)</title>
    <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/how-i-call-createpaymentrequest-method-and-which-link-set-in/m-p/96584#M39799</link>
    <description>&lt;P&gt;hii i have issue with using this squreup payment gateway please guide me for next steps&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;which link set in the place of action attribute of below form tag&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;form id="nonce-form" novalidate action="path/to/payment/processing/page" method="post"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how i call createpaymentrecuest after getting &lt;SPAN&gt;CardNonce from&amp;nbsp;&lt;/SPAN&gt;requestCardNonce&amp;nbsp;&lt;/P&gt;
&lt;P&gt;createPaymentRequest: function () {&lt;BR /&gt; var paymentRequestJson = {&lt;BR /&gt; requestShippingAddress: true,&lt;BR /&gt; requestBillingInfo: true,&lt;BR /&gt; shippingContact: {&lt;BR /&gt; familyName: "CUSTOMER LAST NAME",&lt;BR /&gt; givenName: "CUSTOMER FIRST NAME",&lt;BR /&gt; email: "mycustomer@example.com",&lt;BR /&gt; country: "USA",&lt;BR /&gt; region: "CA",&lt;BR /&gt; city: "San Francisco",&lt;BR /&gt; addressLines: [&lt;BR /&gt; "1455 Market St #600"&lt;BR /&gt; ],&lt;BR /&gt; postalCode: "94103",&lt;BR /&gt; phone: "14255551212"&lt;BR /&gt; },&lt;BR /&gt; currencyCode: "USD",&lt;BR /&gt; countryCode: "US",&lt;BR /&gt; total: {&lt;BR /&gt; label: "MERCHANT NAME",&lt;BR /&gt; amount: "85.00",&lt;BR /&gt; pending: false&lt;BR /&gt; },&lt;BR /&gt; lineItems: [&lt;BR /&gt; {&lt;BR /&gt; label: "Subtotal",&lt;BR /&gt; amount: "60.00",&lt;BR /&gt; pending: false&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; label: "Shipping",&lt;BR /&gt; amount: "19.50",&lt;BR /&gt; pending: true&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; label: "Tax",&lt;BR /&gt; amount: "5.50",&lt;BR /&gt; pending: false&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt; };&lt;BR /&gt; return paymentRequestJson;&lt;BR /&gt; },&lt;/P&gt;</description>
    <pubDate>Tue, 16 Oct 2018 07:30:50 GMT</pubDate>
    <dc:creator>dp18</dc:creator>
    <dc:date>2018-10-16T07:30:50Z</dc:date>
    <item>
      <title>how i call createpaymentrequest method and which link set in path/to/payment/page using .net and js</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/how-i-call-createpaymentrequest-method-and-which-link-set-in/m-p/96584#M39799</link>
      <description>&lt;P&gt;hii i have issue with using this squreup payment gateway please guide me for next steps&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;which link set in the place of action attribute of below form tag&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;lt;form id="nonce-form" novalidate action="path/to/payment/processing/page" method="post"&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;how i call createpaymentrecuest after getting &lt;SPAN&gt;CardNonce from&amp;nbsp;&lt;/SPAN&gt;requestCardNonce&amp;nbsp;&lt;/P&gt;
&lt;P&gt;createPaymentRequest: function () {&lt;BR /&gt; var paymentRequestJson = {&lt;BR /&gt; requestShippingAddress: true,&lt;BR /&gt; requestBillingInfo: true,&lt;BR /&gt; shippingContact: {&lt;BR /&gt; familyName: "CUSTOMER LAST NAME",&lt;BR /&gt; givenName: "CUSTOMER FIRST NAME",&lt;BR /&gt; email: "mycustomer@example.com",&lt;BR /&gt; country: "USA",&lt;BR /&gt; region: "CA",&lt;BR /&gt; city: "San Francisco",&lt;BR /&gt; addressLines: [&lt;BR /&gt; "1455 Market St #600"&lt;BR /&gt; ],&lt;BR /&gt; postalCode: "94103",&lt;BR /&gt; phone: "14255551212"&lt;BR /&gt; },&lt;BR /&gt; currencyCode: "USD",&lt;BR /&gt; countryCode: "US",&lt;BR /&gt; total: {&lt;BR /&gt; label: "MERCHANT NAME",&lt;BR /&gt; amount: "85.00",&lt;BR /&gt; pending: false&lt;BR /&gt; },&lt;BR /&gt; lineItems: [&lt;BR /&gt; {&lt;BR /&gt; label: "Subtotal",&lt;BR /&gt; amount: "60.00",&lt;BR /&gt; pending: false&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; label: "Shipping",&lt;BR /&gt; amount: "19.50",&lt;BR /&gt; pending: true&lt;BR /&gt; },&lt;BR /&gt; {&lt;BR /&gt; label: "Tax",&lt;BR /&gt; amount: "5.50",&lt;BR /&gt; pending: false&lt;BR /&gt; }&lt;BR /&gt; ]&lt;BR /&gt; };&lt;BR /&gt; return paymentRequestJson;&lt;BR /&gt; },&lt;/P&gt;</description>
      <pubDate>Tue, 16 Oct 2018 07:30:50 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/how-i-call-createpaymentrequest-method-and-which-link-set-in/m-p/96584#M39799</guid>
      <dc:creator>dp18</dc:creator>
      <dc:date>2018-10-16T07:30:50Z</dc:date>
    </item>
    <item>
      <title>Re: how i call createpaymentrequest method and which link set in path/to/payment/page using .net ...</title>
      <link>https://community.squareup.com/t5/Archived-Discussions-Read-Only/how-i-call-createpaymentrequest-method-and-which-link-set-in/m-p/97007#M39800</link>
      <description>&lt;P&gt;Hello &lt;a href="https://community.squareup.com/t5/user/viewprofilepage/user-id/135916"&gt;@dp18&lt;/a&gt; I escalated this to our API team for you and the confirmed that the steps 5-7 in this &lt;A href="https://docs.connect.squareup.com/payments/sqpaymentform/overview#how-it-works-sqpaymentform-process-flow" target="_blank"&gt;SqPaymentForm documentation&lt;/A&gt; should help. It&amp;nbsp;looks like you're trying to use the digital wallet for Google Pay, so once you receive the nonce the JavaScript on the page handles the nonce response:&lt;BR /&gt;
- If nonce generation succeeds, set the hidden nonce field and submit the form.&lt;BR /&gt;
- If nonce generation fails, handle the errors and provide feedback to the customer.&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;If you still need help with this reply here to let me know and I'll start a case for you with the team, or you can &lt;A href="https://squareup.com/help/us/en/contact?panel=BF53A9C8EF68" target="_blank"&gt;contact our Developer Support directly&lt;/A&gt;&amp;nbsp;and they'll be happy to take a closer look.&lt;/P&gt;</description>
      <pubDate>Fri, 19 Oct 2018 22:03:50 GMT</pubDate>
      <guid>https://community.squareup.com/t5/Archived-Discussions-Read-Only/how-i-call-createpaymentrequest-method-and-which-link-set-in/m-p/97007#M39800</guid>
      <dc:creator>Helen</dc:creator>
      <dc:date>2018-10-19T22:03:50Z</dc:date>
    </item>
  </channel>
</rss>

