Closed (fixed)
Project:
Commerce Stripe Payment Intent
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
7 Sep 2019 at 16:55 UTC
Updated:
24 Sep 2020 at 14:34 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
matio89 commentedHi,
I made necessary changes and the refund works now with payment intent.
Attached the patch & Screenshots.
Thanks.
Comment #3
fpalewacki commentedHi,
thanks for the patch, there is still an error with the access to the refund form - you can access the refund payment and try to issue a refund on it.
I've made a patch to handle it. I've changed the
commerce_stripe_pi_return_accessinstead of
commerce_stripe_pi_refund_form_submitso the rules work with the old payments but maybe the$refund_transaction->datain the submit form should be fixed instead.Comment #5
goz commentedI commit your changes.
I replace print_r() by json_encode putting data in payload, since json is used everywhere else in the module to store data in payload.
Also fix PaymentIntent call to use full namespace.
Thanks both of you