错误消息:508 API原始交易未找到Realex /全球支付

时间:2019-05-12 20:20:18

标签: java stored-procedures realex-payments-api

我正在将新的Global Payment SDK集成到我的项目中,并收到REFUND错误消息“未找到原始交易”。

以前使用的SDK是Realex SDK,现在集成新的消息时,出现以下错误消息:“找不到508 API原始事务”作为响应。我不确定在存储过程中我是否错了,还是其他原因。

日志:

2019-05-12 09:40:54,971 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) [2019:05:12:07:40:54.969 UTC] WARN  [RealexPaymentProcessingService] -  PSP response: Unexpected Gateway Response: 508 - Original transaction not found.

2019-05-12 09:40:54,972 INFO  [stdout] (hystrix-payment-processing-tp-7) Hibernate: {call E.PAYMENT(?,?,?,?,?,?,?,?,?)}

2019-05-12 09:40:56,135 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) [2019:05:12:07:40:56.134 UTC] WARN  [SqlExceptionHelper] -  SQL Error: 17197, SQLState: 99999

2019-05-12 09:40:56,140 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) [2019:05:12:07:40:56.134 UTC] ERROR [SqlExceptionHelper] -  The number of parameter names does not match the number of registered praremeters

2019-05-12 09:40:56,155 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) [2019:05:12:07:40:56.140 UTC] ERROR [GenericCommand] -  failed to process fallback is the method: 'refundPaymentFallback'. exception: 'class com.exception.ServiceException' occurred in fallback was ignored and wrapped to HystrixBadRequestException.
2019-05-12 09:40:56,177 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) 

2019-05-12 09:40:56,185 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) [2019:05:12:07:40:56.156 UTC] ERROR [PaymentsController] -  Uncaught exception: com.exception.ServiceException: Oops, PSP provider processing has some issues. Fallback triggered!

2019-05-12 09:40:56,188 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) com.exception.ServiceException: Oops, PSP provider processing has some issues. Fallback triggered!

2019-05-12 09:40:56,189 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at com.paymentshub.service.impl.RealexPaymentProcessingService.refundPaymentFallback(RealexPaymentProcessingService.java:332)

2019-05-12 09:40:56,200 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

2019-05-12 09:40:56,200 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)

2019-05-12 09:40:56,214 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)

2019-05-12 09:40:56,290 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at java.lang.reflect.Method.invoke(Method.java:498)

2019-05-12 09:40:57,418 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE) Caused by: javax.persistence.PersistenceException: org.hibernate.exception.GenericJDBCException: Error calling CallableStatement.getMoreResults

2019-05-12 09:40:57,432 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1692)

2019-05-12 09:40:57,436 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at org.hibernate.jpa.spi.AbstractEntityManagerImpl.convert(AbstractEntityManagerImpl.java:1602)

2019-05-12 09:40:57,450 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at org.hibernate.jpa.internal.StoredProcedureQueryImpl.execute(StoredProcedureQueryImpl.java:224)

2019-05-12 09:40:57,464 INFO  [stdout] (AsyncAppender-Worker-ASYNC_CONSOLE)     at com.domain.sp.StoredProcedureHelper.callRefundPaymentUpdateStoredProcedure(StoredProcedureHelper.java:422)

0 个答案:

没有答案