<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Panche I.</title>
    <description>The latest articles on DEV Community by Panche I. (@panchei).</description>
    <link>https://dev.to/panchei</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F4188367%2Fcaff6cd7-357c-42f6-bbea-fcba84d1f944.jpg</url>
      <title>DEV Community: Panche I.</title>
      <link>https://dev.to/panchei</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/panchei"/>
    <language>en</language>
    <item>
      <title>Moving subscriptions off Lemon Squeezy: which subscribers move, and which have to subscribe again?</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Wed, 25 Nov 2026 06:12:00 +0000</pubDate>
      <link>https://dev.to/panchei/moving-subscriptions-off-lemon-squeezy-which-subscribers-move-and-which-have-to-subscribe-again-kel</link>
      <guid>https://dev.to/panchei/moving-subscriptions-off-lemon-squeezy-which-subscribers-move-and-which-have-to-subscribe-again-kel</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short answer: subscribers who pay by card can move without typing their card again. Subscribers who pay with PayPal cannot move at all: each one has to subscribe again, whichever provider you pick. So the first thing to do is count your subscribers by payment method.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lemon Squeezy stops processing transactions on 31 March 2027, and that includes subscription renewals. Its FAQ says the deadline will not be extended. A subscription that is still on Lemon Squeezy that day stops renewing.&lt;/p&gt;

&lt;p&gt;Everything below comes from Lemon Squeezy's own migration guide and FAQ. I quote the lines that matter, because the details decide how much work you have.&lt;/p&gt;

&lt;h2&gt;
  
  
  What moves, by how the subscriber pays
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;The subscriber pays with&lt;/th&gt;
&lt;th&gt;To Stripe Managed Payments, with Lemon Squeezy's tool&lt;/th&gt;
&lt;th&gt;To another provider&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Card&lt;/td&gt;
&lt;td&gt;Moves. "Most card subscriptions migrate without customers re-entering their payment details."&lt;/td&gt;
&lt;td&gt;Can move, on request. "Only subscriptions paid by card can be migrated to another provider."&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;India-issued card&lt;/td&gt;
&lt;td&gt;Moves, then the customer has to reauthorize the payment method once&lt;/td&gt;
&lt;td&gt;Not stated. Ask before you plan on it&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PayPal&lt;/td&gt;
&lt;td&gt;Does not move. The customer starts a new subscription with a supported payment method&lt;/td&gt;
&lt;td&gt;Does not move: only card subscriptions can&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Cash App Pay&lt;/td&gt;
&lt;td&gt;Moves&lt;/td&gt;
&lt;td&gt;Does not move&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two notes on the table.&lt;/p&gt;

&lt;p&gt;Stripe Managed Payments does not support PayPal, so a PayPal subscriber cannot stay a PayPal subscriber on that path. Lemon Squeezy's guide suggests removing PayPal from your checkout now, so that group stops growing.&lt;/p&gt;

&lt;p&gt;"Can move" to another provider is not automatic. You fill in an intake form in your Lemon Squeezy account (my account, settings, migration), and your new provider has to accept the transfer. Ask the provider first. Some do, some do not.&lt;/p&gt;

&lt;h2&gt;
  
  
  The dates
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;2 December 2026:&lt;/strong&gt; Lemon Squeezy's migration tooling opens in its Migration Hub, for stores that are eligible for Stripe Managed Payments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Mid-January 2027:&lt;/strong&gt; the latest start Lemon Squeezy recommends. It says the full process "can take up to 8 weeks".&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;31 March 2027:&lt;/strong&gt; renewals stop.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Customers get at least 14 days' notice before their subscriptions move. After the move they manage the subscription through Link, Stripe's consumer platform, and no longer through the Lemon Squeezy customer portal.&lt;/p&gt;

&lt;h2&gt;
  
  
  What to do, in order
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Export your subscriptions and count them by payment method.&lt;/strong&gt; Card, PayPal, Cash App Pay, and how many cards were issued in India. This one number tells you how many people you have to write to.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Write to your PayPal subscribers first.&lt;/strong&gt; They subscribe again on every path, so there is nothing to wait for. Time each new subscription to the end of the period they already paid for.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Decide where you go.&lt;/strong&gt; If your business is eligible for Stripe Managed Payments, the tool from 2 December does most of the card work. If it is not, or you need something it does not have, you move to another provider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If you move to another provider, ask one question before anything else:&lt;/strong&gt; "Do you accept card subscription transfers from Lemon Squeezy?" If yes, fill in the intake form. If no, every subscriber subscribes once on a new link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Change every link.&lt;/strong&gt; Lemon Squeezy says there are "no automatic redirects": checkout links, storefront addresses, embedded checkouts, API endpoints and webhook events all have to point to the new provider.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Export what you may need later&lt;/strong&gt; (customers, orders, subscriptions) before 31 March 2027.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  How to avoid anyone paying twice
&lt;/h2&gt;

&lt;p&gt;When a subscriber has to subscribe again, the risk is a double charge: the old subscription renews while the new one starts. Two things prevent it. Send the new link a week or two before that person's renewal date, not to everyone on the same day. And cancel the old subscription at the end of the paid period as soon as the new one exists.&lt;/p&gt;

&lt;h2&gt;
  
  
  Disclosure
&lt;/h2&gt;

&lt;p&gt;I run AgentaOS, a merchant of record, so I am one of the "other providers". The honest answer for us: we do not receive card transfers from Lemon Squeezy today. With us every subscriber subscribes once on a new link, and a switch code makes their first invoice free so nobody pays twice for the same period. If keeping saved cards is what matters most to you, choose a provider that accepts the transfer.&lt;/p&gt;

&lt;p&gt;These pages change. Lemon Squeezy's tool opens on 2 December, and I will re-read every line of this post then.&lt;/p&gt;

&lt;p&gt;How many of your subscribers pay with PayPal, and what are you going to tell them?&lt;/p&gt;

</description>
      <category>saas</category>
      <category>payments</category>
      <category>indiehackers</category>
      <category>startup</category>
    </item>
    <item>
      <title>Lemon Squeezy is shutting down. What should you switch to, by country and by what you sell?</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Mon, 23 Nov 2026 13:00:00 +0000</pubDate>
      <link>https://dev.to/panchei/lemon-squeezy-is-shutting-down-what-should-you-switch-to-by-country-and-by-what-you-sell-3egb</link>
      <guid>https://dev.to/panchei/lemon-squeezy-is-shutting-down-what-should-you-switch-to-by-country-and-by-what-you-sell-3egb</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short answer: if your business is in one of Stripe's 37 locations and you sell software or digital products, move to Stripe Managed Payments with Lemon Squeezy's own tool. If it is not, switch to a merchant of record that lists your country: AgentaOS, Paddle, Polar, Dodo Payments or Creem.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Lemon Squeezy stops processing payments on 31 March 2027. Its migration tool opens on 2 December 2026, and the path it recommends is Stripe Managed Payments. That path has a first condition many sellers miss: your business must be based in one of the 37 locations on Stripe's Managed Payments eligibility page. They are the US, Canada, 31 in Europe, Australia, Hong Kong, Japan and Singapore.&lt;/p&gt;

&lt;p&gt;If you sell from Serbia, Turkey, India, Pakistan or Nigeria, you are not on that list. Lemon Squeezy's own migration guide says what follows: "you'll need to move to another provider".&lt;/p&gt;

&lt;p&gt;So I read the country pages of the merchants of record below, for countries that Stripe Managed Payments does not list.&lt;/p&gt;

&lt;p&gt;Disclosure first: I run one of them (AgentaOS). It is the first column.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who each option fits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AgentaOS:&lt;/strong&gt; sellers in countries Stripe doesn't reach, individuals without a company, and fixed-price service packages.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stripe Managed Payments:&lt;/strong&gt; a business in one of the 37 locations, with card subscribers. Storefronts, file delivery and license keys are not part of it.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paddle:&lt;/strong&gt; B2B and international SaaS.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Polar:&lt;/strong&gt; developer tools and open source.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dodo Payments:&lt;/strong&gt; sellers whose country is on its accepted list.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creem:&lt;/strong&gt; one flat rate on every card.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Gumroad:&lt;/strong&gt; simple digital downloads.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Who lists which country
&lt;/h2&gt;

