Conversation
feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService
- test handle_missing_customer - test update <- placeholder
This reverts commit ec73267.
- test update_payment_status - test generate_payment_url - remove useless code
51c4572 to
af620a4
Compare
fcd32ca to
cc97b2d
Compare
shahwan42
added a commit
that referenced
this pull request
Mar 17, 2025
feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService Addressing PR comments (#5) * feat: moneyhash provider feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService * Remove Useless assignment variable * Add moneyhash_provider tests * Add MoneyhashCustomer tests * WIP: CLEANUP FIRST * Fix: Add moneyhahs payment_type * Fix: Handle intent.processed webhook type * Fix auto-payments for new invoices in a subscription * test HandleIncomingWebhook triggers HandleEventJob * Test webhook handle_event for processed intent & card_token created * refactor: split events handling tests * Test card_token.updated handling * Test #handle_transaction_event * Test transaction.purchase.failed * rename pending > pending_authentication * fix Rubocop complaint * Test PaymentProviderCustomers::MoneyhashService#create * Join address lines when sending to moneyhash * Fix when moneyhash returns correct class * Test intent.time_expired event handling * remove logging * test pending_authentication event handling * Remove generate_checkout_url: Not supported by moneyhash * Add custom_fields during MH customer creation * Test update_payment_method - test handle_missing_customer - test update <- placeholder * Update custom_fields & minor refactor * Test MH payment's CreateService * refactor MH's CreateService * Revert "Remove generate_checkout_url: Not supported by moneyhash" This reverts commit ec73267. * Update checkout_url generation with agreement_id & refactor * Update agreement_id & Add more custom_fields * refactor * Support All invoice types for automatic payments * Test card_token.deleted event handling & fix probable bug * Fix successful status * re-assign invoice if it's not set already * Mock checkout_url generation * Fix payment_type for automatic payments * Test Invoices::PaymentsMoneyhashService - test update_payment_status - test generate_payment_url - remove useless code * Cleanup * Lago->MH status mapping * Refine CreateService & its tests * Improve payment_status & payable_payment_status handling * Send more custom_fields with MoneyHash calls * Refactor moneyhash webhook interface to new architecture * Fix handle_incoming_webhook_service_spec * Fix webhook issues due to refactor * Fix moneyhash webhook controller test * tokenize card conditionally for invoice payment_url * Extract all possible billing data from the customer * refactor custom_fields extraction * update where to get amount_cents from during payment * Test payment_requests/moneyhash_service * Fix tests after refactoring billing_data/custom_fields extraction * Fix test after defaulting payable
shahwan42
added a commit
that referenced
this pull request
Mar 28, 2025
feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService Addressing PR comments (#5) * feat: moneyhash provider feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService * Remove Useless assignment variable * Add moneyhash_provider tests * Add MoneyhashCustomer tests * WIP: CLEANUP FIRST * Fix: Add moneyhahs payment_type * Fix: Handle intent.processed webhook type * Fix auto-payments for new invoices in a subscription * test HandleIncomingWebhook triggers HandleEventJob * Test webhook handle_event for processed intent & card_token created * refactor: split events handling tests * Test card_token.updated handling * Test #handle_transaction_event * Test transaction.purchase.failed * rename pending > pending_authentication * fix Rubocop complaint * Test PaymentProviderCustomers::MoneyhashService#create * Join address lines when sending to moneyhash * Fix when moneyhash returns correct class * Test intent.time_expired event handling * remove logging * test pending_authentication event handling * Remove generate_checkout_url: Not supported by moneyhash * Add custom_fields during MH customer creation * Test update_payment_method - test handle_missing_customer - test update <- placeholder * Update custom_fields & minor refactor * Test MH payment's CreateService * refactor MH's CreateService * Revert "Remove generate_checkout_url: Not supported by moneyhash" This reverts commit ec73267. * Update checkout_url generation with agreement_id & refactor * Update agreement_id & Add more custom_fields * refactor * Support All invoice types for automatic payments * Test card_token.deleted event handling & fix probable bug * Fix successful status * re-assign invoice if it's not set already * Mock checkout_url generation * Fix payment_type for automatic payments * Test Invoices::PaymentsMoneyhashService - test update_payment_status - test generate_payment_url - remove useless code * Cleanup * Lago->MH status mapping * Refine CreateService & its tests * Improve payment_status & payable_payment_status handling * Send more custom_fields with MoneyHash calls * Refactor moneyhash webhook interface to new architecture * Fix handle_incoming_webhook_service_spec * Fix webhook issues due to refactor * Fix moneyhash webhook controller test * tokenize card conditionally for invoice payment_url * Extract all possible billing data from the customer * refactor custom_fields extraction * update where to get amount_cents from during payment * Test payment_requests/moneyhash_service * Fix tests after refactoring billing_data/custom_fields extraction * Fix test after defaulting payable MH Signature verfication (#6) * Remove useless statement * Remove useless statement * validate moneyhash's webhook signature - save signature_key during moneyhash connection creation - use saved signature_key to validate incoming signature_key * Fix MH webhook controller test
shahwan42
added a commit
that referenced
this pull request
Mar 28, 2025
feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService Addressing PR comments (#5) * feat: moneyhash provider feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService * Remove Useless assignment variable * Add moneyhash_provider tests * Add MoneyhashCustomer tests * WIP: CLEANUP FIRST * Fix: Add moneyhahs payment_type * Fix: Handle intent.processed webhook type * Fix auto-payments for new invoices in a subscription * test HandleIncomingWebhook triggers HandleEventJob * Test webhook handle_event for processed intent & card_token created * refactor: split events handling tests * Test card_token.updated handling * Test #handle_transaction_event * Test transaction.purchase.failed * rename pending > pending_authentication * fix Rubocop complaint * Test PaymentProviderCustomers::MoneyhashService#create * Join address lines when sending to moneyhash * Fix when moneyhash returns correct class * Test intent.time_expired event handling * remove logging * test pending_authentication event handling * Remove generate_checkout_url: Not supported by moneyhash * Add custom_fields during MH customer creation * Test update_payment_method - test handle_missing_customer - test update <- placeholder * Update custom_fields & minor refactor * Test MH payment's CreateService * refactor MH's CreateService * Revert "Remove generate_checkout_url: Not supported by moneyhash" This reverts commit ec73267. * Update checkout_url generation with agreement_id & refactor * Update agreement_id & Add more custom_fields * refactor * Support All invoice types for automatic payments * Test card_token.deleted event handling & fix probable bug * Fix successful status * re-assign invoice if it's not set already * Mock checkout_url generation * Fix payment_type for automatic payments * Test Invoices::PaymentsMoneyhashService - test update_payment_status - test generate_payment_url - remove useless code * Cleanup * Lago->MH status mapping * Refine CreateService & its tests * Improve payment_status & payable_payment_status handling * Send more custom_fields with MoneyHash calls * Refactor moneyhash webhook interface to new architecture * Fix handle_incoming_webhook_service_spec * Fix webhook issues due to refactor * Fix moneyhash webhook controller test * tokenize card conditionally for invoice payment_url * Extract all possible billing data from the customer * refactor custom_fields extraction * update where to get amount_cents from during payment * Test payment_requests/moneyhash_service * Fix tests after refactoring billing_data/custom_fields extraction * Fix test after defaulting payable MH Signature verfication (#6) * Remove useless statement * Remove useless statement * validate moneyhash's webhook signature - save signature_key during moneyhash connection creation - use saved signature_key to validate incoming signature_key * Fix MH webhook controller test
shahwan42
added a commit
that referenced
this pull request
Mar 28, 2025
feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService Addressing PR comments (#5) * feat: moneyhash provider feat(moneyhash): generate graphql schema for moneyhash fix(moneyhash) customer creation fix(moneyhash): webhook feat(moneyhash): update required fields for connection creation/update feat(moneyhash): build webhook_end_point based on LAGO_API_URL feat(moneyhash): Use flow_id if exists fix(moneyhash): correct amount before sending it feat(moneyhash): remove redirect_url cleanup: remove commented code feat(moneyhash): make flow_id required during connection creation feat(moneyhash): Only use flow_id instead of operation feat(moneyhash): add more to custom_fields feat(moneyhash): Implement moneyhash/payments/create_service fix(moneyhash): get agreement_id from subscription_external_id fix(payment_providers): possible types regenerate graphql schema fix formatting according to rubocop revert unrelated change shorten Types::Customers::Object#provider_customer better refactor Types::Customers::Object#provider_customer feat(moneyhash): put-back-success-url-field Expected by code shared between providers feat(moneyhash): revert a refactor, disable rubocop rule cleanup: remove unncessary newline remove potential duplicate email calls Send email when can't create a payment, too Fix payment_url for one-off invoices Remove expire_after_seconds for invoice payments Revamp PaymentProviders::Moneyhash::Payments::CreateService * Remove Useless assignment variable * Add moneyhash_provider tests * Add MoneyhashCustomer tests * WIP: CLEANUP FIRST * Fix: Add moneyhahs payment_type * Fix: Handle intent.processed webhook type * Fix auto-payments for new invoices in a subscription * test HandleIncomingWebhook triggers HandleEventJob * Test webhook handle_event for processed intent & card_token created * refactor: split events handling tests * Test card_token.updated handling * Test #handle_transaction_event * Test transaction.purchase.failed * rename pending > pending_authentication * fix Rubocop complaint * Test PaymentProviderCustomers::MoneyhashService#create * Join address lines when sending to moneyhash * Fix when moneyhash returns correct class * Test intent.time_expired event handling * remove logging * test pending_authentication event handling * Remove generate_checkout_url: Not supported by moneyhash * Add custom_fields during MH customer creation * Test update_payment_method - test handle_missing_customer - test update <- placeholder * Update custom_fields & minor refactor * Test MH payment's CreateService * refactor MH's CreateService * Revert "Remove generate_checkout_url: Not supported by moneyhash" This reverts commit ec73267. * Update checkout_url generation with agreement_id & refactor * Update agreement_id & Add more custom_fields * refactor * Support All invoice types for automatic payments * Test card_token.deleted event handling & fix probable bug * Fix successful status * re-assign invoice if it's not set already * Mock checkout_url generation * Fix payment_type for automatic payments * Test Invoices::PaymentsMoneyhashService - test update_payment_status - test generate_payment_url - remove useless code * Cleanup * Lago->MH status mapping * Refine CreateService & its tests * Improve payment_status & payable_payment_status handling * Send more custom_fields with MoneyHash calls * Refactor moneyhash webhook interface to new architecture * Fix handle_incoming_webhook_service_spec * Fix webhook issues due to refactor * Fix moneyhash webhook controller test * tokenize card conditionally for invoice payment_url * Extract all possible billing data from the customer * refactor custom_fields extraction * update where to get amount_cents from during payment * Test payment_requests/moneyhash_service * Fix tests after refactoring billing_data/custom_fields extraction * Fix test after defaulting payable MH Signature verfication (#6) * Remove useless statement * Remove useless statement * validate moneyhash's webhook signature - save signature_key during moneyhash connection creation - use saved signature_key to validate incoming signature_key * Fix MH webhook controller test
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Roadmap Task
👉 https://getlago.canny.io/feature-requests/p/{{FEATURE_SLUG}}
Context
Include relevant motivation and context.
Description
Describe your changes in detail.
List any dependencies that are required.