Paypal buyer email returns in incorrect format

0

Hello,

I have an ecommerce and I'm implementing some changes including the express checkout of paypal, the api I'm using is the one provided by paypal. The problem is that by returning the data and picking up the buyer's email variable it returns the email in this comprador%40gmail%2com format thus making it impossible to send an email to the buyer after the purchase.

    
asked by anonymous 18.02.2016 / 05:07

1 answer

2

This comprador%40gmail%2com format means that the return was encoded to be sent in a URL, you can go back to the correct format using urldecode ()

    
18.02.2016 / 12:01