cancel
Showing results for 
Search instead for 
Did you mean: 

Pay via PayPal Balance option not available in Sandbox Account

Options
yousufkhankorai
Contributor
Posted on

Need your help.

I am configuring PayPal sandbox environment. I have default Business & Personnel Sandbox Account for Australia Country. I used CLIENT_ID from the default app created using Business Account. I am using react.js to configure this. In index.html website file I put below script:

 

<script src="https://www.paypal.com/sdk/js?client-id=my_client_id&currency=AUD&components=buttons,funding-eligibi..."></script>

But when I try to login using my Personnel account, it doesn't show Payment option PayPal Balance.

 

<Removed>

 

Please note: I am making this request from India

Please see below code that I have configured

useEffect(() => { window.paypal .Buttons({ createOrder: (data, actions, err) => { return actions.order.create({ intent: "CAPTURE", purchase_units: [ { description: "Cool looking table", amount: { currency_code: "AUD", value: 2.0, }, }, ], }); }, onApprove: async (data, actions) => { const order = await actions.order.capture(); console.log(order); }, onError: (err) => { console.log(err); }, fundingSource:window.paypal.FUNDING.PAYPAL }) .render(paypal.current);

}, []);

}

 

 

 

Haven't Found your Answer?

It happens. Hit the "Login to Ask the community" button to create a question for the PayPal community.