Post by abhay.chaware » Sat Feb 06, 2021 11:02 pm

Hi All,
I am trying to find out how exactly subscription orders are configured. I am able to create the recurring profile in opencart 2.3.0.2 , attach to product and it shows up on checkout. I have also configured paypal express checkout which shows up on the checkout page for this product and am able to submit order, it also shows up in my paypal sandbox account as payment received. All good so far.

But in paypal sandobx site, including in the subscriptions page, i am not able to see this as a subscription payment. ... am i missing anything ? Do i need to configure plans, etc. in paypal sandbox account before hand, or opencart integration should take care of it automatically ? I am not able to find this missing piece of the puzzle anywhere..

can someone help/suggest?
Last edited by abhay.chaware on Sun Feb 07, 2021 11:06 pm, edited 1 time in total.

Newbie

Posts

Joined
Sat Jan 09, 2021 2:52 pm

Post by straightlight » Sun Feb 07, 2021 9:39 pm

abhay.chaware wrote:
Sat Feb 06, 2021 11:02 pm
Hi All,
I am trying to find out how exactly subscription orders are configured. I am able to create the recurring profile in opencart, attach to product and it shows up on checkout. I have also configured paypal express checkout which shows up on the checkout page for this product and am able to submit order, it also shows up in my paypal sandbox account as payment received. All good so far.

But in paypal sandobx site, including in the subscriptions page, i am not able to see this as a subscription payment. ... am i missing anything ? Do i need to configure plans, etc. in paypal sandbox account before hand, or opencart integration should take care of it automatically ? I am not able to find this missing piece of the puzzle anywhere..

can someone help/suggest?
OC version.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by abhay.chaware » Sun Feb 07, 2021 11:06 pm

Oops. Sorry. Using OpenCart 2.3.0.2. Updated the original question as well.

Newbie

Posts

Joined
Sat Jan 09, 2021 2:52 pm

Post by straightlight » Mon Feb 08, 2021 12:02 am


Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by abhay.chaware » Mon Feb 08, 2021 12:29 am

Thanks ! I'll check. Looks like these are fixes for 3.* version. I briefly checked OpenCart 2.3.0.2 php files, but code/APIs are slightly different. Any hint/fix for 2.3.0.2 ?

Newbie

Posts

Joined
Sat Jan 09, 2021 2:52 pm

Post by straightlight » Mon Feb 08, 2021 12:32 am

abhay.chaware wrote:
Mon Feb 08, 2021 12:29 am
Thanks ! I'll check. Looks like these are fixes for 3.* version. I briefly checked OpenCart 2.3.0.2 php files, but code/APIs are slightly different. Any hint/fix for 2.3.0.2 ?
Those changes are about PHP and the model structures are identical. Simply compare the lines with what you got and you should be good to go with these fixes prior to proceed with the next steps with the subscriptions.

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by abhay.chaware » Tue Feb 09, 2021 12:58 am

No luck so far. Will continue debugging. Meanwhile, could you please tell me if any configurations are required from Paypal side? e.g. creation of subscription plan etc. ? Or this should already be addressed by the extension and no manual configurations should be required ?

Newbie

Posts

Joined
Sat Jan 09, 2021 2:52 pm

Post by straightlight » Tue Feb 09, 2021 1:12 am

Should be addressed by the documentation of the installed extension. However, followed is also instructions you could follow on the PayPal's end: https://www.paypal.com/us/brc/article/s ... r-business .

Dedication and passion goes to those who are able to push and merge a project.

Regards,
Straightlight
Programmer / Opencart Tester


Legendary Member

Posts

Joined
Mon Nov 14, 2011 11:38 pm
Location - Canada, ON

Post by swati.d » Fri Feb 19, 2021 6:35 pm

Hello,

Did you get the solution to your problem?

I have exactly same query about the integration of Opencart recurring profile products and Paypal Express Checkout Payment Gateway.

Opencart version - 3.0.3.6

We have few products in opencart shop with recurring profiles and want to implement the recurring payments to happen automatically through Paypal Express Checkout Payment Gateway.

I am currently testing in sandbox environment https://www.sandbox.paypal.com with business account login, but not able to find any recurring transactions on 'https://www.sandbox.paypal.com/us/cgi-b ... rchant-hub'

I have also tried the suggested changes in PHP mentioned in link above - https://github.com/opencart/opencart/pu ... db8f0fb4d1
But no luck!

My queries are-

1) To achieve the required payment functionalty, do we need to create subcription plan on Paypal side for products with recurring profiles and add 'Paypal Subscribe' button in opencart shop website; as mentioned in link above - https://www.paypal.com/us/brc/article/s ... r-business

2) Am I testing this functionality correctly? 'https://www.sandbox.paypal.com/us/cgi-b ... rchant-hub with business account login' is the right place to test?

Can anyone please guide me on this?

Newbie

Posts

Joined
Fri Feb 19, 2021 5:36 pm
Who is online

Users browsing this forum: No registered users and 42 guests