Skip to content

module draft with HPP integration#55

Closed
konrad-konieczny wants to merge 168 commits intomain-2.0.0from
develop-2.0.0
Closed

module draft with HPP integration#55
konrad-konieczny wants to merge 168 commits intomain-2.0.0from
develop-2.0.0

Conversation

@konrad-konieczny
Copy link
Collaborator

No description provided.

bartoszkaluzny-solteq and others added 30 commits January 27, 2025 13:10
SQNETS-40: Fix config virtual type
# Conflicts:
#	Gateway/Config/Config.php
SQNETS-32: Create admin view for the module
if ($redirectUrl) {
$result = json_encode(['result' => $result, 'redirect_url' => $redirectUrl]);
}
} catch (Exception $e) {
Copy link

Choose a reason for hiding this comment

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

what is the Exception that is expected in the code above?

return Component.extend({
defaults: {
template: 'Nexi_Checkout/payment/nexi',
template: window.checkoutConfig.payment.nexi.integrationType ? 'Nexi_Checkout/payment/nexi-hosted' : 'Nexi_Checkout/payment/nexi-embedded.html',
Copy link

Choose a reason for hiding this comment

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

is the html at the end nexi-embedded.html needed?
and please use isHosted method that you added

Copy link
Collaborator Author

@konrad-konieczny konrad-konieczny May 20, 2025

Choose a reason for hiding this comment

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

the isHosted method seem to not known at this time of creating component, so direct access to checkout config needed here

Copy link
Collaborator Author

Choose a reason for hiding this comment

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

and the nexi-embedded template added here for the sake of future use within embedded checkout

konrad-konieczny pushed a commit that referenced this pull request Aug 12, 2025
SQNETS-102: Add Void command to cancel payment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants