PayPal for Android won't switch to Production environment #420
Comments
I am facing the same problem and I have no idea about that .. If you have a solution just email me : |
Can you confirm you are getting the values in the config set correctly? The reason is you would get a invalid merchant error if you are using your production client id and it is hitting the sandbox. |
No, Client ID is different |
@GemiDroid minus your client id, what does your configuration look like? |
Can I get ur email or any communication tool? |
You can file a ticket with PayPal Technical Support here: https://www.paypal-techsupport.com/app/ask |
I have already done |
@mahdihijazi can you confirm these values are being set correctly? I ran a test on live and it worked fine. |
I need any help @pp-randy ? |
@GemiDroid can you please copy and paste your code for your PayPal configuration so I can see what you are doing? Please remove your client id before providing that. |
package com.orchtech.edaradotcom.activities; import android.app.Activity; import com.orchtech.edaradotcom.R; import org.json.JSONException; import java.math.BigDecimal; /**
|
You have the legacy library code here, which is showing sandbox. What type of payment are you trying to make? What error are you seeing? |
Your screen shot is for a different issue than what is filed here. Can you please create a new one. Also can you capture LogCat details for this error? |
Is there any updates, please help @pp-randy |
I pulled your logs from the debug id in the screen shot. You are trying to pay yourself. You need a separate payer account than that in the REST App. If you are passing in a payee, that is the receiver and not the payer / buyer. |
@GemiDroid please create a new issue in this repo if you have further issues. I still need to verify that @mahdihijazi is not having an issue at this point. |
Ok, thanks @pp-randy |
Closing issue due to lack of response from original creator. |
So I'have integrated paypal-android-sdk:2.15.3 in my app and it works as expected in Sandbox. Now I want to move to production.
I switched the environment to PayPalConfiguration.ENVIRONMENT_PRODUCTION And the client id to the production client id. What happens is that first I can't login using my real PayPal account, second I see the blue Sandbox button as below screenshot:
My Code:
Where:
The text was updated successfully, but these errors were encountered: