<?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 Best way to organize payment integration? (Stripe or Paypal or Chargebee, etc.) in Integration and Testing</title>
    <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Best-way-to-organize-payment-integration-Stripe-or-Paypal-or/m-p/70634#M43403</link>
    <description>&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I'm a little stuck on the "big picture": a freemium SaaS app. Right now, it's just&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;free&lt;/EM&gt;, not freemium. :-) I understand all the "small" pieces like the webhooks, API's, ways to implement my server-side parts, but it looks like there are a few tough points:&lt;/P&gt;&lt;UL class="_33MEMislY0GAlB78wL1_CR"&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When should the user account in the app be created? Before or after signing in with the payment service?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;If it's before, how does that user info get communicated to the payment service?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;How much redundant info should get stored in the app? I.e., what should the app do with the incoming web hook POSTs?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Way long ago, I had a simple but effective setup with Paypal Subscriptions:&lt;/P&gt;&lt;OL class="_1eJr7K139jnMstd4HajqYP"&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Users had to first create an account using an OAuth source like Google (No passwords stored in my db!)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;With that email address, I'd populate a Paypal Subscribe button which would launch a hosted form.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When the webhook received a POST, I'd keep just the payment notifications in a big table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When a user came back to log in, I'd check if they had made a payment in the last 30 days.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Easy! :-) But that's a bit primitive, and not sure if it's the recommended practice. E.g., I believe that one practice is to pro-actively create a user account via the payment system's API when a user first signs up in the app...&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="_1hwEKkB_38tIoal6fcdrt9"&gt;&lt;DIV class="_3-miAEojrCvx_4FQ8x3P-s"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
    <pubDate>Fri, 14 Feb 2020 19:31:10 GMT</pubDate>
    <dc:creator>Jamun</dc:creator>
    <dc:date>2020-02-14T19:31:10Z</dc:date>
    <item>
      <title>Best way to organize payment integration? (Stripe or Paypal or Chargebee, etc.)</title>
      <link>https://community.developer.cybersource.com/t5/Integration-and-Testing/Best-way-to-organize-payment-integration-Stripe-or-Paypal-or/m-p/70634#M43403</link>
      <description>&lt;DIV class="_3xX726aBn29LDbsDtzr_6E _1Ap4F5maDtT1E1YuCiaO0r D3IL3FD0RFy_mkKLPwL4"&gt;&lt;DIV class="_292iotee39Lmt0MkQZ2hPV RichTextJSON-root"&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;I'm a little stuck on the "big picture": a freemium SaaS app. Right now, it's just&lt;SPAN&gt;&amp;nbsp;&lt;/SPAN&gt;&lt;EM&gt;free&lt;/EM&gt;, not freemium. :-) I understand all the "small" pieces like the webhooks, API's, ways to implement my server-side parts, but it looks like there are a few tough points:&lt;/P&gt;&lt;UL class="_33MEMislY0GAlB78wL1_CR"&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When should the user account in the app be created? Before or after signing in with the payment service?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;If it's before, how does that user info get communicated to the payment service?&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;How much redundant info should get stored in the app? I.e., what should the app do with the incoming web hook POSTs?&lt;/P&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Way long ago, I had a simple but effective setup with Paypal Subscriptions:&lt;/P&gt;&lt;OL class="_1eJr7K139jnMstd4HajqYP"&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Users had to first create an account using an OAuth source like Google (No passwords stored in my db!)&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;With that email address, I'd populate a Paypal Subscribe button which would launch a hosted form.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When the webhook received a POST, I'd keep just the payment notifications in a big table.&lt;/P&gt;&lt;/LI&gt;&lt;LI&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;When a user came back to log in, I'd check if they had made a payment in the last 30 days.&lt;/P&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;P class="_1qeIAgB0cPwnLhDF9XSiJM"&gt;Easy! :-) But that's a bit primitive, and not sure if it's the recommended practice. E.g., I believe that one practice is to pro-actively create a user account via the payment system's API when a user first signs up in the app...&lt;/P&gt;&lt;/DIV&gt;&lt;/DIV&gt;&lt;DIV class="_1hwEKkB_38tIoal6fcdrt9"&gt;&lt;DIV class="_3-miAEojrCvx_4FQ8x3P-s"&gt;&amp;nbsp;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Fri, 14 Feb 2020 19:31:10 GMT</pubDate>
      <guid>https://community.developer.cybersource.com/t5/Integration-and-Testing/Best-way-to-organize-payment-integration-Stripe-or-Paypal-or/m-p/70634#M43403</guid>
      <dc:creator>Jamun</dc:creator>
      <dc:date>2020-02-14T19:31:10Z</dc:date>
    </item>
  </channel>
</rss>

