Paypal recurring payment Fails

  • Posts: 50
  • Thank you received: 0
  • Hikaserial Subscription Hikashop Business
5 days 18 hours ago #315640

-- HikaShop version -- : 4.2.2
-- HikaSerial version -- : 3.0.1
-- Joomla version -- : 3.9.15
-- Browser(s) name and version -- : 7.2.26

Hi,
I have setup hikaserial plan and hikashop product with subscription option. Under paypal recurring payment setting i have setup sandbox mode. When you purchase a product without renewal or normal product the plugin redirects to paypal checkout but when you purchase a product with auto renewal it redirects to paypal but throws error message "We're sorry, things don't appear to be working right now. Please try again later." on paypal page and if you inspect the page there is console error saying " Failed to load resource: the server responded with a status of 400 (Bad Request)"
on "/webapps/billing/api/billagmt/createBA". Any help please.

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 23899
  • Thank you received: 3708
  • MODERATOR
5 days 2 hours ago #315684

Hi,

The Paypal recurring plugin is acting the same way than the HikaShop classical paypal plugin, but it will use some extra parameter and a different "cmd" for the subscription.
Regarding the URL, it's always : sandbox.paypal.com/cgi-bin/webscr
So I suppose that the browser is redirected to other pages and one of them generates the problem.
Now, when the plugin is configured with the "debug" mode, you do have debug data in the HikaShop payment log file.
There you will have some raw data of the content which is submitted to the Paypal platform, it allows to understand what is send and see if there is an issue. It always useful when you talk with the Paypal support team so you can tell them what is the data.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

  • Posts: 50
  • Thank you received: 0
  • Hikaserial Subscription Hikashop Business
4 days 18 hours ago #315691

Hi
By looking at paypal api developer.paypal.com/docs/api/subscriptions/v1/
it looks like payal recuring plugin should create billing plans and subscription for the order. And the log file that you suggested earlier does not show blling code or any other info related to billing. Am I missing something or this is the way it should be. I am happy to share cpanel access and backadmin access if you want to look at the settings or other info that might help you to solve the situation that i am facing.

Thank you

Please Log in or Create an account to join the conversation.

  • Posts: 23899
  • Thank you received: 3708
  • MODERATOR
3 days 23 hours ago #315721

Hello,

I'm sorry but the Payment recurring plugin is not using that API.
It uses the same API than the HikaShop Paypal plugin, but with the recurring parameters than the HikaShop plugin do not handle.

Regards,


Jerome - Obsidev.com
HikaMarket & HikaSerial developer / HikaShop core dev team.

Also helping the HikaShop support team when having some time or couldn't sleep.
By the way, do not send me private message, use the "contact us" form instead.

Please Log in or Create an account to join the conversation.

Moderators: Obsidev
Time to create page: 0.058 seconds
Powered by Kunena Forum