Error: can not access Payment


#1

I created a jar file and I am getting this error

error: cannot access Payment
bad class file …paynow.jar (webdev/payments/Payment.class)
class file has wrong version 54.0 , should be 52.0
please remove or make sure it appears in correct sub directory of class path


#2

HI @codza, thanks so much for contacting us. Please note that you can now add PayNow as a Maven dependency. Kindly refer to the post Maven settings not recognised for details on how to add it as a Dependency or, refer here in the docs.