提交 4226fb11 authored 作者: 吴德鹏's avatar 吴德鹏

paypal payment

上级 d91fe1f2
......@@ -18,6 +18,7 @@ import org.apache.commons.lang3.StringUtils;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.transaction.annotation.Transactional;
import org.springframework.web.bind.annotation.*;
import javax.servlet.http.HttpServletRequest;
......@@ -39,6 +40,7 @@ import java.util.Optional;
*/
@RestController
@RequestMapping(value = "/paypal")
@Transactional
public class PaypalContoller {
private static Logger logger = LoggerFactory.getLogger(PaypalContoller.class);
......
......@@ -76,8 +76,8 @@ flutter:
#paypal支付配置
paypal:
success_url: https://app.afrieshop.com/zion/paypal/success
cancel_url: https://app.afrieshop.com/zion/paypal/cancel
success_url: https://app.afrieshop.com/afrishop/paypal/success
cancel_url: https://app.afrieshop.com/afrishop/paypal/cancel
client_app: AXD2kJ8UK9Z-8XnztFF6H4_G3t3fPE9xWrMDV7GoAwuWIw9Z32_7vsrLeDDPFJeAyr7KdZyBYuyqRsYu
client_secret: EOsClSHvNzcL-oO9qflJ1rJuluvGstgU8LZGyFmCBHKbhYqFFP5JREhQS8CNbvgoHKWUiCv_Qh7dlBkQ
success_page: https://www.afrieshop.com/payment_successful
......
server.servlet.context-path=/zion
server.servlet.context-path=/afrishop
spring.jpa.hibernate.ddl-auto=update
server.port = 7000
server.port = 8099
#spring.datasource.url=jdbc:mysql://${MYSQL_HOST:localhost}:3306/afrishop_test?useUnicode=true&connectionCollation=utf8mb4_general_ci&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=UTC
#spring.datasource.username=root
#spring.datasource.password=Diaoyunnuli.8
#spring.jpa.database-platform=org.hibernate.dialect.MySQL5InnoDBDialect
spring.profiles.active=test
spring.profiles.active=dev
spring.datasource.connectionInitSql: SET NAMES 'utf8mb4'
#spring.jpa.properties.hibernate.dialect=org.hibernate.dialect.MySQLDialect
security.oauth2.resource.filter-order=3
......
Markdown 格式
0%
您添加了 0 到此讨论。请谨慎行事。
请先完成此评论的编辑!
注册 或者 后发表评论