Jump to content
thirty bees forum
  • 0

Paypal module (with new API app) not working after cloning site


Question

Posted

I cloned my Thirty Bees instance to a new domain, updated all the shop information and created a new clean Paypal API app, but the Paypal module on the new site won't connect - see screenshot. First time Plus and Checkout did show as active with just Standard missing, but after a couple of retries all three are showing as missing. I've removed and reinstalled the Paypal module twice and recreated the API app six or seven times with different names, and I've very carefully checked the Client ID and Secret for whitespace or errors, even copy pasted both into a text file to check alongside each other.

Paypal support say:

 

After further review I am not seeing any issues with the Client IDs you provided, or with your PayPal account. Please make sure on the new integration that you did not add any additional white space when pasting the Client ID and Secret. If this is not the case, you will then want to reach out to thirty bees support so they can check why the error is being generated since you are using a different Client ID.  

 

 

 

Screenshot from 2022-10-21 09-18-37.png

7 answers to this question

Recommended Posts

  • 0
Posted

Datakick kindly provided a solution, if this happens to anyone else please see the following:

 

Quote

 

Try edit file modules/paypal/classes/PayPalRestApi.php and change line ~599 from

$name = "thirtybees_{$shop_id}_{$type_id}_v2";

to

$name = "thirtybees_{$shop_id}_{$type_id}_v3";

 

 
  • 0
Posted

Hi @nickz, yes, as I said in my question I've deleted and recreated the API app six or seven times now (unless I'm missing something in the instruction - I don't know how you create an "empty" API app as you need to tick the boxes and fill in the details for it work?)

  • 0
Posted
7 hours ago, e-com said:

I created new REST API apps: https://developer.paypal.com/
In configuration of module, I entered new CLIENT ID and SECRET keys.
And module communicates correctly with paypal API.
And for sandbox environment, do you also have an error?

Zaznaczenie_229.png

Hi, if you look above you'll see I've posted the solution to the problem, which was provided by the module maker. Thank you for your help though!

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...