Skip to main content
Solved

Not seeing plug Payment Processor plugin on R2 instance


Forum|alt.badge.img

I added my ICCProcessingPlugin in the R2 instance that was working on the R1 instance. When I try to create a Processing center I am not seeing the plug in I created as an option (see screen shot) would anyone be able to advise?

 

Best answer by andriitkachenko

Hi @Merch 

I’ve been investigating the similar question:

It sounds you have the same issue as safetynetweb. To avoid repeating the solution, please see my answer to it:

 

View original
Did this topic help you find an answer to your question?

23 replies

Forum|alt.badge.img
  • Author
  • 41 replies
  • May 12, 2024

this is the 23 r2 instance


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • May 13, 2024

@Merch make sure you have ‘custom plugin’ turned on on the Enable/Disable Features screen.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 14, 2024

 


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 14, 2024

it is turned on


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • May 14, 2024

@Merch did you recompile the dll for the new version?


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 14, 2024

no how do i do that?


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • May 15, 2024

@Merch you need to open the source code in visual studio, replace the references with the new version taken from 23r2 instance and build it. Then replace the files in the customization package. 


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 15, 2024

I always work off of the console in acumatica and then just publish the plug in . Why would i need to modify the dll if i created a new instance sandbox and created a new plug in? wouldnt that happen automatically?


Dmitrii Naumov
Acumatica Moderator
Forum|alt.badge.img+6
  • Acumatica Moderator
  • 595 replies
  • May 15, 2024

@Merch if you publish it as a code file and not as a dll, then yes, you should not need to recompile anything. I’m not sure what else may be the case there.

 

P.S. Although I am not sure if a Credit Card plugin can be detected from the code files and not from a dll at all.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 15, 2024

@Evgeny Afanasiev , would it be possible to advise?


Evgeny Afanasiev
Acumatica Moderator
Forum|alt.badge.img

@Merch,
If the Custom Payment Plug-in Feature is enabled and you have a valid implementation of CCProcessingBase.Interfaces.V2.ICCProcessingPlugin interface I would expect that Type selector on the processing screen would populate.

The selector is populated by ProcCenterByPluginTypesSelectorAttribute which is custom selector, that using PXBuildManager (and reflection in it), it basically collects all the implementation of “CCProcessingBase.Interfaces.V2.ICCProcessingPlugin” and skips the disabled ones. Based on the screenshot you’ve provided, it should not skip your custom plugin. So most probably it just was not found at all. I agree with Dmitrii - that the issue could be that the plug-in implemented in Code file and not as DLL. You can try to specify full namespace of interface when inheriting (maybe will help to find the class in App_Runtime), and recycle pool do iis reset to ensure that attributes reinitialized, but for such a solution as Credit Card Plug-in I would recommend to use DLL and not a code item.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 17, 2024

 

@Dmitrii Naumov @Evgeny Afanasiev .

Thank you for all your help

I created an extension library and added the public class ProcessingStartup : CCProcessingBase.Interfaces.V2.ICCProcessingPlugin instead of public class ProcessingStartup : ICCProcessingPlugin as you recommended. when I try start i am seeing many of these errors.

see attached screenshot


Evgeny Afanasiev
Acumatica Moderator
Forum|alt.badge.img

Hi @Merch,

When you compiling a dll for Acumatica, you should reference needed assemblies from the Bin folder of Acumatica site of same major version with the target instance. T200 training might be useful, I think it covers at least partially how to build and debug customization in VS: https://openuni.acumatica.com/courses/development/


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 20, 2024

@Evgeny Afanasiev @Dmitrii Naumov . After compiling it into an extension I am still having the same issue .. what do you think this could be ? at a total loss here


Evgeny Afanasiev
Acumatica Moderator
Forum|alt.badge.img

Hi @Merch, after the DLL with your project is compiled, it should be placed in the Bin folder of the site. IIS will recompile the site, as content of Bin folder changed and you should see you plug-in in the list, once site become available.
Then you need to add this DLL in the Bin folder as a File in the customization project, so you can export it as customization package and upload/publish it to other instances.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 21, 2024

@Evgeny Afanasiev I did that. When inspecting the trace i am seeing this error

So i do think its detecting the plug in but then error shortly after.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 21, 2024

never mind i am seeing that even when i unpublish the plugin


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 21, 2024

I see on github you used ADCP would that be related to anything?


Evgeny Afanasiev
Acumatica Moderator
Forum|alt.badge.img

Hi @Merch,

No, ADCP is just initials for Acumatica Demo Card Plugin. The only guess I have left is the class you’ve derived from the ICCProcessingPlugin does not have a public access modifier. If it is in place, I’d recommend to create a support case and provide the code that not working for review.


Forum|alt.badge.img
  • Author
  • 41 replies
  • May 22, 2024

@Evgeny Afanasiev After playing around with it I got it to show up!

Now though when I click on it I am getting a strange FileLoadException error. 

 


Chris Hackett
Community Manager
Forum|alt.badge.img
  • Acumatica Community Manager
  • 2640 replies
  • July 2, 2024

Hi @Merch were you able to find a solution? Thank you!


Forum|alt.badge.img
  • Author
  • 41 replies
  • July 3, 2024

@Chris Hackett  No im still stuck on this :(


andriitkachenko
Jr Varsity I
Forum|alt.badge.img+5
  • Jr Varsity I
  • 106 replies
  • Answer
  • September 19, 2024

Hi @Merch 

I’ve been investigating the similar question:

It sounds you have the same issue as safetynetweb. To avoid repeating the solution, please see my answer to it:

 


Reply


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings