Paypal buyer’s email returns in incorrect format

Asked

Viewed 30 times

0

Hello,

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

1 answer

2


That format comprador%40gmail%2com means that the return has been encoded to be sent in a URL, one can return to the correct format using urldecode()

  • 1

    You solved my problem, thank you!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.