Repository navigation
0.13.0 - Redirect checkout
Added
- Redirect checkout.
returnUrloncreatePayment()andcreatePaymentLink(): after paying, the
hosted checkout sends the buyer back withp2flux_reference,p2flux_txandp2flux_statusin
the query. Every create result now carriescheckoutUrl, the hosted page to send the buyer to.
resolvePayment()and link terms reportreturnUrl. An older API leaves both out. (https://p2flux.com/docs/payments.html#return)
npm: npm i @p2flux/sdk@0.13.0