Allow Placeholders in redirectURL (i.e.: invoice-id, payment status, etc.)
See original GitHub issueAt the moment the redirectURL is presented after succesfull and expired invoices. While not complying with the specification of the BitPay API documentation (only present on success), we could use it as a universal payment completion URL if we had placeholders in there.
Especially useful would be invoice-id
and ´payment-status´ as placeholders to put anywhere in the redirectURL.
Extending the redirectURL with {placeholders}
would not break API compatibility to BitPay, but yet would allow the payment completion page to respond to succesfull or unsucesful payments.
For reference, this has been discussed on here.
Issue Analytics
- State:
- Created 5 years ago
- Reactions:2
- Comments:6 (3 by maintainers)
Top Results From Across the Web
RedirectUrl shown on expired Invoice · Issue #165
Long story short: We need a {placeholder} for status and hopefully invoice-id to put in the RedirectUrl if the user wishes to use...
Read more >BTCPay Greenfield API (v1)
Whether to redirect user to redirect URL automatically once invoice is paid. Defaults to what is set in the store settings. requiresRefundEmail.
Read more >Reference | Braintree GraphQL API
Create a detached refund (unassociated with any previous Braintree payment) to a credit card and return a payload that includes details of the...
Read more >Paytium: Mollie payment forms & donations - Plugins
Accept donations or create a small webshop. Paytium supports one-time payments and subscriptions/recurring payments. Accept popular payment methods. Besides ...
Read more >Xendit API Reference - Jakarta
This allows you to verify that the events were sent by Xendit, ... Invoice Id, The id of the invoice, if this transaction...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Working on it
@Kukks Yes that would be possible if I would use some kind of checkout process etc. but like I said I’m mainly using the POS “app” only - with its integrated card. It handles everything and there is no way for me to “intervene” imho and add anything custom like this. It would be possible if I could change any invoice attributes from the IPN via REST API or similar but I didn’t see any possibility of that either, so imho (optionally) adding the invoice ID to redirect URL would be the easiest and cleanest way of solving this.