Closed Goosse closed 9 years ago
Thanks for the report @Goosse -- I'll see if I can reproduce.
@Goosse -- Did you also change the $defaultName
variable inside the paypalwithshipping.php file?
protected $defaultName = "PayPalWithShipping";
This tells webstore what the call the payment provider in the admin form.
I was able to see my new payment extension in the admin after having done that. Before changing that, I just had two entries for PayPal.
If that doesn't work, can you also run php -l
on your new files to make sure there are no syntax errors in them?
let me know if that helps.
hmm... Yes I have changed $defaultName. I also just ran php -l and no errors were found.
I just did a clean install, and I still can't get this to work...
I guess I must have had an old copy of the paypal shipping module. I started comparing mine with the original paypal module, and it was much different... I'm not sure how that happened, but once I updated mine to the new, it appears to be working fine. Thanks @gabeguz
Great to hear @Goosse!
Following instruction at https://github.com/lightspeedretail/webstore/wiki/Creating-a-Web-Store-3-Payment-Module
I have made direct copy of the paypal payment extension and only changed the pertinent names(file name and class name) and placed them in correct directory paths as shown in screen shot.
Nothing I do makes it show up in the admin panel.