&lt;p&gt;Each cell is what that provider's own page says, read on 23 November 2026, and a second reader re-derived every cell from the same pages that day.&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Country&lt;/th&gt;
&lt;th&gt;AgentaOS&lt;/th&gt;
&lt;th&gt;Stripe Managed Payments&lt;/th&gt;
&lt;th&gt;Paddle&lt;/th&gt;
&lt;th&gt;Polar&lt;/th&gt;
&lt;th&gt;Dodo Payments&lt;/th&gt;
&lt;th&gt;Creem&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Serbia&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;N. Macedonia&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bosnia and Herzegovina&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Albania&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Montenegro&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Kosovo&lt;/td&gt;
&lt;td&gt;Yes, individuals only, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Turkey&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Ukraine&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift; no payments from buyers in the regions it excludes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes, except the regions it excludes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Existing accounts only&lt;/td&gt;
&lt;td&gt;Yes, except the regions it excludes; payout restrictions may apply&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Moldova&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Georgia&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Armenia&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Azerbaijan&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;India&lt;/td&gt;
&lt;td&gt;Yes, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Pakistan&lt;/td&gt;
&lt;td&gt;Yes, USD only, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes, payout restrictions may apply&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Nigeria&lt;/td&gt;
&lt;td&gt;Yes, USD only, payout by Swift&lt;/td&gt;
&lt;td&gt;Not listed&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Existing accounts only&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;em&gt;Correction, 24 November 2026: Creem's page lists Kosovo. The first version of this table said "Not listed" for Creem and Kosovo.&lt;/em&gt;&lt;/p&gt;

&lt;h2&gt;
  
  
  What each list actually measures
&lt;/h2&gt;

&lt;p&gt;The lists are not the same kind of list, which is why a "Yes" needs a second look.&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;AgentaOS:&lt;/strong&gt; where we send a bank payout, in EUR or USD. "Payout by Swift" means there is no SEPA route to that country (&lt;a href="https://docs.agentaos.ai/mor/supported-countries" rel="noopener noreferrer"&gt;our docs&lt;/a&gt;).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Stripe Managed Payments:&lt;/strong&gt; where your business must be based.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Paddle:&lt;/strong&gt; it publishes the countries it does not support, so "Yes" means "not on that list" (Paddle's help page on supported countries).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Polar:&lt;/strong&gt; where it can send payouts, through Stripe Connect Express (Polar's docs on supported countries).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Dodo Payments:&lt;/strong&gt; the country that issued your identity document, not where you live. "Existing accounts only" means the country is on its prohibited list and only earlier merchants may continue (Dodo's docs on accepted countries and territories).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Creem:&lt;/strong&gt; its supported merchant countries. It marks some as countries that "may have restrictions that affect payouts" (Creem's docs on supported countries).&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Three checks after the country
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Can you sign up as you are?&lt;/strong&gt; Some providers take companies only, or review each business. If you have no company, read that line before anything else.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Is your product allowed?&lt;/strong&gt; Stripe's eligibility page excludes professional services such as consulting, design and development. Lemon Squeezy's own rules excluded services too. If part of your income is a fixed-price package, check the provider's list of what it accepts.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;What happens to your subscribers?&lt;/strong&gt; Lemon Squeezy says only subscriptions paid by card can be handed to another provider, on request, through an intake form in its settings. PayPal subscriptions cannot be migrated. Ask the provider you choose whether it accepts that transfer. AgentaOS does not today: each subscriber subscribes once on a new link, timed to their renewal date.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;These lists change. Lemon Squeezy's tool opens on 2 December, and I will re-read every cell before then. The version I keep up to date, with each provider's wording, is the page this post is canonical to.&lt;/p&gt;

&lt;p&gt;Which country are you selling from, and what did the provider's page tell you?&lt;/p&gt;

</description>
      <category>saas</category>
      <category>payments</category>
      <category>indiehackers</category>
      <category>startup</category>
    </item>
    <item>
      <title>How do Balkan freelancers get paid by US clients without Payoneer?</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Thu, 19 Nov 2026 13:44:14 +0000</pubDate>
      <link>https://dev.to/panchei/how-do-balkan-freelancers-get-paid-by-us-clients-without-payoneer-dca</link>
      <guid>https://dev.to/panchei/how-do-balkan-freelancers-get-paid-by-us-clients-without-payoneer-dca</guid>
      <description>&lt;p&gt;&lt;strong&gt;Short answer: if your US client pays by bank transfer, put the IBAN and SWIFT of your own foreign-currency account on the invoice, and no Payoneer account is involved. If the client wants to pay by card, the options are a Payoneer payment request, PayPal where your country has it, a US company with Stripe, or a merchant of record that sells your fixed-price package and invoices the client for you.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;This is for freelancers in Serbia, N. Macedonia, Bosnia and Herzegovina, Montenegro, Albania and Kosovo. I read every page cited here on 19 November 2026.&lt;/p&gt;

&lt;p&gt;Disclosure first: I run AgentaOS, a merchant of record. It is the last option below, and it does not fit hourly or per-quote work.&lt;/p&gt;

&lt;h2&gt;
  
  
  What Payoneer charges, from its own page
&lt;/h2&gt;

&lt;p&gt;Payoneer's &lt;a href="https://www.payoneer.com/pricing/" rel="noopener noreferrer"&gt;pricing page&lt;/a&gt; says it was last updated on 1 January 2026. These are the rows that matter when a US client pays you:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;th&gt;Payoneer's published fee&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The client pays into your receiving account in a currency that is not your local currency&lt;/td&gt;
&lt;td&gt;1% (minimum 1.00 USD)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A payer pays you by credit card&lt;/td&gt;
&lt;td&gt;Up to 3.99% + 0.49 USD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;A payer pays you by ACH bank debit (US only)&lt;/td&gt;
&lt;td&gt;1%&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Another Payoneer customer pays you from their balance&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You withdraw to a bank account, with or without currency conversion&lt;/td&gt;
&lt;td&gt;1.2% to 4%. Without conversion, some countries have a minimum fee of up to 20.00 USD&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Annual account fee, if the account receives less than 6,000 USD in any 12 consecutive months&lt;/td&gt;
&lt;td&gt;29.95 USD&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The dollar is not the local currency in any of these countries. The flat 1.50 USD withdrawal on that page applies to a list of countries that includes none of them. Payoneer adds that fees depend on where the sender and the recipient are, and that the exact fee is shown in your account before you confirm.&lt;/p&gt;

&lt;h2&gt;
  
  
  The routes, by how the client wants to pay
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;The client pays by bank transfer&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Swift transfer to your own bank.&lt;/strong&gt; It needs no account at a payment company, only a foreign-currency account at your bank. You send your own invoice with your IBAN and SWIFT. The cost is your bank's tariff for incoming transfers plus what the client's bank charges to send, so ask your bank before you quote.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Wise.&lt;/strong&gt; Wise's page on &lt;a href="https://wise.com/help/articles/2813542/where-do-i-need-to-live-to-hold-money-with-wise" rel="noopener noreferrer"&gt;where you can hold money&lt;/a&gt; lists N. Macedonia and none of the others. Wise also says you get account details only for currencies "available for your current address of residence", so check in the app which ones you get.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payoneer receiving account.&lt;/strong&gt; Payoneer gives you account details and the client sends a transfer to them. The fees are the ones above. Its help page on initiating payments lists accounts from Albania, Kosovo, Montenegro, N. Macedonia and Serbia, and not Bosnia and Herzegovina. Confirm in its sign-up form that it opens an account for your country.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The client wants to pay by card&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Payoneer payment request.&lt;/strong&gt; The client gets a link and can pay by card. You are the seller: you create or upload the invoice and add the taxes yourself.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PayPal.&lt;/strong&gt; What an account can do differs by country, so read PayPal's page for yours. The client pays through PayPal and you stay the seller.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A US company with Stripe.&lt;/strong&gt; The client pays by card, and you run a US LLC with a US bank account: formation, a registered agent, a yearly state tax if you form it in Delaware, and an IRS form for foreign-owned LLCs.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;A merchant of record.&lt;/strong&gt; It sells your work to the client in its own name. The client pays by card, the invoice comes from the merchant of record, and the sales tax or VAT is its job. For software and digital products, Paddle, Polar, Dodo Payments and Creem are options, and each publishes which countries it takes. AgentaOS, which I run, takes digital products and fixed-price service packages. It pays your own bank in EUR or USD. A EUR account in Serbia, N. Macedonia, Montenegro or Albania is paid by SEPA. Payouts to Bosnia and Herzegovina and Kosovo, and payouts in USD, travel by Swift.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;&lt;strong&gt;The client pays a platform that contracts you&lt;/strong&gt;&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;A contractor-of-record or employment platform, such as Deel or Native Teams.&lt;/strong&gt; The client signs with the platform and pays it, and the platform pays you. Deel sells its contractor of record to the client's company, so it is the client's choice. Native Teams also offers freelancers employment through it. Ask what it costs you and how it pays out in your country.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  What AgentaOS costs, and where it does not fit
&lt;/h2&gt;

&lt;p&gt;4.5% + 50 cents (EUR 0.50) per sale, no monthly subscription. Cards issued outside the EEA, which includes US cards, cost more; the full list is on our &lt;a href="https://agentaos.ai/facts" rel="noopener noreferrer"&gt;facts page&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;It does not take hourly work or work quoted per client. Service packages are approved per account, and new accounts have a share of each sale held for 120 days.&lt;/p&gt;

