Skip to content

adding sending / receiving vasp methods for demo #204

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Merged

Conversation

matthappens
Copy link
Contributor

@matthappens matthappens commented Sep 4, 2024

Initial commit - rename vasp1 & vasp 2 to sending/receiving vasp, add skeleton methods for new routes

Copy link
Contributor Author

matthappens commented Sep 4, 2024

This stack of pull requests is managed by Graphite. Learn more about stacking.

Join @matthappens and the rest of your teammates on Graphite Graphite

@matthappens matthappens marked this pull request as ready for review September 4, 2024 02:27
@@ -38,7 +38,7 @@ import me.uma.protocol.createCounterPartyDataOptions
import me.uma.protocol.createPayeeData
import me.uma.protocol.identifier

class Vasp2(
class ReceivingVasp(
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good call :-)

call.debugLog(sendingVasp.payInvoice(call))
}

post("/api/uma/request_and_pay_invoice") {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this should really be request_invoice_payment or something. It's not actually paying the invoice, but rather, just sending a notification to the user for them to trigger a payment. Feel free to find a name you think fits better. Would be good to align all of the demo vasps with the same routes.

@matthappens matthappens force-pushed the 09-03-adding_sending___receiving_vasp_methods_for_demo branch from e71c36c to 9817cd7 Compare September 11, 2024 00:10
@matthappens matthappens merged commit ccb0550 into develop Sep 11, 2024
1 check passed
@matthappens matthappens deleted the 09-03-adding_sending___receiving_vasp_methods_for_demo branch September 11, 2024 00:12
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants