What are the Slack Archives?
Itβs a history of our time together in the Slack Community! Thereβs a ton of knowledge in here, so feel free to search through the archives for a possible answer to your question.
Because this space is not active, you wonβt be able to create a new post or comment here. If you have a question or want to start a discussion about something, head over to our categories and pick one to post in! You can always refer back to a post from Slack Archives if needed; just copy the link to use it as a reference..
Hey guys, is someone using payone and doing partial refunds with
Hey guys,
is someone using payone and doing partial refunds with https://github.com/spryker-eco/payone/blob/master/src/SprykerEco/Zed/Payone/Communication/Plugin/Oms/Command/PartialRefundCommandPlugin.php an can tell me if this works for you? I alway get the error code 1610 Article list faulty or incomplete
Comments
-
Hey Julian! Could you please explain in details what youβre fighting with? Iβll try to help you
0 -
Hey Aleksey, we try to do partial refund via payone but it fail every time with the given error. Today I called payone and aked for more information. The guy from the phone told me that we did the capture with x items (products, voucher and tax). The refund was done with the full amount and the products. He said that he thinks that we have to to the refund with exact the same items when we refund the whole amount
0 -
Yeah It basically means basket you send in refund call is not the same as you sent before.
0 -
Take a look here. It might help you to figure out what the problem is.
0 -
Ok thank you
0 -
Please keep me posted if you find something interesting π
0 -
Ok, I will, But it is not easy to test local since I am not able to pre auth nor to capture
0 -
But why you are not able?
0 -
For my understanding the PaymentIsAppointed and Capture comes by push and they can not push to my local environment
0 -
You can easily use some third part service to catch Payone push request and post it to your local machine via postman for example
0 -
I personally use https://beeceptor.com for such needs. You will need to configure response to set body
TSOK
and set up in Payone backoffice notify url to request catcher.0 -
nice, thx I will take a look
0 -
the beeceptor url has to be configured in payone, right?
0 -
yeah, in notification url field
0 -
reached the max count of payment portals in payone office -.-
0 -
Where I have to configure
TSOK
? ATM I see the post to /payone and post it manually to my local dev and this results inTSERROR: Payone transaction status update: Given and internal key do not match!
0 -
Payone expects
TSOK
in response body. So you need to configure it in request catcher0 -
yeah i modified the key so its valid π
0 -
But now capture failed clarification (Jul. 31, 2020 12:52) π
0 -
Please take a look into DB API logs. There might be some info
0 -
yaeh it seems i have to change the key back
0 -
Ok, know it seems to work nicely, thank you. Problem was the changed key in payone BE and that the old key was alive for 60 Minutes
0 -
Ok, local the refund works, but does not create a refund entry und refunds, is this correct?
0 -
No itβs not correct. I think itβs miss implementation. You can extend PartialRefundCommandPlugin on project level and add missing refund facade call \Spryker\Zed\Refund\Business\RefundFacade::saveRefund
0 -
ok, thx π
0
Categories
- All Categories
- 42 Getting Started & Guidelines
- 7 Getting Started in the Community
- 8 Additional Resources
- 7 Community Ideas and Feedback
- 76 Spryker News
- 929 Developer Corner
- 787 Spryker Development
- 89 Spryker Dev Environment
- 362 Spryker Releases
- 3 Oryx frontend framework
- 35 Propel ORM
- 68 Community Projects
- 3 Community Ideation Board
- 30 Hackathon
- 3 PHP Bridge
- 6 Gacela Project
- 26 Job Opportunities
- 3.2K π Slack Archives
- 116 Academy
- 5 Business Users
- 370 Docker
- 551 Slack General
- 2K Help
- 75 Knowledge Sharing
- 6 Random Stuff
- 4 Code Testing
- 32 Product & Business Questions
- 70 Spryker Safari Questions
- 50 Random