&lt;p&gt;Payoneer's fees and a merchant of record's fee pay for different things, so compare them on your own numbers. With Payoneer you stay the seller. With a merchant of record the fee covers card processing, tax handling and the invoice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Before the first US payment
&lt;/h2&gt;

&lt;p&gt;US companies ask a non-US freelancer for a W-8BEN (a W-8BEN-E for a company) before they pay. It goes to the client, not to the IRS. None of these countries is on the IRS list of &lt;a href="https://www.irs.gov/businesses/international-businesses/united-states-income-tax-treaties-a-to-z" rel="noopener noreferrer"&gt;US income tax treaties&lt;/a&gt;, so ask your accountant how to fill it in. This is general information, not tax advice.&lt;/p&gt;

&lt;h2&gt;
  
  
  Which route fits
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Hourly or per-quote work: your own invoice and a bank transfer.&lt;/li&gt;
&lt;li&gt;The client insists on a card and the work is custom: a Payoneer payment request, or PayPal where your country has it.&lt;/li&gt;
&lt;li&gt;The same package sold to many clients, by card, with the invoice and the tax handled: a merchant of record.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Which country are you in, and how does your US client pay you today?&lt;/p&gt;

</description>
      <category>freelance</category>
      <category>payments</category>
      <category>career</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Lemon Squeezy shuts down on 31 March 2027: what moves to Stripe Managed Payments, and what doesn't</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Tue, 17 Nov 2026 08:00:42 +0000</pubDate>
      <link>https://dev.to/panchei/lemon-squeezy-shuts-down-on-31-march-2027-what-moves-to-stripe-managed-payments-and-what-doesnt-50p0</link>
      <guid>https://dev.to/panchei/lemon-squeezy-shuts-down-on-31-march-2027-what-moves-to-stripe-managed-payments-and-what-doesnt-50p0</guid>
      <description>&lt;p&gt;On 16 November 2026 Lemon Squeezy closed new store sign-ups and said it will stop processing payments, including subscription renewals, on 31 March 2027. Its notice says the deadline cannot be extended.&lt;/p&gt;

&lt;p&gt;I read the notice, the migration guide and the comparison page it published the same day. This is what they say, without the marketing.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four dates
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Date&lt;/th&gt;
&lt;th&gt;What happens&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;16 November 2026&lt;/td&gt;
&lt;td&gt;New store sign-ups closed&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;2 December 2026&lt;/td&gt;
&lt;td&gt;Lemon Squeezy's migration tool opens for eligible stores&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Mid-January 2027&lt;/td&gt;
&lt;td&gt;Latest start it recommends; the move can take up to 8 weeks&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;31 March 2027&lt;/td&gt;
&lt;td&gt;Transactions and subscription renewals stop&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Your store keeps working as usual until 31 March.&lt;/p&gt;

&lt;h2&gt;
  
  
  Where it sends you
&lt;/h2&gt;

&lt;p&gt;Lemon Squeezy recommends Stripe Managed Payments, Stripe's merchant of record. Its tool creates your products in Stripe, moves customers with a report that maps old customer IDs to new ones, and moves eligible subscriptions. Customers get at least 14 days' notice before their subscription moves.&lt;/p&gt;

&lt;h2&gt;
  
  
  What does not come with you
&lt;/h2&gt;

&lt;p&gt;This is the part worth reading twice. From Lemon Squeezy's own comparison page:&lt;/p&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;What you use today&lt;/th&gt;
&lt;th&gt;Lemon Squeezy&lt;/th&gt;
&lt;th&gt;Stripe Managed Payments&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Merchant of record (tax, fraud, disputes)&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Hosted storefront&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;td&gt;Not included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;File delivery and license keys&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;td&gt;Not included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Affiliate programme&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;td&gt;Not included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Email marketing&lt;/td&gt;
&lt;td&gt;Included&lt;/td&gt;
&lt;td&gt;Not included&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PayPal&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The migration guide puts it plainly: Managed Payments "doesn't deliver files, license keys, or download links." If you sell downloads or licensed software, you connect a separate tool or build that part yourself.&lt;/p&gt;

&lt;h2&gt;
  
  
  Subscriptions
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Card subscriptions:&lt;/strong&gt; most move without the customer typing their card again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;PayPal subscriptions:&lt;/strong&gt; cannot move. Lemon Squeezy suggests removing PayPal from your checkout before you start.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Cards issued in India:&lt;/strong&gt; the customer approves the subscription again.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Moving to another provider instead of Stripe:&lt;/strong&gt; only subscriptions paid by card can be handed over, and you start with an intake form in your store settings.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The fee
&lt;/h2&gt;

&lt;p&gt;Lemon Squeezy's page lists Stripe Managed Payments at 3.5% per successful transaction, on the total including tax, plus Stripe's payment processing fees. Stripe Billing fees apply to subscriptions. Sellers who migrate from Lemon Squeezy get a promotional 1.5% through 1 December 2027.&lt;/p&gt;

&lt;p&gt;Work out your own total before and after that date, and add the cost of whatever replaces the storefront, file delivery, license keys and affiliates.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who the move leaves out
&lt;/h2&gt;

&lt;p&gt;Stripe Managed Payments accepts businesses in 37 locations: Canada, the United States, 31 countries in Europe, Australia, Hong Kong, Japan and Singapore. Lemon Squeezy's notice says it "isn't available in every country Lemon Squeezy supports."&lt;/p&gt;

&lt;p&gt;So a seller in Serbia, N. Macedonia, Albania, Bosnia and Herzegovina, Montenegro, Turkey, Ukraine, India, Pakistan or Nigeria has a deadline and no path on that tool. The official suggestion is another provider or a company in a supported country.&lt;/p&gt;

&lt;p&gt;Stripe Managed Payments also does not accept professional services or live coaching.&lt;/p&gt;

&lt;h2&gt;
  
  
  What I would do this week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Check your country on Stripe's eligibility page.&lt;/li&gt;
&lt;li&gt;List the Lemon Squeezy features you use: storefront, file delivery, license keys, affiliates, email, PayPal.&lt;/li&gt;
&lt;li&gt;Export customers, orders and subscriptions while the store is open.&lt;/li&gt;
&lt;li&gt;Count subscribers by card and by PayPal.&lt;/li&gt;
&lt;li&gt;Pick a destination, test one purchase, then replace your links.&lt;/li&gt;
&lt;li&gt;Start before mid-January.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What the notice does not say
&lt;/h2&gt;

&lt;p&gt;I could not find a final payout date or what happens to a remaining balance. Ask Lemon Squeezy support before the deadline, and keep your payout details current until the last payout lands.&lt;/p&gt;

&lt;h2&gt;
  
  
  Disclosure
&lt;/h2&gt;

&lt;p&gt;I'm the founder of AgentaOS, a merchant of record that pays out to sellers in countries Stripe does not list. We built a command that copies Lemon Squeezy products, plans, trials and discount codes: &lt;code&gt;npx @agentaos/migrate --from lemonsqueezy&lt;/code&gt;. Saved cards do not move with it, so if you are in a supported country with many card subscribers, Lemon Squeezy's own tool is the shorter path. The dated version of this post, with sources, is at &lt;a href="https://agentaos.ai/answers/lemon-squeezy-shutting-down" rel="noopener noreferrer"&gt;agentaos.ai/answers/lemon-squeezy-shutting-down&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Sources: &lt;a href="https://www.lemonsqueezy.com/blog/saying-goodbye-to-lemon-squeezy" rel="noopener noreferrer"&gt;Saying goodbye to Lemon Squeezy&lt;/a&gt; · &lt;a href="https://docs.lemonsqueezy.com/migration" rel="noopener noreferrer"&gt;Lemon Squeezy migration guide&lt;/a&gt; · &lt;a href="https://docs.lemonsqueezy.com/migration/comparison" rel="noopener noreferrer"&gt;Comparison page&lt;/a&gt; · &lt;a href="https://docs.stripe.com/payments/managed-payments/eligibility" rel="noopener noreferrer"&gt;Stripe Managed Payments eligibility&lt;/a&gt;. All read 17 November 2026.&lt;/p&gt;

&lt;p&gt;How many of you are outside the 37 locations, and what are you moving to?&lt;/p&gt;

</description>
      <category>saas</category>
      <category>payments</category>
      <category>startup</category>
      <category>webdev</category>
    </item>
    <item>
      <title>What you actually keep from a $20 sale on 7 merchants of record (2026)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Thu, 12 Nov 2026 09:48:42 +0000</pubDate>
      <link>https://dev.to/panchei/what-you-actually-keep-from-a-20-sale-on-7-merchants-of-record-2026-3o15</link>
      <guid>https://dev.to/panchei/what-you-actually-keep-from-a-20-sale-on-7-merchants-of-record-2026-3o15</guid>
      <description>&lt;p&gt;Most fee tables show the headline rate. What matters is what lands with you. So here is one sale, $20, on seven merchants of record, once with a buyer in the US and once with a buyer in Europe. A merchant of record sells for you: it charges the buyer, files the sales tax and VAT, and handles refunds and chargebacks.&lt;/p&gt;

&lt;p&gt;Disclosure first: I run one of them (AgentaOS). It is in the list, alphabetically like the rest.&lt;/p&gt;

&lt;h2&gt;
  
  
  What you keep from a $20 sale (payment fees only)
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Fee&lt;/th&gt;
&lt;th&gt;Buyer in the US&lt;/th&gt;
&lt;th&gt;Buyer in Europe&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;AgentaOS&lt;/td&gt;
&lt;td&gt;4.5% + €0.50, +1.5% on non-EEA cards&lt;/td&gt;
&lt;td&gt;$18.22&lt;/td&gt;
&lt;td&gt;$18.52&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Creem&lt;/td&gt;
&lt;td&gt;3.9% + $0.40&lt;/td&gt;
&lt;td&gt;$18.82&lt;/td&gt;
&lt;td&gt;$18.82&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dodo Payments&lt;/td&gt;
&lt;td&gt;4% + $0.40, +1.5% outside the US&lt;/td&gt;
&lt;td&gt;$18.80&lt;/td&gt;
&lt;td&gt;$18.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gumroad&lt;/td&gt;
&lt;td&gt;10% + $0.50, plus 2.9% + $0.30 card fee&lt;/td&gt;
&lt;td&gt;$16.62&lt;/td&gt;
&lt;td&gt;$16.62&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lemon Squeezy&lt;/td&gt;
&lt;td&gt;5% + $0.50, +1.5% outside the US&lt;/td&gt;
&lt;td&gt;$18.50&lt;/td&gt;
&lt;td&gt;$18.20&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paddle&lt;/td&gt;
&lt;td&gt;5% + $0.50&lt;/td&gt;
&lt;td&gt;$18.50&lt;/td&gt;
&lt;td&gt;$18.50&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Polar (Starter)&lt;/td&gt;
&lt;td&gt;5% + $0.50, +1.5% outside the US&lt;/td&gt;
&lt;td&gt;$18.50&lt;/td&gt;
&lt;td&gt;$18.20&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;&lt;a href="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqk6brzlcp248adw2v2hd.png" class="article-body-image-wrapper"&gt;&lt;img src="https://media2.dev.to/dynamic/image/width=800%2Cheight=%2Cfit=scale-down%2Cgravity=auto%2Cformat=auto/https%3A%2F%2Fdev-to-uploads.s3.us-east-2.amazonaws.com%2Fuploads%2Farticles%2Fqk6brzlcp248adw2v2hd.png" alt="What you keep from a $20 sale, US and European buyer" width="800" height="620"&gt;&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Fees are from each provider's own pricing or fee page, checked 5 November 2026. No subscription, no payout fees. AgentaOS charges in euros; €1 = $1.1537 (ECB). Creem's pricing page states "No international card fees", so its rate is the same for both.&lt;/p&gt;

