Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

PW-6485-OMSRefactoring #18

Merged
merged 3 commits into from
Dec 30, 2022

Conversation

vkuncham
Copy link
Contributor

Summary

Tested scenarios

Fixed issue:

@@ -29,7 +29,7 @@ public with sharing class AdyenClient {

private HttpResponse sendRequest(HttpRequest request){
Http httpClient = new Http();
return httpClient.send(request);
return (new CommercePayments.PaymentsHttp()).send(request);
Copy link
Member

Choose a reason for hiding this comment

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

Can we safely replace the httpClient for new CommercePayments.PaymentsHttp() for all packages? If so, we can also remove the declaration of httpClient.

Copy link
Contributor

Choose a reason for hiding this comment

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

Done. Yes, it is safe to replace.

@ShubhamVijaivargiya ShubhamVijaivargiya merged commit 31148ac into develop Dec 30, 2022
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.

4 participants