PayPal Plus - Error approval_url

15.02.2021 16:36
#1
peter0309
Joomshopping forum user no avatar
Name: Peter
31.12.2015
Posts: 9
Quote
PayPal Plus - Error approval_url

Get Error_approval_url when selecting Paypla Plus payment method
PayPal Plus -  Error approval_url


Joomla: 3.9.23
JoomShopping: 4.15.1
Website Url: www.allesapfel.de/webshop

Last change: 15.02.2021 16:38
 
15.02.2021 18:51
#2
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: PayPal Plus - Error approval_url

log file?
components\com_jshopping\log\paymentdata.log?

 
16.02.2021 07:46
#3
peter0309
Joomshopping forum user no avatar
Name: Peter
31.12.2015
Posts: 9
Quote
Aw: PayPal Plus - Error approval_url

Seems to be a problem with PayPal settings - I will try to get payPal support

2021-02-16 07:35:05 https://api.sandbox.paypal.com/v1/payments/payment. request: {"intent":"sale","experience_profile_id":"XP-xxx-","payer":{"payment_method":"paypal"},"transactions":[{"amount":{"total":"2.30","currency":"EUR","details":{"subtotal":"2.30"}},"item_list":{"items":[{"name":"Apfelessig natur 0,5l Flasche","quantity":1,"price":"2.30","currency":"EUR"}]},"notify_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=notify&js_paymentclass=pm_paypal_plus&no_lang=1"}],"redirect_urls":{"return_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=return&js_paymentclass=pm_paypal_plus","cancel_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step3"}}
2021-02-16 07:35:05 stdClass Object
(
[name] => INVALID_EXPERIENCE_PROFILE_ID
[message] => The requested experience profile ID was not found
[information_link] => https://developer.paypal.com/docs/api/payments/#errors
[debug_id] => d7fda38938c63
)

 
16.02.2021 10:42
#4
peter0309
Joomshopping forum user no avatar
Name: Peter
31.12.2015
Posts: 9
Quote
Aw: PayPal Plus - Error approval_url

I still can't get it working! When I use the sandbox credentials and Testmode = Yes (as described in the installation screenshots) I will be forwarded to my PayPal login site. But my (private) login data will be refused! I'am sure - they are correct!
If I use my live credentials (and Testmode = No) I get the message "Zugriff nicht erlaubt" when selecting PayPal (see att.).
Log show no errors:

2021-02-16 10:29:06 https://api.paypal.com/v1/payments/payment. request: {"intent":"sale","experience_profile_id":"XP-6PW3-9J5M-2MMA-8U2Q","payer":{"payment_method":"paypal"},"transactions":[{"amount":{"total":"2.30","currency":"EUR","details":{"subtotal":"2.30"}},"item_list":{"items":[{"name":"Apfelessig natur 0,5l Flasche","quantity":1,"price":"2.30","currency":"EUR"}]},"notify_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=notify&js_paymentclass=pm_paypal_plus&no_lang=1"}],"redirect_urls":{"return_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=return&js_paymentclass=pm_paypal_plus","cancel_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step3"}}
2021-02-16 10:29:06 stdClass Object
(
[id] => PAYID-MAVZAYQ2KE48199WW8055101
[intent] => sale
[state] => created
[payer] => stdClass Object
(
[payment_method] => paypal
)

[transactions] => Array
(
[0] => stdClass Object
(
[amount] => stdClass Object
(
[total] => 2.30
[currency] => EUR
[details] => stdClass Object
(
[subtotal] => 2.30
)

)

[item_list] => stdClass Object
(
[items] => Array
(
[0] => stdClass Object
(
[name] => Apfelessig natur 0,5l Flasche
[price] => 2.30
[currency] => EUR
[quantity] => 1
)

)

)

[related_resources] => Array
(
)

[notify_url] => https://www.allesapfel.de/webshop/checkout/step7?act=notify&js_paymentclass=pm_paypal_plus&no_lang=1
)

)

[experience_profile_id] => XP-6PW3-9J5M-2MMA-8U2Q
[create_time] => 2021-02-16T09:29:06Z
[links] => Array
(
[0] => stdClass Object
(
[href] => https://api.paypal.com/v1/payments/payment/PAYID-MAVZAYQ2KE48199WW8055101
[rel] => self
[method] => GET
)

[1] => stdClass Object
(
[href] => https://www.paypal.com/cgi-bin/webscr?cmd=_express-checkout&token=EC-6RR89096W87772138
[rel] => approval_url
[method] => REDIRECT
)

[2] => stdClass Object
(
[href] => https://api.paypal.com/v1/payments/payment/PAYID-MAVZAYQ2KE48199WW8055101/execute
[rel] => execute
[method] => POST
)

)

)
Aw: PayPal Plus -  Error approval_url

 
16.02.2021 22:27
#5
admin
(Support Team)
User admin
Name: Admin
05.08.2010
Posts: 25919
Quote
Aw: PayPal Plus - Error approval_url

1.
peter0309 - 16.02.2021 07:46
Seems to be a problem with PayPal settings - I will try to get payPal support

2021-02-16 07:35:05 https://api.sandbox.paypal.com/v1/payments/payment. request: {"intent":"sale","experience_profile_id":"XP-xxx-","payer":{"payment_method":"paypal"},"transactions":[{"amount":{"total":"2.30","currency":"EUR","details":{"subtotal":"2.30"}},"item_list":{"items":[{"name":"Apfelessig natur 0,5l Flasche","quantity":1,"price":"2.30","currency":"EUR"}]},"notify_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=notify&js_paymentclass=pm_paypal_plus&no_lang=1"}],"redirect_urls":{"return_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step7?act=return&js_paymentclass=pm_paypal_plus","cancel_url":"https:\/\/www.allesapfel.de\/webshop\/checkout\/step3"}}
2021-02-16 07:35:05 stdClass Object
(
[name] => INVALID_EXPERIENCE_PROFILE_ID
[message] => The requested experience profile ID was not found
[information_link] => https://developer.paypal.com/docs/api/payments/#errors
[debug_id] => d7fda38938c63
)


Set Experience profile id: empty


3.
I still can't get it working! When I use the sandbox credentials and Testmode = Yes (as described in the installation screenshots) I will be forwarded to my PayPal login site. But my (private) login data will be refused! I'am sure - they are correct!
If I use my live credentials (and Testmode = No) I get the message "Zugriff nicht erlaubt" when selecting PayPal (see att.)


Problem in PayPal setting (contact to paypal support)

4. Test account / live account
client id / secret different


Last change: 16.02.2021 22:32
 
17.02.2021 13:01
#6
peter0309
Joomshopping forum user no avatar
Name: Peter
31.12.2015
Posts: 9
Quote
Aw: PayPal Plus - Error approval_url

You need a PayPal expert? Now I am one.
Using paypal live credentials and set Joomshopping testmode = NO works now. The setup manual for this module is very pure. The PayPal support is worse!

 


Copyrights MAXXmarketing GmbH. Alle Rechte vorbehalten
Durch die Nutzung dieser Website stimme ich zu, dass Cookies zur optimalen Gestaltung der Website sowie zur Analyse der Nutzung der Website verwendet werden. Weiterführende Informationen finden Sie hier. OK, einverstanden.