&lt;h2&gt;
  
  
  What changes the result
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Where your buyers are.&lt;/strong&gt; Lemon Squeezy, Polar and Dodo add 1.5% for cards from outside the US, which includes Europe. AgentaOS adds 1.5% only for cards from outside the EEA. Paddle and Creem add nothing (Creem's pricing page says "No international card fees").&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subscriptions.&lt;/strong&gt; Lemon Squeezy and Dodo add 0.5% on recurring payments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Where you live.&lt;/strong&gt; Some of these cannot pay out to your country at all. Check that before the fee. I keep a &lt;a href="https://agentaos.ai/answers/which-merchant-of-record-pays-out-to-my-country" rel="noopener noreferrer"&gt;country-by-country list&lt;/a&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full table and calculators are at &lt;a href="https://agentaos.ai/merchant-of-record-fees" rel="noopener noreferrer"&gt;agentaos.ai/merchant-of-record-fees&lt;/a&gt;. If a number here is wrong, tell me in the comments and I will fix it.&lt;/p&gt;

&lt;p&gt;Which of these do you use today, and was the fee the reason you picked it?&lt;/p&gt;

</description>
      <category>saas</category>
      <category>payments</category>
      <category>indiehackers</category>
      <category>startup</category>
    </item>
    <item>
      <title>How to invoice a US client from Serbia or N. Macedonia (and let them pay by card)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Mon, 09 Nov 2026 09:48:44 +0000</pubDate>
      <link>https://dev.to/panchei/how-to-invoice-a-us-client-from-serbia-or-n-macedonia-and-let-them-pay-by-card-3io6</link>
      <guid>https://dev.to/panchei/how-to-invoice-a-us-client-from-serbia-or-n-macedonia-and-let-them-pay-by-card-3io6</guid>
      <description>&lt;p&gt;A US client says yes. Then their finance team sends two questions: "Can you send an invoice?" and "Can we pay by card?"&lt;/p&gt;

&lt;p&gt;If you live in Serbia or N. Macedonia, the first is easy and the second is not, because Stripe does not open accounts in either country. Here is what works, checked on 6 November 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  The four routes
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;&lt;/th&gt;
&lt;th&gt;Bank transfer&lt;/th&gt;
&lt;th&gt;Wise&lt;/th&gt;
&lt;th&gt;US LLC + Stripe&lt;/th&gt;
&lt;th&gt;Merchant of record&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Client can pay by card&lt;/td&gt;
&lt;td&gt;No&lt;/td&gt;
&lt;td&gt;No, see below&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Who invoices the client&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;Your US company&lt;/td&gt;
&lt;td&gt;The merchant of record&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Fits custom per-client work&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Yes&lt;/td&gt;
&lt;td&gt;Usually no, fixed-price packages&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Setup&lt;/td&gt;
&lt;td&gt;Your bank account&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;td&gt;Stripe Atlas $500, then yearly Delaware tax and US filings&lt;/td&gt;
&lt;td&gt;Free&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;Two facts most guides get wrong:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Wise card payments are not available here.&lt;/strong&gt; Wise's own help page says card payments work only for Wise Business accounts in the EEA, UK, Australia, Hong Kong, New Zealand, Singapore, Canada and the US. Serbia residents also cannot hold a balance with Wise; N. Macedonia residents can.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;There is no US tax treaty with either country.&lt;/strong&gt; Neither Serbia nor N. Macedonia is on the IRS list of US income tax treaties. Some invoicing guides say a Serbia treaty exists. The IRS list does not show one.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Step by step
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Agree the currency and payment method before you start.&lt;/strong&gt; USD for US clients, EUR for German clients. Put it in the contract.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Open a foreign currency account at your bank&lt;/strong&gt; (devizni račun / девизна сметка). Ask for the incoming-transfer fee and your exact IBAN and SWIFT.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Send a W-8BEN if the client asks.&lt;/strong&gt; US companies ask non-US people for a W-8BEN (individuals) or W-8BEN-E (companies) before paying. It goes to the client, not the IRS. Your accountant can help you fill it in.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Put the right details on the invoice&lt;/strong&gt; (checklist below).&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Ask your accountant which VAT note to add.&lt;/strong&gt; The US has no VAT. For an EU business client the wording depends on your registration at home. Do not copy a template note.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;If the client must pay by card, turn the work into a fixed-price package&lt;/strong&gt; with the same deliverable, price and delivery time for every buyer. "Website audit, 20-page PDF, 5 working days, €1,500" works. "Design work, price on request" does not. A merchant of record can then sell it for you and pay you out to your own bank.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Declare the income at home.&lt;/strong&gt; Keep every statement for your accountant.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Invoice checklist
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;Invoice number, in sequence&lt;/li&gt;
&lt;li&gt;Issue date and the date or period of the work&lt;/li&gt;
&lt;li&gt;Your name or company, address, and country&lt;/li&gt;
&lt;li&gt;Your tax number (PIB in Serbia, ЕДБ in N. Macedonia)&lt;/li&gt;
&lt;li&gt;The client's legal name and address, and VAT number if an EU business&lt;/li&gt;
&lt;li&gt;What you delivered, in one plain line&lt;/li&gt;
&lt;li&gt;Amount with the currency code (USD 1,500.00)&lt;/li&gt;
&lt;li&gt;The VAT note from your accountant&lt;/li&gt;
&lt;li&gt;IBAN and SWIFT/BIC, and your bank's name&lt;/li&gt;
&lt;li&gt;Payment terms&lt;/li&gt;
&lt;li&gt;For US clients: W-8BEN or W-8BEN-E sent, if asked&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Honestly
&lt;/h2&gt;

&lt;p&gt;For a one-off custom project, a plain bank transfer is the simplest and cheapest route. Card payments are worth setting up when clients insist on them, or when you sell the same package to many clients.&lt;/p&gt;

&lt;p&gt;The full guide, with sources for every fact above, is here: &lt;a href="https://agentaos.ai/answers/invoice-us-client-from-serbia" rel="noopener noreferrer"&gt;https://agentaos.ai/answers/invoice-us-client-from-serbia&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Disclosure: I run AgentaOS, a merchant of record that pays out to both countries. The guide compares all four routes, including the ones where we are the wrong choice.&lt;/p&gt;

&lt;p&gt;What does your bank charge you for an incoming USD transfer? I am collecting real numbers from Serbia and N. Macedonia.&lt;/p&gt;

</description>
      <category>freelancing</category>
      <category>payments</category>
      <category>balkans</category>
      <category>startup</category>
    </item>
    <item>
      <title>Stripe doesn't open accounts in 37 of the 85 countries we checked. Here are the legal ways to get paid anyway</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Fri, 06 Nov 2026 08:18:43 +0000</pubDate>
      <link>https://dev.to/panchei/stripe-doesnt-open-accounts-in-37-of-the-85-countries-we-checked-here-are-the-legal-ways-to-get-41i1</link>
      <guid>https://dev.to/panchei/stripe-doesnt-open-accounts-in-37-of-the-85-countries-we-checked-here-are-the-legal-ways-to-get-41i1</guid>
      <description>&lt;p&gt;Every week someone writes to us with the same message: "I have customers ready to pay by card, but Stripe won't let me open an account where I live."&lt;/p&gt;

&lt;p&gt;So we checked. On 6 October 2026 we went through 85 countries and compared them against Stripe's own list of supported countries.&lt;/p&gt;

&lt;h2&gt;
  
  
  The numbers
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;37 of 85:&lt;/strong&gt; Stripe does not open accounts at all.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;5 more:&lt;/strong&gt; Stripe offers only a limited version, including India, Indonesia, Kenya, Nigeria and South Africa.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;11 of the same 85:&lt;/strong&gt; PayPal cannot receive money either.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;And once an account exists, Stripe support is clear: "You can't change the country of a Stripe account."&lt;/p&gt;

&lt;h2&gt;
  
  
  The legal options
&lt;/h2&gt;

&lt;p&gt;&lt;strong&gt;1. A merchant of record.&lt;/strong&gt; The merchant of record is the legal seller of your product. It takes the card payment, handles the buyer's tax and pays you out to your bank, so Stripe never needs to support your country. Paddle, Lemon Squeezy, Polar, Creem, Dodo Payments and AgentaOS all work this way. The catch: check that the one you pick &lt;strong&gt;pays out to your country&lt;/strong&gt;, not just that it accepts your sign-up. Payout lists differ a lot.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;2. A US company (Stripe Atlas).&lt;/strong&gt; About $500 to start, a yearly Delaware tax from $400, a yearly IRS Form 5472, and usually an accountant. Takes weeks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;3. An EU company (e.g. Estonian e-Residency).&lt;/strong&gt; An accountant and VAT filings every month. Takes weeks.&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;4. Bank transfer invoices.&lt;/strong&gt; Works for a few clients. No card checkout, no subscriptions.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three mistakes that get accounts closed
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Opening Stripe in a country you don't live in.&lt;/strong&gt; Stripe checks ID, address and bank account, and the account country can't be changed later.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Buying a "verified Stripe account."&lt;/strong&gt; They are sold on LinkedIn and Telegram. Your money sits in someone else's account.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Reading a platform payout as Stripe access.&lt;/strong&gt; Bandcamp or X can pay you through Stripe. That does not let you sell your own product.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to start this week
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;Look up your country: how payouts reach you and what they cost.&lt;/li&gt;
&lt;li&gt;Pick a merchant of record that pays out there and accepts what you sell. Paddle and Lemon Squeezy do not take services.&lt;/li&gt;
&lt;li&gt;Create your product with a one-time or monthly price and share the checkout link.&lt;/li&gt;
&lt;li&gt;Open a EUR or USD account at your bank for payouts.&lt;/li&gt;
&lt;/ol&gt;

&lt;p&gt;The full country check, with Stripe's list and sources, is here: &lt;a href="https://agentaos.ai/answers/stripe-not-available-in-my-country" rel="noopener noreferrer"&gt;https://agentaos.ai/answers/stripe-not-available-in-my-country&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;Disclosure: I run AgentaOS, one of the merchants of record above. The page lists the others too.&lt;/p&gt;

&lt;p&gt;Which country are you selling from, and what did you end up using?&lt;/p&gt;

</description>
      <category>stripe</category>
      <category>payments</category>
      <category>saas</category>
      <category>startup</category>
    </item>
    <item>
      <title>Add payments to a Next.js app with two route handlers (merchant of record, tax handled)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Mon, 26 Oct 2026 11:35:26 +0000</pubDate>
      <link>https://dev.to/panchei/add-payments-to-a-nextjs-app-with-two-route-handlers-merchant-of-record-tax-handled-2jhc</link>
      <guid>https://dev.to/panchei/add-payments-to-a-nextjs-app-with-two-route-handlers-merchant-of-record-tax-handled-2jhc</guid>
      <description>&lt;p&gt;Selling a SaaS plan or a digital product from a Next.js app usually means two jobs: taking the payment, and then handling VAT, sales tax and invoices for buyers in other countries. This post sets up both in two route handlers with &lt;code&gt;@agentaos/nextjs&lt;/code&gt;. AgentaOS is a merchant of record: it sells the product in its own name, charges the buyer's VAT or sales tax, issues the invoice and pays you out.&lt;/p&gt;

&lt;p&gt;You need:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;a Next.js app with the App Router&lt;/li&gt;
&lt;li&gt;an AgentaOS account (test mode works from the first minute)&lt;/li&gt;
&lt;li&gt;a product created in the AgentaOS dashboard, and its link ID from the product page&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  1. Install and set the keys
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;npm &lt;span class="nb"&gt;install&lt;/span&gt; @agentaos/nextjs
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;In the dashboard, create an API key under &lt;strong&gt;Developers → API keys&lt;/strong&gt; (&lt;code&gt;sk_test_...&lt;/code&gt; in test mode). Under &lt;strong&gt;Settings → Developers → Webhooks&lt;/strong&gt;, set the URL to &lt;code&gt;https://your-domain.com/api/webhooks/agentaos&lt;/code&gt; and copy the signing secret.&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight shell"&gt;&lt;code&gt;&lt;span class="c"&gt;# .env.local&lt;/span&gt;
&lt;span class="nv"&gt;AGENTAOS_API_KEY&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;sk_test_...
&lt;span class="nv"&gt;AGENTAOS_WEBHOOK_SECRET&lt;/span&gt;&lt;span class="o"&gt;=&lt;/span&gt;whsec_...
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  2. The checkout route
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/checkout/route.ts&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Checkout&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@agentaos/nextjs&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;GET&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Checkout&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;products&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;pro&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;your-pro-link-id&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;successUrl&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;https://your-domain.com/thanks&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;customer&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;()&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;getCurrentUser&lt;/span&gt;&lt;span class="p"&gt;();&lt;/span&gt; &lt;span class="c1"&gt;// your own session&lt;/span&gt;
    &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt; &lt;span class="p"&gt;?&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;email&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;email&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="na"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;user&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;id&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="kc"&gt;null&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Now a plain link starts a checkout:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight tsx"&gt;&lt;code&gt;&lt;span class="p"&gt;&amp;lt;&lt;/span&gt;&lt;span class="nt"&gt;a&lt;/span&gt; &lt;span class="na"&gt;href&lt;/span&gt;&lt;span class="p"&gt;=&lt;/span&gt;&lt;span class="s"&gt;"/checkout?product=pro"&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;Buy Pro&lt;span class="p"&gt;&amp;lt;/&lt;/span&gt;&lt;span class="nt"&gt;a&lt;/span&gt;&lt;span class="p"&gt;&amp;gt;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;A few things the route does for you:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Only slugs in &lt;code&gt;products&lt;/code&gt; can be bought. Someone editing the URL cannot buy a product you did not list.&lt;/li&gt;
&lt;li&gt;The buyer's email and the metadata come from your server through &lt;code&gt;customer()&lt;/code&gt;, never from the query string.&lt;/li&gt;
&lt;li&gt;The route adds the slug to the metadata as &lt;code&gt;product&lt;/code&gt;, so your webhook knows what was bought.&lt;/li&gt;
&lt;li&gt;It ignores prefetch requests. A &lt;code&gt;&amp;lt;Link&amp;gt;&lt;/code&gt; that scrolls into view, or a browser prefetch, does not open a checkout. With &lt;code&gt;&amp;lt;Link&amp;gt;&lt;/code&gt;, set &lt;code&gt;prefetch={false}&lt;/code&gt; anyway.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;In test mode, pay with &lt;code&gt;4242 4242 4242 4242&lt;/code&gt;, any future date and any CVC. The buyer comes back to &lt;code&gt;successUrl&lt;/code&gt; with &lt;code&gt;?sessionId=...&lt;/code&gt;.&lt;/p&gt;

&lt;h2&gt;
  
  
  3. The webhook route
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="c1"&gt;// app/api/webhooks/agentaos/route.ts&lt;/span&gt;
&lt;span class="k"&gt;import&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;Webhooks&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="k"&gt;from&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;@agentaos/nextjs&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;POST&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nc"&gt;Webhooks&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt;
  &lt;span class="na"&gt;webhookSecret&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="nx"&gt;process&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;env&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;AGENTAOS_WEBHOOK_SECRET&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;onCheckoutCompleted&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;product&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;metadata&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="c1"&gt;// Renewals arrive as checkout.session.completed too, without your metadata.&lt;/span&gt;
    &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="k"&gt;typeof&lt;/span&gt; &lt;span class="nx"&gt;userId&lt;/span&gt; &lt;span class="o"&gt;!==&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;string&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;grantAccess&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;userId&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="nx"&gt;product&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
  &lt;span class="na"&gt;onSubscriptionCanceled&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="k"&gt;async &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="o"&gt;=&amp;gt;&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
    &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nf"&gt;revokeAccessByEmail&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;event&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;customerEmail&lt;/span&gt;&lt;span class="p"&gt;);&lt;/span&gt;
  &lt;span class="p"&gt;},&lt;/span&gt;
&lt;span class="p"&gt;});&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;The route verifies an HMAC-SHA256 signature over the raw body and rejects anything older than 5 minutes. It refuses to start without a secret, so a missing environment variable fails at boot instead of accepting unsigned events. It needs no API key.&lt;/p&gt;

&lt;p&gt;There is one function per event: &lt;code&gt;onCheckoutCompleted&lt;/code&gt;, &lt;code&gt;onSubscriptionCreated&lt;/code&gt;, &lt;code&gt;onSubscriptionRenewed&lt;/code&gt;, &lt;code&gt;onSubscriptionUpdated&lt;/code&gt;, &lt;code&gt;onSubscriptionPaymentFailed&lt;/code&gt;, &lt;code&gt;onSubscriptionCanceled&lt;/code&gt;, &lt;code&gt;onDisputeCreated&lt;/code&gt;, &lt;code&gt;onDisputeClosed&lt;/code&gt;, plus &lt;code&gt;onEvent&lt;/code&gt; for everything. If your function throws, the route answers 500 and the event is delivered again.&lt;/p&gt;

&lt;h2&gt;
  
  
  Three things that trip people up
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Renewals look like checkouts.&lt;/strong&gt; A renewal or an upgrade charge also arrives as &lt;code&gt;checkout.session.completed&lt;/code&gt;, carrying a &lt;code&gt;subscriptionId&lt;/code&gt; instead of your metadata. Save the link from &lt;code&gt;subscriptionId&lt;/code&gt; to your user on the first event.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Events can arrive twice.&lt;/strong&gt; Grant access once per &lt;code&gt;event.data.sessionId&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Metadata keys arrive in camelCase.&lt;/strong&gt; &lt;code&gt;user_id&lt;/code&gt; comes back as &lt;code&gt;userId&lt;/code&gt;.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  Using Better Auth?
&lt;/h2&gt;

&lt;p&gt;If your app signs users in with Better Auth, &lt;code&gt;@agentaos/better-auth&lt;/code&gt; does the checkout from the signed-in session instead:&lt;br&gt;
&lt;/p&gt;

&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight typescript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt; &lt;span class="p"&gt;}&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="k"&gt;await&lt;/span&gt; &lt;span class="nx"&gt;authClient&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;agentaos&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;checkout&lt;/span&gt;&lt;span class="p"&gt;({&lt;/span&gt; &lt;span class="na"&gt;slug&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;pro&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt; &lt;span class="p"&gt;});&lt;/span&gt;
&lt;span class="nb"&gt;window&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;location&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;href&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="nx"&gt;data&lt;/span&gt;&lt;span class="o"&gt;!&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;url&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Full guides: &lt;a href="https://docs.agentaos.ai/sdk/nextjs" rel="noopener noreferrer"&gt;Next.js route handlers&lt;/a&gt; and &lt;a href="https://docs.agentaos.ai/sdk/better-auth" rel="noopener noreferrer"&gt;Better Auth plugin&lt;/a&gt;. The packages are open source in &lt;a href="https://github.com/AgentaOS/agentaos" rel="noopener noreferrer"&gt;AgentaOS/agentaos&lt;/a&gt;.&lt;/p&gt;

</description>
      <category>nextjs</category>
      <category>payments</category>
      <category>saas</category>
      <category>webdev</category>
    </item>
    <item>
      <title>All 50 Stripe decline codes in 5 buckets, with what to tell the buyer (2026)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Tue, 20 Oct 2026 08:20:27 +0000</pubDate>
      <link>https://dev.to/panchei/all-50-stripe-decline-codes-in-5-buckets-with-what-to-tell-the-buyer-2026-43jl</link>
      <guid>https://dev.to/panchei/all-50-stripe-decline-codes-in-5-buckets-with-what-to-tell-the-buyer-2026-43jl</guid>
      <description>&lt;p&gt;A declined card is a sale you can still save, if the buyer knows what to do next. Most checkouts show "Your card was declined" for every case, so a typo in the CVC looks the same as a stolen card.&lt;/p&gt;

&lt;p&gt;Stripe tells you the reason in &lt;code&gt;decline_code&lt;/code&gt;. You get it on the card error (&lt;code&gt;err.decline_code&lt;/code&gt; when &lt;code&gt;err.type === 'card_error'&lt;/code&gt;) and on a PaymentIntent as &lt;code&gt;last_payment_error.decline_code&lt;/code&gt;. Stripe lists 50 codes. They fall into five buckets, and each bucket needs a different message.&lt;/p&gt;

&lt;p&gt;Codes checked against Stripe's decline codes docs on 18 October 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  The five buckets
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Bucket&lt;/th&gt;
&lt;th&gt;Codes&lt;/th&gt;
&lt;th&gt;What to do&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Buyer can fix it&lt;/td&gt;
&lt;td&gt;16&lt;/td&gt;
&lt;td&gt;Ask them to correct the number, CVC, date, address or PIN, or finish 3D Secure.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Retry&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;td&gt;A temporary error at the bank or network. Retry once.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Another card&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;td&gt;No funds, a limit, or the card can't pay this. Ask for another card.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Bank must say why&lt;/td&gt;
&lt;td&gt;19&lt;/td&gt;
&lt;td&gt;The issuer gave no reason. Only the buyer's bank can explain.&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Show as generic&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;Fraud, lost, stolen or block list. Never tell the buyer the real reason.&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The last row matters most. Stripe's guidance for &lt;code&gt;fraudulent&lt;/code&gt;, &lt;code&gt;lost_card&lt;/code&gt;, &lt;code&gt;stolen_card&lt;/code&gt; and &lt;code&gt;merchant_blacklist&lt;/code&gt; is to show a generic decline, so you never tell a fraudster which check caught them.&lt;/p&gt;

&lt;h2&gt;
  
  
  Drop-in mapping
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight javascript"&gt;&lt;code&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;BUCKET&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;fix&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;authentication_required&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;authentication_not_handled&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;duplicate_transaction&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;incorrect_address&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;incorrect_cvc&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;incorrect_number&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;incorrect_pin&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;incorrect_zip&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid_cvc&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid_expiry_month&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid_expiry_year&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid_number&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;invalid_pin&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;offline_pin_required&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;online_or_offline_pin_required&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;mobile_device_authentication_required&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;retry&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;approve_with_id&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;issuer_not_available&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;processing_error&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;reenter_transaction&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;try_again_later&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;otherCard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;card_not_supported&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;expired_card&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;insufficient_funds&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;pin_try_exceeded&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
    &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;testmode_decline&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;withdrawal_count_limit_exceeded&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="na"&gt;generic&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;fraudulent&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;lost_card&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;merchant_blacklist&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;stolen_card&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;],&lt;/span&gt;
  &lt;span class="c1"&gt;// everything else: the bank must say why&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;MESSAGE&lt;/span&gt; &lt;span class="o"&gt;=&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="na"&gt;fix&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Some card details don&lt;/span&gt;&lt;span class="se"&gt;\'&lt;/span&gt;&lt;span class="s1"&gt;t match. Please check them and try again.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;retry&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;We could not approve this payment. Please try again in a moment.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;otherCard&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;This card can&lt;/span&gt;&lt;span class="se"&gt;\'&lt;/span&gt;&lt;span class="s1"&gt;t be used for this payment. Please use another card.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
  &lt;span class="na"&gt;bank&lt;/span&gt;&lt;span class="p"&gt;:&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;Your bank declined this payment. Please contact your bank or use another card.&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt;
