Please help us to make AbanteCart Ideal Open Source Ecommerce Solution for everyone.

Support AbanteCart eCommerce

Author Topic: Change PayPal message  (Read 3828 times)

Offline yonghan79

  • Jr. Member
  • **
  • Posts: 69
  • Karma: +21/-0
    • View Profile
Change PayPal message
« on: February 22, 2024, 01:08:15 PM »
Hi Basara,

We are making an extension for payment via invoice after admin adds actual shipping charges -  having issue with hook into PayPal Commerce to let me change message on the fast checkout success page.

Sending you a PM with details.

Thanks.

Offline abolabo

  • core-developer
  • Administrator
  • Hero Member
  • *****
  • Posts: 2064
  • Karma: +326/-13
  • web for all, all for web!
    • View Profile
    • AbanteCart
Re: Change PayPal message
« Reply #1 on: February 23, 2024, 03:45:04 AM »
Probably you should to hook controller public_html/extensions/fast_checkout/storefront/controller/responses/checkout/pay.php  method _process_success
You can write _updateData hook and use $that->session->data['processed_order_id'] for order recognizing
“No one is useless in this world who lightens the burdens of another.”
― Charles Dickens

 

Powered by SMFPacks Social Login Mod