Skip to content

0.13.0 - Redirect checkout

Choose a tag to compare

@modulout modulout released this 22 Oct 15:36
· 30 commits to main since this release

Added

  • Redirect checkout. returnUrl on createPayment() and createPaymentLink(): after paying, the
    hosted checkout sends the buyer back with p2flux_reference, p2flux_tx and p2flux_status in
    the query. Every create result now carries checkoutUrl, the hosted page to send the buyer to.
    resolvePayment() and link terms report returnUrl. An older API leaves both out. (https://p2flux.com/docs/payments.html#return)

npm: npm i @p2flux/sdk@0.13.0