&lt;span class="p"&gt;};&lt;/span&gt;

&lt;span class="k"&gt;export&lt;/span&gt; &lt;span class="kd"&gt;function&lt;/span&gt; &lt;span class="nf"&gt;declineMessage&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;code&lt;/span&gt;&lt;span class="p"&gt;)&lt;/span&gt; &lt;span class="p"&gt;{&lt;/span&gt;
  &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;BUCKET&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;generic&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;code&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;MESSAGE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bank&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt; &lt;span class="c1"&gt;// never reveal fraud checks&lt;/span&gt;
  &lt;span class="k"&gt;for &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="kd"&gt;const&lt;/span&gt; &lt;span class="nx"&gt;k&lt;/span&gt; &lt;span class="k"&gt;of&lt;/span&gt; &lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;fix&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;retry&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;,&lt;/span&gt; &lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="s1"&gt;otherCard&lt;/span&gt;&lt;span class="dl"&gt;'&lt;/span&gt;&lt;span class="p"&gt;])&lt;/span&gt; &lt;span class="k"&gt;if &lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;BUCKET&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="p"&gt;].&lt;/span&gt;&lt;span class="nf"&gt;includes&lt;/span&gt;&lt;span class="p"&gt;(&lt;/span&gt;&lt;span class="nx"&gt;code&lt;/span&gt;&lt;span class="p"&gt;))&lt;/span&gt; &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;MESSAGE&lt;/span&gt;&lt;span class="p"&gt;[&lt;/span&gt;&lt;span class="nx"&gt;k&lt;/span&gt;&lt;span class="p"&gt;];&lt;/span&gt;
  &lt;span class="k"&gt;return&lt;/span&gt; &lt;span class="nx"&gt;MESSAGE&lt;/span&gt;&lt;span class="p"&gt;.&lt;/span&gt;&lt;span class="nx"&gt;bank&lt;/span&gt;&lt;span class="p"&gt;;&lt;/span&gt;
&lt;span class="p"&gt;}&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;p&gt;Two refinements worth adding:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;For &lt;code&gt;duplicate_transaction&lt;/code&gt;, tell the buyer to check their email first. The earlier payment may already have gone through.&lt;/li&gt;
&lt;li&gt;For &lt;code&gt;authentication_required&lt;/code&gt; on an off-session renewal, you can't show 3D Secure in the background. Email the customer a link to come back and confirm.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  Test them before buyers do
&lt;/h2&gt;

&lt;p&gt;Many codes have a Stripe test card. A few:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;code&gt;insufficient_funds&lt;/code&gt;: 4000 0000 0000 9995&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;expired_card&lt;/code&gt;: 4000 0000 0000 0069&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;incorrect_cvc&lt;/code&gt;: 4000 0000 0000 0127&lt;/li&gt;
&lt;li&gt;
&lt;code&gt;generic_decline&lt;/code&gt;: 4000 0000 0000 0002&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The full list
&lt;/h2&gt;

&lt;p&gt;All 50 codes, each with its meaning, what to do, a buyer message you can copy and its test card where one exists, are on one searchable page: &lt;a href="https://agentaos.ai/tools/stripe-decline-codes" rel="noopener noreferrer"&gt;Stripe decline codes 2026&lt;/a&gt;. The test cards for every scenario are at &lt;a href="https://agentaos.ai/tools/stripe-test-cards" rel="noopener noreferrer"&gt;Stripe test cards&lt;/a&gt;.&lt;/p&gt;

&lt;p&gt;Disclosure: I build AgentaOS, a merchant of record. The pages above are free and need no account.&lt;/p&gt;

</description>
      <category>stripe</category>
      <category>payments</category>
      <category>javascript</category>
      <category>webdev</category>
    </item>
    <item>
      <title>Ten $100 sales on 7 merchants of record: what actually reaches your bank (Oct 2026)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Mon, 19 Oct 2026 10:09:27 +0000</pubDate>
      <link>https://dev.to/panchei/ten-100-sales-on-7-merchants-of-record-what-actually-reaches-your-bank-oct-2026-53e6</link>
      <guid>https://dev.to/panchei/ten-100-sales-on-7-merchants-of-record-what-actually-reaches-your-bank-oct-2026-53e6</guid>
      <description>&lt;p&gt;Headline fees hide the extras. International cards, subscriptions and payouts all take a cut, and they stack differently on each provider. So we did the plain sum: ten $100 card sales from buyers in the provider's home market, paid out once. Every number comes from the provider's own pricing and docs pages, checked 6 to 19 October 2026.&lt;/p&gt;

&lt;h2&gt;
  
  
  What reaches your bank
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Per sale&lt;/th&gt;
&lt;th&gt;Lands from $1,000&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Dodo Payments&lt;/td&gt;
&lt;td&gt;4% + $0.40&lt;/td&gt;
&lt;td&gt;$931 to $951&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Creem&lt;/td&gt;
&lt;td&gt;3.9% + $0.40&lt;/td&gt;
&lt;td&gt;about $947&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lemon Squeezy&lt;/td&gt;
&lt;td&gt;5% + $0.50&lt;/td&gt;
&lt;td&gt;about $945&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Paddle&lt;/td&gt;
&lt;td&gt;5% + $0.50&lt;/td&gt;
&lt;td&gt;$930 to $945&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;AgentaOS&lt;/td&gt;
&lt;td&gt;4.5% + €0.50&lt;/td&gt;
&lt;td&gt;about €940 (on €1,000)&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Polar&lt;/td&gt;
&lt;td&gt;5% + $0.50 (Starter)&lt;/td&gt;
&lt;td&gt;about $940&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gumroad&lt;/td&gt;
&lt;td&gt;10% + $0.50, plus card fees&lt;/td&gt;
&lt;td&gt;about $863&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The gap between the best and worst is close to $90 on $1,000. Between the top six it is about $20.&lt;/p&gt;

&lt;h2&gt;
  
  
  The extras that change the answer
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;International cards:&lt;/strong&gt; Dodo, Lemon Squeezy, Polar and AgentaOS add 1.5%. Paddle does not.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Subscriptions:&lt;/strong&gt; Dodo and Lemon Squeezy add 0.5% on recurring payments.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Payouts:&lt;/strong&gt; Creem charges $7 or 1%, whichever is higher. Lemon Squeezy is free in the US and 1% elsewhere. Dodo charges $5 below $1,000. Polar passes on Stripe's payout fees ($2 a month plus 0.25% + $0.25 per payout). Paddle is free by SEPA or ACH.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;FastSpring&lt;/strong&gt; does not publish a rate; you get a quote from sales.&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  How to choose
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;If most buyers are outside the provider's home market, add the international surcharge before comparing.&lt;/li&gt;
&lt;li&gt;If you sell subscriptions, add the subscription surcharge.&lt;/li&gt;
&lt;li&gt;If your payouts are small, the fixed payout fee matters more than half a percent.&lt;/li&gt;
&lt;li&gt;Check the provider pays out to your country. Several do not reach the Balkans, Pakistan or parts of Africa.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The data
&lt;/h2&gt;

&lt;p&gt;The full table, with every extra and a link to each provider's price page, is at &lt;a href="https://agentaos.ai/merchant-of-record-fees" rel="noopener noreferrer"&gt;Merchant of Record fees, side by side&lt;/a&gt;, with a free CSV. Reuse it with a credit. If a number is wrong, tell me and I will fix it.&lt;/p&gt;

&lt;p&gt;Disclosure: I build AgentaOS, one of the providers in the table. It is not the cheapest per sale; Creem and Dodo are.&lt;/p&gt;

