cancel
Showing results for 
Search instead for 
Did you mean: 

Question about dynamically change the PayPal address and using API KEY

New Community Member

Question about dynamically change the PayPal address and using API KEY

EXPLAINING THE CASE

So, in the same e-shop, I use to change the paypal address, based on the selling product.

For example,

1. when the product is 1XXXXX -> the payment goes to the account XXXXX@examplemail

2. when the product is 1YYYYY -> the payment goes to the account YYYYYY@examplemail

 

This is achieved by changing the " $paypal_args['business'] " variable in my WooCommerce system, right after the plugin is loaded and before the transaction takes place.

 

THE QUESTION

Everything is tested and it's working fine, but Im worried about the API calls. I use an API key I created with the XXXXXX@examplemail account and not with the YYYYY@examplemail. Is the API gonna block my calls after a X amount of calls to YYYY@examplemail or the API key is not related with which account the payment goes ?