[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"questions:item:en:how-to-test-payments-before-launch":3},{"id":4,"title":5,"answer":6,"body":7,"category":83,"description":84,"extension":85,"meta":86,"modifiedAt":87,"navigation":88,"pairId":89,"path":90,"publishedAt":91,"question":92,"relatedPath":93,"seo":94,"seoTitle":95,"sitemap":96,"slug":97,"stem":98,"translationSlug":99,"__hash__":100},"questions_en\u002Fen\u002Fquestions\u002Fhow-to-test-payments-before-launch.md","How To Test Payments Before Launch","Testing a successful payment is not enough: declines, refunds and repeat notifications are what usually break in production. Walk each scenario end to end — from creating the payment to what your own system finally shows.",{"type":8,"value":9,"toc":77},"minimark",[10,13,18,53,57,68],[11,12,6],"p",{},[14,15,17],"h2",{"id":16},"scenarios-to-walk-through","Scenarios to walk through",[19,20,21,29,35,41,47],"ul",{},[22,23,24,28],"li",{},[25,26,27],"strong",{},"Successful payment."," The order becomes paid and the receipt reaches the buyer.",[22,30,31,34],{},[25,32,33],{},"Decline."," The buyer sees a clear message and the order is not marked paid.",[22,36,37,40],{},[25,38,39],{},"Refund."," Both full and partial — check the amounts match what you expect.",[22,42,43,46],{},[25,44,45],{},"Repeat notification."," A second message about the same payment must not change the order twice.",[22,48,49,52],{},[25,50,51],{},"Unreachable handler."," Make sure an order can still be closed by fetching the status manually.",[14,54,56],{"id":55},"before-live-traffic","Before live traffic",[19,58,59,62,65],{},[22,60,61],{},"The keys in settings belong to the live store, not a test one.",[22,63,64],{},"The notification address points at production, not a developer tunnel.",[22,66,67],{},"Logging of incoming notifications is on — without it incidents are unexplainable.",[11,69,70,71,76],{},"You can see what checkout looks like for a buyer on the ",[72,73,75],"a",{"href":74},"\u002Fen\u002Fdemo-payment","demo page",".",{"title":78,"searchDepth":79,"depth":79,"links":80},"",2,[81,82],{"id":16,"depth":79,"text":17},{"id":55,"depth":79,"text":56},"operations","Test more than a successful payment: declines, refunds and repeat notifications break more often. The scenarios worth walking through.","md",{},null,true,"question-61","\u002Fen\u002Fquestions\u002Fhow-to-test-payments-before-launch","2026-08-17","How do I test payments before launch?","\u002Fen\u002Fpayment-api",{"description":84},"How to test payments before going live",{"loc":90},"how-to-test-payments-before-launch","en\u002Fquestions\u002Fhow-to-test-payments-before-launch","kak-protestirovat-priem-platezhey","fs30sFMn6GIc8BgKFZmJFJAi4vkAQvl8BLgovNoBLNI"]