</description>
      <category>saas</category>
      <category>payments</category>
      <category>indiehackers</category>
      <category>startup</category>
    </item>
    <item>
      <title>Stripe isn't available in 37 of 85 countries we checked. Here is who pays out there (2026 data)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Sat, 17 Oct 2026 14:19:30 +0000</pubDate>
      <link>https://dev.to/panchei/stripe-isnt-available-in-37-of-85-countries-we-checked-here-is-who-pays-out-there-2026-data-lpd</link>
      <guid>https://dev.to/panchei/stripe-isnt-available-in-37-of-85-countries-we-checked-here-is-who-pays-out-there-2026-data-lpd</guid>
      <description>&lt;p&gt;We checked 85 countries against the public country lists of 9 payment providers: Stripe, PayPal, Paddle, Lemon Squeezy, Polar, Creem, Dodo Payments, Gumroad and Wise. Every cell has a note taken from that provider's own list, and the check date is in the file (6 Oct 2026).&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Stripe does not support 37 of the 85.&lt;/strong&gt; That includes Serbia, North Macedonia, Albania, Bosnia and Herzegovina, Kosovo, Montenegro, Moldova, Ukraine, Georgia, Turkey, Egypt, Morocco, Pakistan, Bangladesh, Nepal, Sri Lanka, Vietnam, the Philippines, South Korea, Taiwan, Argentina, Chile, Colombia, Peru and Uruguay.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who pays out in those 37 countries
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Provider&lt;/th&gt;
&lt;th&gt;Yes&lt;/th&gt;
&lt;th&gt;Limited&lt;/th&gt;
&lt;th&gt;No&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;Paddle&lt;/td&gt;
&lt;td&gt;37&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Dodo Payments&lt;/td&gt;
&lt;td&gt;31&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;6&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Creem&lt;/td&gt;
&lt;td&gt;29&lt;/td&gt;
&lt;td&gt;7&lt;/td&gt;
&lt;td&gt;1&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Lemon Squeezy&lt;/td&gt;
&lt;td&gt;28&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Polar&lt;/td&gt;
&lt;td&gt;28&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;9&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Gumroad&lt;/td&gt;
&lt;td&gt;28&lt;/td&gt;
&lt;td&gt;4&lt;/td&gt;
&lt;td&gt;5&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;PayPal&lt;/td&gt;
&lt;td&gt;27&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;td&gt;10&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;Wise&lt;/td&gt;
&lt;td&gt;17&lt;/td&gt;
&lt;td&gt;20&lt;/td&gt;
&lt;td&gt;0&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;"Limited" usually means PayPal payouts only, or an account that can send but not hold money. Paddle's "yes" means the country is not on Paddle's unsupported list; Paddle still reviews every business.&lt;/p&gt;

&lt;h2&gt;
  
  
  What this means if you are in one of them
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;A merchant of record is the usual route.&lt;/strong&gt; It sells to your customer in its own name, handles VAT and sales tax, and pays you out. You do not need a Stripe account or a company abroad.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Check the payout, not the checkout.&lt;/strong&gt; Most providers can charge a card anywhere. The question is whether they can send money to a bank in your country, in which currency, and with what minimum.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Compare the real cost.&lt;/strong&gt; Per-sale fees range from about 3.9% to 10% plus fixed fees, and some add currency conversion and payout fees on top.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  The data
&lt;/h2&gt;

&lt;ul&gt;
&lt;li&gt;CSV and notes: &lt;a href="https://huggingface.co/datasets/agentaos/payment-provider-country-coverage-2026" rel="noopener noreferrer"&gt;Hugging Face&lt;/a&gt; and &lt;a href="https://www.kaggle.com/panchei" rel="noopener noreferrer"&gt;Kaggle&lt;/a&gt;
&lt;/li&gt;
&lt;li&gt;Free to reuse with a credit. If a cell is wrong, tell me and I will fix it in the next monthly check.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Disclosure: I build &lt;a href="https://agentaos.ai/answers/stripe-not-available-in-my-country" rel="noopener noreferrer"&gt;AgentaOS&lt;/a&gt;, a merchant of record that pays out to banks in these countries. The table above includes our competitors as they are; several of them cover more countries than people expect.&lt;/p&gt;

</description>
      <category>stripe</category>
      <category>saas</category>
      <category>payments</category>
      <category>opendata</category>
    </item>
    <item>
      <title>How to let an AI agent set up payments (and who files the VAT)</title>
      <dc:creator>Panche I.</dc:creator>
      <pubDate>Sat, 17 Oct 2026 10:29:19 +0000</pubDate>
      <link>https://dev.to/panchei/how-to-let-an-ai-agent-set-up-payments-and-who-files-the-vat-5728</link>
      <guid>https://dev.to/panchei/how-to-let-an-ai-agent-set-up-payments-and-who-files-the-vat-5728</guid>
      <description>&lt;p&gt;Your AI agent can write a checkout integration in ten minutes. What it can't do is register for VAT in the EU, collect sales tax in US states, and file the returns every quarter. That part is why most "let the agent add payments" demos stop at test mode.&lt;/p&gt;

&lt;p&gt;This post is about the missing piece: a &lt;strong&gt;merchant of record&lt;/strong&gt;, and how to wire one to Claude, ChatGPT or Cursor over MCP.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a merchant of record does
&lt;/h2&gt;

&lt;p&gt;A merchant of record (MoR) is the legal seller on every sale. Your customer buys from the MoR, the MoR pays you out. Because it's the seller, the tax registrations, invoices and chargebacks are its job, not yours. Paddle, Lemon Squeezy, Polar, Creem and AgentaOS all work this way; Stripe on its own doesn't (you stay the seller and file the tax).&lt;/p&gt;

&lt;p&gt;A &lt;strong&gt;merchant of record for AI agents&lt;/strong&gt; is the same thing, except your agent can operate it: create the products, the checkout links and the subscriptions, while the MoR does the selling.&lt;/p&gt;

&lt;h2&gt;
  
  
  Who is who in an agent sale
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Role&lt;/th&gt;
&lt;th&gt;Who&lt;/th&gt;
&lt;th&gt;Does&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;The agent&lt;/td&gt;
&lt;td&gt;Claude, ChatGPT, Cursor&lt;/td&gt;
&lt;td&gt;Creates products and checkouts through a connection you approved&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;You&lt;/td&gt;
&lt;td&gt;The verified business&lt;/td&gt;
&lt;td&gt;Passes the ID check, gets the payout&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;The MoR&lt;/td&gt;
&lt;td&gt;e.g. AgentaOS&lt;/td&gt;
&lt;td&gt;Legal seller on the receipt, charges and files VAT/sales tax, handles disputes&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;p&gt;The agent is never the seller. It acts for a verified business.&lt;/p&gt;

&lt;h2&gt;
  
  
  Wiring it up (MCP)
&lt;/h2&gt;

&lt;p&gt;With AgentaOS the hosted MCP server is &lt;code&gt;https://mcp.agentaos.ai/mcp&lt;/code&gt; (OAuth, no API key to paste):&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;
&lt;strong&gt;Claude.ai / ChatGPT / Cursor:&lt;/strong&gt; add it as a remote MCP connector and approve.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Claude Code:&lt;/strong&gt; &lt;code&gt;/mcp&lt;/code&gt;, pick &lt;code&gt;agentaos&lt;/code&gt;, Authenticate.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;No MCP?&lt;/strong&gt; &lt;code&gt;npm install -g agentaos&lt;/code&gt; for the CLI, or &lt;code&gt;@agentaos/pay&lt;/code&gt; in your server code.&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Then ask: &lt;em&gt;"Add a €29/month Pro plan to my app and give me a checkout link."&lt;/em&gt; The agent creates the product once, returns a hosted checkout link, and you test it with &lt;code&gt;4242 4242 4242 4242&lt;/code&gt;. Real money starts after verification; the same links then take it.&lt;/p&gt;

&lt;h2&gt;
  
  
  Rules I'd give any agent before it touches payments
&lt;/h2&gt;

&lt;ol&gt;
&lt;li&gt;
&lt;strong&gt;Never unlock access on the success redirect.&lt;/strong&gt; Unlock on a verified webhook, or after your server confirms the session status is &lt;code&gt;completed&lt;/code&gt;.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Create the product once, not per buyer.&lt;/strong&gt; A product is your catalogue; a checkout session is one buyer's attempt.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Logged-in users get a server-created checkout&lt;/strong&gt; with your user id in metadata, never the shared payment link.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Never retry a create after an error.&lt;/strong&gt; Check the state first; a timeout isn't a failure.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Card numbers never pass through the agent.&lt;/strong&gt; Buyers type them on the hosted checkout.&lt;/li&gt;
&lt;li&gt;
&lt;strong&gt;Legal and tax details come from the human.&lt;/strong&gt; The agent asks; it never guesses a registration number or accepts a declaration for you.&lt;/li&gt;
&lt;/ol&gt;

&lt;h2&gt;
  
  
  What it costs
&lt;/h2&gt;

&lt;p&gt;MoRs charge more per sale than a raw processor because they carry the tax work. Typical 2026 rates: Creem 3.9% + $0.40, Dodo 4% + $0.40, AgentaOS 4.5% + €0.50 (4% + €0.40 on Pro), Paddle and Lemon Squeezy 5% + $0.50. A side-by-side table with sources and payout fees is here: &lt;a href="https://agentaos.ai/merchant-of-record-fees" rel="noopener noreferrer"&gt;Merchant of Record fees 2026&lt;/a&gt;.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;Disclosure: I build AgentaOS. The open-source SDK, CLI and MCP server are on &lt;a href="https://github.com/AgentaOS/agentaos" rel="noopener noreferrer"&gt;GitHub&lt;/a&gt;. Longer version, with what the agent can and can't do: &lt;a href="https://agentaos.ai/merchant-of-record-for-ai-agents" rel="noopener noreferrer"&gt;Merchant of Record for AI agents&lt;/a&gt;.&lt;/em&gt;&lt;/p&gt;

</description>
      <category>ai</category>
      <category>mcp</category>
      <category>payments</category>
      <category>saas</category>
    </item>
  </channel>
</rss>
