Replying to Avatar SoapMiner

nostr:npub1nkmta4dmsa7pj25762qxa6yqxvrhzn7ug0gz5frp9g7p3jdscnhsu049fn Hey, I just received this email from a previous customer.

"I ordered some more soap from your Cypher space site this time. Zeus shows the invoice was paid, but the site still says "waiting for payment." I wanted to confirm that it went through. Order ID is #vp01xzqhdn."

I actually did receive the payment, but when I went to look for who the customer was, shipping address, what they ordered. I couldn't find anything. Please help. Thank you in advance.

Hey nostr:npub1getal6ykt05fsz5nqu4uld09nfj3y3qxmv8crys4aeut53unfvlqr80nfm, is Bitcoin Connect still being maintained? The modal doesn’t indicate paid when the invoice is paid from an external wallet (it just keeps waiting).

Cc: nostr:npub1zk6u7mxlflguqteghn8q7xtu47hyerruv6379c36l8lxzzr4x90q0gl6ef nostr:npub1xv8mzscll8vvy5rsdw7dcqtd2j268a6yupr6gzqh86f2ulhy9kkqmclk3x

Reply to this note

Please Login to reply.

Discussion

I've had a few problems with hello@ably over the past cpl days.

Same issue? Or different?

The app implementing Bitcoin Connect needs to poll the invoice to check for external payments. What app was this?

Can you give me an example of this? I could possibly try it out.

The app is nostr:npub1nkmta4dmsa7pj25762qxa6yqxvrhzn7ug0gz5frp9g7p3jdscnhsu049fn but I don’t think any check is being done.

Here are the links to the original files:

https://github.com/sovbiz/Cypher-Nostr-Edition/blob/main/components/Bcbutton.vue

https://github.com/sovbiz/Cypher-Nostr-Edition/blob/main/components/Cart/Bitcoinconnect.vue (line 849 is where the Bcbutton component is used)

The screenshots show my modifications to those two files where I tried setting a handler for the bc:onpaid event, but it doesn’t fire. Maybe I did it wrong. 😄

You probably have to use the bc-pay-button instead and add the preimage attribute once you receive a payment. https://github.com/getAlby/bitcoin-connect?tab=readme-ov-file#components

The bitcoin connect dev tools have an example of this (polling for an external payment and then setting the preimage to update the button)

I’ll check it out. Thanks Roland. 🙏