Grails 3.0.8 PayPal:button not shown -


i try add paypal button in grails 3 app. haven't found howto's grails 3 tried 1 grails 2 (https://grails.org/wiki/paypal%20plugin).

step 1) install plugin. in grails 2:

grails install-plugin paypal 

this not working in grails 3. there install command, doesn't accept paypal parameter. added

dependencies {     .     .     .     compile 'com.paypal.sdk:paypal-core:1.6.9'     compile 'com.paypal.sdk:buttonmanagersdk:2.6.106' } 

to build.gradle. wrong way add paypal plugin ?

step 2) configure constants. in grails 2 edit config.groovy:

environments {     production {         grails.paypal.server = "https://www.paypal.com/cgi-bin/webscr"         grails.paypal.email = "example@business.com"         grails.serverurl = "http://www.grails.org"            }      development {          grails.paypal.server = "https://www.sandbox.paypal.com/cgi-bin/webscr"          grails.paypal.email = "testpp_1211202427_biz@g2one.com"          grails.serverurl = "http://812.99.101.131"                 } } 

config.groovy not used in grails 3 added following application.yml

environments:     development:         grails.paypal.server : https://www.sandbox.paypal.com/cgi-bin/webscr         grails.paypal.email : example@business.com         grails.serverurl : http://www.grails.org 

do have configure elsewhere ?

step 3) create paypal button. should same in grails 2 , 3 add:

<paypal:button  itemname="name" itemnumber="thenumber" transactionid="thetransactionid" amount="1337,00" discountamount="0" buyerid="theid" /> 

to gsp file. have include paypal taglib (it's not included in example) ?

when test app got

<paypal:button  itemname="name" itemnumber="thenumber" transactionid="thetransactionid" amount="1337,00" discountamount="0" buyerid="theid" /> 

in html.

what have paypal button working ?

regards kai


Comments

Popular posts from this blog

1111. appearing after print sequence - php -

java - WARN : org.springframework.web.servlet.PageNotFound - No mapping found for HTTP request with URI [/board/] in DispatcherServlet with name 'appServlet' -

Ruby on Rails, ActiveRecord, Postgres, UTF-8 and ASCII-8BIT encodings -