You are here

uc7_payment.yml in Commerce Migrate 8.2

modules/ubercart/migrations/uc7_payment.yml

File

modules/ubercart/migrations/uc7_payment.yml
View source
  1. id: uc7_payment
  2. label: Ubercart payment
  3. migration_tags:
  4. - Drupal 7
  5. - Ubercart
  6. - Content
  7. source:
  8. plugin: uc_payment_receipt
  9. constants:
  10. type: payment_manual
  11. process:
  12. payment_id: receipt_id
  13. payment_gateway:
  14. -
  15. plugin: migration_lookup
  16. migration: uc_payment_gateway
  17. source: method
  18. -
  19. plugin: skip_on_empty
  20. method: row
  21. type: 'constants/type'
  22. order_id:
  23. -
  24. plugin: migration_lookup
  25. migration: uc7_order
  26. source: order_id
  27. -
  28. plugin: skip_on_empty
  29. method: row
  30. 'amount/number': amount
  31. 'amount/currency_code': currency
  32. 'refunded_amount/number': refund_amount
  33. 'refunded_amount/currency_code': currency
  34. state: state
  35. completed: received
  36. destination:
  37. plugin: entity:commerce_payment
  38. destination_module: commerce_payment
  39. migration_dependencies:
  40. required:
  41. - uc7_order
  42. - uc_currency
  43. - uc_payment_gateway