PayPal error from payment link

Using ERPNExt cloud and all is up to date
Installed PayPal module
I have sent the payment request email, clicked the link, and I then get this error message

Traceback (innermost last):
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 60, in application
    response = frappe.api.handle()
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 50, in handle
    return frappe.handler.handle()
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 19, in handle
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 36, in execute_cmd
    ret =, **frappe.form_dict)
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 803, in call
    return fn(*args, **newargs)
  File "/home/frappe/press/benches/1603091141/apps/erpnext/erpnext/accounts/doctype/payment_request/", line 256, in generate_payment_request
    frappe.get_doc("Payment Request", name).run_method("get_payment_url")
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/model/", line 575, in run_method
    return Document.hook(fn)(self, *args, **kwargs)
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/model/", line 731, in composer
    return composed(self, method, *args, **kwargs)
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/model/", line 716, in runner
    add_to_return_value(self, f(self, method, *args, **kwargs))
  File "/home/frappe/press/benches/1603091141/apps/paypal_integration/paypal_integration/", line 8, in get_payment_url
    set_express_checkout(doc.grand_total, doc.currency, {"doctype": doc.doctype, "docname":})
  File "/home/frappe/press/benches/1603091141/apps/paypal_integration/paypal_integration/", line 24, in set_express_checkout
  File "/home/frappe/press/benches/1603091141/apps/paypal_integration/paypal_integration/", line 163, in validate_transaction_currency
    frappe.throw(_("Please select another payment method. PayPal not supports transaction currency {}".format(currency)))
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 262, in throw
    msgprint(msg, raise_exception=exc)
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 255, in msgprint
  File "/home/frappe/press/benches/1603091141/apps/frappe/frappe/", line 240, in _raise_exception
    raise raise_exception, encode(msg)
 ValidationError: Please select another payment method. PayPal not supports transaction currency GBP

This suggests that PayPal module does not support GBP

Any ideas?

Just had a look and paypal_integration/ needs to have GBP added. I might try to do my first pull request :smile:
Failing this the core team will fix quickly I expect.

Ok. Thanks

We will update the list and let you know

1 Like

PR made on Github for this issue.

1 Like

@System19 Thanks, merged the PR

1 Like