php checkout sdk what's next step after creating a payement ?

Karim-Dev
Contributor
Contributor

Hi community, 

 

I'm new in Paypal integration, I'am a little confused about the Paypal documtentation,

 

any way, I had installed the package

paypal/Checkout-PHP-SDK

and I implement the /create-order Controller action which finally redirects me to the approve link ( found in the response ) 

when I finish taping my credentials and agree to continue, Paypal redirects me to return_url that I set in create order as http://my-domain/execute-payement, 

So the Paypal redirects me to this url : 

/execute-order?token=0NH30171UR363613S&PayerID=SNVZ4E6KDYA54

So My problem, that in the documentation of the package I didn't find the execute payement sample, there is only createOrder and captureOrder, 

I'am so confused please help me.

Login to Me Too
0 REPLIES 0

Haven't Found your Answer?

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