Revolut Payment and nodeJS

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
1 anno tempo fa
What plugin did you copy to start with ?
You make the code in the file to migrate elements between plugin versions
Do you need that file ?
If so setup the attribute
If not you can remove that file
1 anno tempo fa
Yidna wrote:
What plugin did you copy to start with ?
You make the code in the file to migrate elements between plugin versions
Do you need that file ?
If so setup the attribute
If not you can remove that file


I used the VS template, I did not setup that file. I am developing a Payment Plugin.
1 anno tempo fa
Yes I know its a Payment Pluign
I was going to look at the code you are using and see if it does aything
If you are making a payment pluign - best start with another payment plugin and use it as a template and change it

jmonreal wrote:
Is a file called SchemaMigration.cs and it has information regards the plugin. How is this file generated?

Do you need that file ?
If so setup the attribute
If not you can remove that file
1 anno tempo fa
I don't need it so I removed it

I am following the same schema as Paypal Smart Payment Buttons. Now for no reason is not possible to reference ConfigurationModel from the cshtml.


are you missing a using directive or an assembly reference?


Any idea what should I do?
1 anno tempo fa
jmonreal wrote:
I am following the same schema as Paypal Smart Payment Buttons

Paypal Smart Payment Buttons does not have a SchemaMigration.cs ??
Anyway you worked it out

jmonreal wrote:
Now for no reason is not possible to reference ConfigurationModel from the cshtml

Do you have a _ViewImports.cshtml file with the refernce to the model
i.e. @using Nop.Plugin.Payments.PayPalSmartPaymentButtons.Models
1 anno tempo fa
Yidna wrote:

Do you have a _ViewImports.cshtml file with the refernce to the model
i.e. @using Nop.Plugin.Payments.PayPalSmartPaymentButtons.Models


Aah for that is that file, ok. I will take a look at that.
Thank you for the help.
1 anno tempo fa
What could I be missing that the plugin after installed does not show in the Payment Methods page?
I have a Configure.cshtml, the plugin json file has as Group: "Payment methods"

What other file should I edit to be able to see the payment method?
1 anno tempo fa
Make sure your 'payment processor' class inherits from IPaymentMethod.
(what payment plugin did you copy as a template?)

Check the System > Log for any errors?
1 anno tempo fa
I do have IPaymentMethod and IWidegetPlugin.
I started it from the template provided in the documentation, and I am following Paypal structure and files.

Logs show all good.

I still dont see the "configure button" once the plugin is install (Local Plugin section) and in Payment Methods it doesn't show up either.

I must be missing something somewhere, I still haven't understand quite well the flow for this part of developing plugins.
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.