question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Allow Placeholders in redirectURL (i.e.: invoice-id, payment status, etc.)

See original GitHub issue

At 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:closed
  • Created 5 years ago
  • Reactions:2
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
NicolasDoriercommented, Sep 2, 2019

Working on it

0reactions
conando2000commented, Sep 1, 2019

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found