Closed (fixed)
Project:
Commerce Migrate Ubercart
Version:
7.x-2.0
Component:
Code
Priority:
Major
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
6 Jul 2011 at 18:45 UTC
Updated:
10 Mar 2015 at 16:10 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
rfayComment #2
mariagwyn commentedIs there any planned movement on this?
Maria
Comment #3
rfayOrders and customer profiles are brought over, but payments are not.
No, there is no current active work here.
Comment #4
rfayComment #5
marcus178 commentedHas anyone had any luck with sorting this out. Is it a case of mapping uc_payment_receipts to commerce_payment_transaction or is it more complicated than that?
Comment #6
andyg5000Here's a patch that adds a Payment Transaction migration class to this module. It will create a successful payment transaction on the source order with the amount, data array, message, created/updated date and uid (if source exists). The method of the transaction will show up as unknown, but you can extend the class to provide the current instance id of your configured Commerce payment method.
Comment #7
torgospizzaAwesome, Andyg. I'll test this out ASAP.
Comment #8
Anonymous (not verified) commentedThis is something I would like to add to the 2.x branch. Setting it as a high priority.
If anyone wants to test with 2.x please do and then update the version string with your notes.
Comment #9
mrconnerton commentedThe patch doesn't apply to 2.x. I'm working on it now. It should convert pretty easy.
Comment #10
Anonymous (not verified) commentedExcellent, if you have any troubles let me know. Please post it when you can! I will make it a priority to update the module.
Comment #11
mrconnerton commentedHere is an updated patch. I'm sure this can be improved but its a good starting point.
Comment #12
kenorb commentedSome other example:
Hope it could be useful.
Comment #13
Anonymous (not verified) commentedWorks pretty well, thank you! I committed it to the dev branch today at DrupalCon!
I went with @mrconnerton's patch as it was ready to go and seemed to work OK. If there are additional details to deal with, or additional things from @kenorb's code, please create a new issue and ideally roll a patch against the dev branch. Thanks folks, I'm really happy to have finally committed this!
Comment #16
webdrips commentedIt would appear the patch above never actually made it into the dev branch.
Comment #17
kenorb commentedComment #18
mrconnerton commented@webdrips It is in the 7.x-2.x branch: http://cgit.drupalcode.org/commerce_migrate_ubercart/tree/payment_transa...