<?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: How to enable users to pay each other in my app? in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/84921#M53449</link>
    <description>&lt;DIV&gt;Is there a simple button to show at our website, something like&lt;STRONG&gt; Connect payment account.&amp;nbsp;&lt;/STRONG&gt;The click to this should eventually&amp;nbsp;open a popup window which would enable the user to register.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then, is there a webhook when the account is registered, so we can have API login id and transaction key and store it to our database, for user's payments?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;</description>
    <pubDate>Wed, 16 Nov 2022 18:08:11 GMT</pubDate>
    <dc:creator>AzSoft22</dc:creator>
    <dc:date>2022-11-16T18:08:11Z</dc:date>
    <item>
      <title>How to enable users to pay each other in my app?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/84911#M53444</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;&lt;P&gt;I am pretty new to Authorise.net and by what I can see from the docs it's a great platform.&lt;/P&gt;&lt;P&gt;I have a one question.&lt;/P&gt;&lt;P&gt;How to allow user to pay other user when he wants to buy his product online?&lt;/P&gt;&lt;P&gt;I guess each user should have a merchant account on Authorise.net?&lt;/P&gt;&lt;P&gt;If yes, what would be the easiest way to create that account? Any HTML form to copy to our website?&lt;/P&gt;&lt;P&gt;And when they create account, I guess we should store their info somewhere in our system, associate them with particular user and use it for later payments. How we specify payment destination?&lt;/P&gt;&lt;P&gt;I did not find a part of the doc that addresses this question, so any help is appreciated.&lt;/P&gt;&lt;P&gt;Thanks in advance&lt;/P&gt;</description>
      <pubDate>Wed, 16 Nov 2022 05:37:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/84911#M53444</guid>
      <dc:creator>AzSoft22</dc:creator>
      <dc:date>2022-11-16T05:37:10Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to pay each other in my app?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/84921#M53449</link>
      <description>&lt;DIV&gt;Is there a simple button to show at our website, something like&lt;STRONG&gt; Connect payment account.&amp;nbsp;&lt;/STRONG&gt;The click to this should eventually&amp;nbsp;open a popup window which would enable the user to register.&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Then, is there a webhook when the account is registered, so we can have API login id and transaction key and store it to our database, for user's payments?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks in advance,&lt;/DIV&gt;</description>
      <pubDate>Wed, 16 Nov 2022 18:08:11 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/84921#M53449</guid>
      <dc:creator>AzSoft22</dc:creator>
      <dc:date>2022-11-16T18:08:11Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to pay each other in my app?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/85189#M53573</link>
      <description>&lt;P&gt;&lt;SPAN&gt;On your Android phone&lt;A href="https://bapehoodie.uk/" target="_self"&gt;,&lt;/A&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;go to your payment methods in Google Play.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Tap Add a payment method.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Choose the payment method you want to add.&lt;/STRONG&gt;&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;STRONG&gt;Follow the on-screen instructions&lt;/STRONG&gt;&lt;SPAN&gt;.&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 08 Dec 2022 06:58:45 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/85189#M53573</guid>
      <dc:creator>websopedia02</dc:creator>
      <dc:date>2022-12-08T06:58:45Z</dc:date>
    </item>
    <item>
      <title>Re: How to enable users to pay each other in my app?</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/85267#M53621</link>
      <description>&lt;P&gt;I've stepped through the code multipel times. Returning null is difficult to debug. I'll reinstall Fiddler and see if I can get more, but as I said I used the code basically as is. I only changed it to take inputs from a form.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;As it's public code:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.RunEnvironment = AuthorizeNet.Environment.SANDBOX;&lt;/P&gt;
&lt;P&gt;ApiOperationBase&amp;lt;ANetApiRequest, ANetApiResponse&amp;gt;.MerchantAuthentication = new merchantAuthenticationType()&lt;BR /&gt;{&lt;BR /&gt;name = id,&lt;BR /&gt;ItemElementName = ItemChoiceType.transactionKey,&lt;BR /&gt;Item = key,&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;var creditCard = new creditCardType&lt;BR /&gt;{&lt;BR /&gt;&lt;BR /&gt;cardNumber = cardNum,&lt;BR /&gt;expirationDate = expire,&lt;BR /&gt;cardCode = ccv&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;var billingAddress = new customerAddressType&lt;BR /&gt;{&lt;BR /&gt;firstName = firstName,&lt;BR /&gt;lastName = lastName,&lt;BR /&gt;address = address,&lt;BR /&gt;city = city,&lt;BR /&gt;zip = zip,&lt;BR /&gt;state = state&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;//standard api call to retrieve response&lt;BR /&gt;var paymentType = new paymentType { Item = creditCard };&lt;/P&gt;
&lt;P&gt;// Add line Items&lt;BR /&gt;var lineItems = new lineItemType[1];&lt;BR /&gt;lineItems[0] = new lineItemType { itemId = "1", name = "Membership", quantity = 1, unitPrice = new Decimal(20.00) };&lt;/P&gt;
&lt;P&gt;var transactionRequest = new transactionRequestType&lt;BR /&gt;{&lt;BR /&gt;transactionType = transactionTypeEnum.authCaptureTransaction.ToString(), // charge the card&lt;/P&gt;
&lt;P&gt;amount = charge,&lt;BR /&gt;payment = paymentType,&lt;BR /&gt;billTo = billingAddress,&lt;BR /&gt;lineItems = lineItems&lt;BR /&gt;};&lt;/P&gt;
&lt;P&gt;var request = new createTransactionRequest { transactionRequest = transactionRequest };&lt;/P&gt;
&lt;P&gt;// instantiate the controller that will call the service&lt;BR /&gt;var controller = new createTransactionController(request);&lt;BR /&gt;controller.Execute();&lt;/P&gt;
&lt;P&gt;// get the response from the service (errors contained if any)&lt;BR /&gt;var response = controller.GetApiResponse();&lt;/P&gt;
&lt;P&gt;// validate response&lt;BR /&gt;if (response != null &amp;amp;&amp;amp; response.messages.resultCode == messageTypeEnum.Ok)&lt;BR /&gt;{&lt;/P&gt;
&lt;P&gt;returnModel.Code = response.transactionResponse.responseCode;&lt;BR /&gt;returnModel.Authorization = response.transactionResponse.authCode;&lt;BR /&gt;returnModel.AvsResponse = response.transactionResponse.avsResultCode;&lt;BR /&gt;returnModel.Reason = response.transactionResponse.messages[0].description;&lt;BR /&gt;returnModel.Transaction = response.transactionResponse.messages[0].code;&lt;BR /&gt;returnModel.TransactionId = response.transactionResponse.transId;&lt;/P&gt;
&lt;P&gt;var user = await AddZineUserAsync(await UserManager.FindByNameAsync(User.Identity.Name));&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;}&lt;BR /&gt;else&lt;BR /&gt;{&lt;BR /&gt;returnModel = new CardModel&lt;BR /&gt;{&lt;BR /&gt;Reason = response != null ? response.transactionResponse.errors[0].errorCode : "-1",&lt;BR /&gt;Transaction = response != null ? response.transactionResponse.errors[0].errorText : "The error was not correctly returned. Please try again. Your card was not charged.",&lt;BR /&gt;};&lt;BR /&gt;}&lt;/P&gt;</description>
      <pubDate>Fri, 16 Dec 2022 15:05:28 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/How-to-enable-users-to-pay-each-other-in-my-app/m-p/85267#M53621</guid>
      <dc:creator>sxcscooters</dc:creator>
      <dc:date>2022-12-16T15:05:28Z</dc:date>
    </item>
  </channel>
</rss>

